Hello,
I have a small shared hosting plan and I am able to run JSP pages without any problem. I'd like to add some Java Servlets but I was told that this isn't possible on my share host for security reasons.
Am I missing something or aren't JSP pages 'compiled' to servlets themselves? Does this possibly make sense. Obviously I'm relatively new to JSP and Java servlets but this seems strange to me.
Is there anyway I could test this for myself on my accounts? (ie. test if servlets do infact work)
Note: Apache tomcat 5.5 (I believe)
Aslo, one of the reasons I'm asking is becasue I'm not sure the support group was confident in their answer. The security claim seemed to be a brush off as I told them I was just setting this up for testing purposes.
Thanks
M
Servlets(in anything less than Servlet 3.0 API) need to be mapped in your web app's web.xml file. If you don't have a private web app with a private web.xml file then it would not be possible to have private Servlets.
I presume that coolhandle uses some sort of filter to keep you separate from other accounts. I guess that you browse with something like ?
http://www.coolhandle.com/yourAccountName/yourPage.jsp