aspose file tools*
The moose likes Servlets and the fly likes Path problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Path problem" Watch "Path problem" New topic
Author

Path problem

Brusk Baran
Ranch Hand

Joined: Nov 15, 2001
Posts: 132
Hi ranchers.
My problem is that : I have a jsp file(say a.jsp),on which there exist some forms parameters; I send the selected form to a servlet named "EditElementBean" then it creates the associated Bean Object (related with the form parameter element) and redirects to another jsp (b.jsp) ,using RequestDispatcher.
So it should work that way.
a.jsp-->EditElementBean-->b.jsp ----->EditElementBean-->a.jsp
But while on the page b.jsp my page URL looks like

and I cannot send the form to the servlet.
What am I missing here then? I cannot figure it out.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
Probably the web.xml in the web_appln/WEB-INF directory does not correctly map the name EditElementBean to your servlet.
For full documentation of web.xml, download the servlet API from java.sun.com
Bill
li ji'an
Greenhorn

Joined: May 25, 2003
Posts: 1
Hi comma geneus.
In tomcat4, when the RequestDispatcher rederect to a URL, the codebase didn't change. maybe, this is a bug.


My english is poor!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Path problem