This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes accessing servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "accessing servlets " Watch "accessing servlets " New topic

accessing servlets

madhur jain
Ranch Hand

Joined: Aug 27, 2002
Posts: 49
i just passed prog. cert. and i am a beginner in servlets.
my servlets are in
and i use
in the browser to access the servlets
but if i want to place my servlets in another dir. say dir1 in servlets directory ie in

the on accessing the servlet by
gives error

can someone help what should i do.
Napa Sreedhar
Ranch Hand

Joined: Jan 29, 2002
Posts: 62
Check whether the servlet can be located from the classpath of the application server
I agree. Here's the link:
subject: accessing servlets
It's not a secret anymore!