Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet is not running in a defferent environment  RSS feed

 
santomh Mclain
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • 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?
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
is anybody out there who can spend his precious time helping me out.

regards
san
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!