This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Cant run servlet 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 » Java » Servlets
Bookmark "Cant run servlet" Watch "Cant run servlet" New topic
Author

Cant run servlet

ugur yoruk
Greenhorn

Joined: Nov 11, 2009
Posts: 4
Hello.

I just started reading HF Servlets&JSP but cant run servlets eventhough i did everything written in the book.

I keep getting "The requested resource (/ch1/Serv1) is not available. " error everytime i try to run the servlet.

Anyone knows how to fix this ?

Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
pretty much everyone on the forum have fixed or encounter this problem before. It's much more meaningful if you fix it and there are lots of threads on here deal with this issue. Search them and read them to help you solve your problem.
ugur yoruk
Greenhorn

Joined: Nov 11, 2009
Posts: 4
Davie Lin wrote:pretty much everyone on the forum have fixed or encounter this problem before. It's much more meaningful if you fix it and there are lots of threads on here deal with this issue. Search them and read them to help you solve your problem.


Actually i did make a search but couldn't find a fix.

Problem is solved now.I moved the .class file to examples directory and edited the .xml file , and it worked. Took me a while to figure this out though
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cant run servlet
 
Similar Threads
choosing between init() and a constructor
can i use javascript inside the servlet
cant run packaged servlet - Pz Help
Head First Servlets program error
why is the method not getting executed??