Servlet's doPost() results in jsp file not found error
- From: kittle25@xxxxxxxxx
- Date: 28 Sep 2005 23:31:23 -0700
using Websphere App Server 6.0.
I have a simple servelt with doget and do post methods.
When a jsp is loaded from the servlets doGet() method, the relative
path to the jsp is kept intact so the server is able to find the jsp.
While when I do a differnt task which results in calling the servelets
doPost(), the jsp is not served up since it tries to look for the jsp
in the same dir as the severlet ( i assume this is the problem)
How can I fix this? I tried giving absolute paths for the jsp but that
does not work either. I was thinking of just creating another servlet
(servlet2) and copying over the code from
servelet1.doPost() to servelet2.doGet()
to get rid of this problem with relative paths,
any ideas??
THX
.
- Prev by Date: Re: Artificial Intelligence
- Next by Date: Help/Advice/Example Code Needed for This Project
- Previous by thread: commas in numbers
- Next by thread: Re: Servlet's doPost() results in jsp file not found error
- Index(es):
Relevant Pages
|
|