File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in accessing a servlet using iPlanet web server

 
srinivas kanchanavally
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
it wll be of great help if some one can help me out.
I have installed iplanet webserver 6.0 on win2k and tyring to deploy a web application.( i dont want to deploy it using war )
I have a index.jsp page which invokes a servlet for processing and servlet (processServlet)redirects to either result.jsp or error.jsp based on the result of the process.
I called the whole app as test app
so added a directory called testapp in docs of iplanet/servers/
now the user can access the index.jsp as
http://localhost ort/testapp/index.jsp
when the button is clicked on it the url changes to http://localhost ort/testapp/processServlet
in the web.xml which is in the testapp/WEB-INF
i have <url-pattern>/testapp/processServlet</url-pattern>
The problem is iplanet is not able to get the path of servlet class
In the error log file i can this message
for host 127.0.0.1 trying to POST /testapp/processServlet, send-file reports: can't find c:/iplanet/servers/docs/testapp/processServlet (File not found)
thanks in advance
Srinivas.Kanchanavally
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try removing the /testapp from the URL pattern.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic