Trending Scala Discussions

Follow

Ask the Community


Ask any professional question and get answers from other specialists.

Stream language
Gopalakrishnan P's image
Question added by Gopalakrishnan P Senior Software Engineer Lakeba Group
10 years ago

How to open /load pdf file in browser after it dynamically generated?‎

I used following code to store the generated pdf file in my server doc.save(new File(".").getAbsolutePath()+"/report.pdf") now i want open/load ‎ ... See More

Answers:
1
Followers:
Views:
487
Vote Count:
0
Answer should contain a minimum of 25 characters.
Partha Sarathi Ghosh's image
Question added by Partha Sarathi Ghosh Developer
5 years ago
Answers:
1
Followers:
Views:
2
Vote Count:
0
Answer should contain a minimum of 25 characters.
Ankit Gaurav Sinha's image  
Answer added by  Ankit Gaurav Sinha, System Analysts - Team Lead, Cybage Solutions
5 years ago

Hi Partha,                                                                     A Spark Streaming Context is the entry point of streaming program. Spark Streaming Context ... See More

Ankit Gaurav Sinha's image  
Answer added by  Ankit Gaurav Sinha, System Analysts - Team Lead, Cybage Solutions
5 years ago

Scala incorporates both OOPS and Functional programming concepts. java requires a lot of declarations and definitions and the syntax of Java tends to be lengthy. Scala, o ... See More

Dias Lonappan's image  
Answer added by  Dias Lonappan, It Data Analyst, Quantified Assets Pte Ltd
7 years ago

IMHO Scala removes all the extra boilerplate from Java, at the same time with the PLAY framework, it eats from the Nodejs plate too. So yes, definitely it is one of the l ... See More

Abdul Rahman Ramadan's image  
Answer added by  Abdul Rahman Ramadan, Controller Senior Accountant, نيو بوى السعودية المحدودة
8 years ago

There is admittedly some truth to the statement that “Scala is hard”, but the learning curve is well worth the investment. Some of the more complex features of the langua ... See More

Default profile image  
Answer added by  Deleted user
8 years ago

In my perspective JAVA is a giant language but so many new technologies are emerging now a days. And most importantly world is going for mobile computing. Web technologie ... See More

Gopalakrishnan P's image  
Answer added by  Gopalakrishnan P, Senior Software Engineer, Lakeba Group
10 years ago

Atlast i solved with the following code Ok.stream(Enumerator.outputStream { os =>        doc.writeToStream(os)      os.close()    }).withHeaders(      CONTENT_TYPE -&g ... See More