This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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