on 04-28-2016 6:30 PM
Hello everybody,
I have the following question to all of the Hana Cloud Platform developers out here:
Is there some sort of DefaultServlet like org.apache.catalina.servlets.DefaultServlet available for the HCP Java Application runtime 'JavaWeb'?
I'd like to serve some static files and do not want to write a servlet for that purpose on my own.
Best regards,
Martin
JavaWeb Tomcat 7/8 runtimes as the names suggest are based on Tomcat 7/8 , so the servlet class is definitely there and I believe it's visible to your app.
BTW, I really recommend using one of those two runtimes and not the archaic JavaWeb.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is DefaultServlet. It is not needed to do anything just pack your static resources and they will be served.
Best Regards,
Violeta Georgieva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.