• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet is not running in a defferent environment

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends, until the web environment was there inside $CATLINA_HOME/webapps/ say myapps, every thing was working fine say servlets and jsps were running successfully. but now, when I changed the web environment to a different drive say E:\java\*myapps*, the html and jsp are working fine but servlet only is not running while throwing the error code 404
requested resource /OnlineExam/servlet/myclass is not found.

it sounds surprising as only after changing the drive it is not working.
all the formalities I have done as it is shown from the successful run of html, jsp pages from that environment. and yes!, the required mappings are also done.

here is tomcat 5.5.17 and used url for servlet is http://localhost/myapps/servlet/myclass

any thing yet to do?
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The request URL

localhost/myapps/servlet/myclass


does not seem to match the 404 URL

/OnlineExam/servlet/myclass


So I think there is something yet to do

Hope this helps
[ September 17, 2008: Message edited by: Amit Ghorpade ]
 
santomh Mclain
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oh!!! sorry i had given you a little wrong data

actually the webapps name I took, as a example its however OnlineExam.

and I am using the same URL what you are suggesting for:
OnlineExam/servlet/myclass

[ September 18, 2008: Message edited by: santomh Mclain ]
[ September 18, 2008: Message edited by: santomh Mclain ]
 
santomh Mclain
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is anybody out there who can spend his precious time helping me out.

regards
san
reply
    Bookmark Topic Watch Topic
  • New Topic