File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes problem in accessing a servlet using iPlanet web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "problem in accessing a servlet using iPlanet web server" Watch "problem in accessing a servlet using iPlanet web server" New topic
Author

problem in accessing a servlet using iPlanet web server

srinivas kanchanavally
Greenhorn

Joined: May 20, 2001
Posts: 14
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

Joined: Feb 20, 2001
Posts: 3695

try removing the /testapp from the URL pattern.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in accessing a servlet using iPlanet web server
 
Similar Threads
Change in servlet-class & servlet-name in web.xml not reflected? Why?
Starting out on Servlets - from Head First Servlets and JSP
error
UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28
Servlet Mapping vs Static resource