Tomcat "requested resource not available" / MVC question

Joined
Sep 23, 2007
Messages
1
Reaction score
0
Hi,

I'm using a simple MVC setup that runs under Tomcat: an index.html which invokes a servlet's doPost from a simple form. The servlet does some processing and displays the results by forwarding to a result.jsp file.

This all works fine, but I'm now trying to make another step, and am not sure if the error I get from Tomcat ("requested resource not available") is due to some technical problem or due to me not understanding something fundamental...

Once the results are displayed, I'm trying to "post" to the servlet again. I've taken the form that works in the index.html, and put it directly in result.jsp.
When running the application, everythings fine until I actually try to submit the form (the one that is included in result.jsp), i.e. try to post to the servlet again. I then get HTTP Status 404 - requested resource not available.

Am I doing something very silly? How can I otherwise "return" to the servlet form the jsp file?

Many thanks,
dante
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top