Hi! I need help with the following topic. HTML -> invokes -> SERVLET -> forwards request -> JSP I can't get this to work. I use TOMCAT 4 and SUN JDK1.3 I have done the following: The HTML -> invokes -> SERVLET works fine.
The following doGet method is called:
Nothing happens. My browser displays a blank page with no error messages.
My file structure: TOMCAT_HOME/webapps/myApp/INDEX.HTML TOMCAT_HOME/webapps/myApp/WEB-INF/classes/myServlet.class TOMCAT_HOME/webapps/myApp/myJSP.jsp
I do not use WEB.XML file.
Where am I wrong? Where to put the files? Is there a problem with the correcut URL when trying to forward to JSP?
And yes, you really should use web.xml, one wonders how you got your servlet to work at all. What does the HTML look like when you 'invoke' the servlet?
Anyways... look in the examples application for a look at what web.xml should look like, and finally, the servlet specification is helpfull as well. [ January 19, 2002: Message edited by: Mike Curwen ]
Jochen van Waasen
Joined: Jan 19, 2002
I guess the problem is solved, the JSP called by the servlet does not work. Thanks Jochen
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com