Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

problem in accessing a servlet using iPlanet web server

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try removing the /testapp from the URL pattern.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic