This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Servlets and the fly likes webserver is actin funny!!!!!help! help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "webserver is actin funny!!!!!help! help!" Watch "webserver is actin funny!!!!!help! help!" New topic

webserver is actin funny!!!!!help! help!

rupa kalid

Joined: Jul 26, 2000
Posts: 4
i have a very funny problem. I installed javawebserver2.0
and i tried hosting a few servlets,all the examples in the sunexamples, are working except HelloWorldServlet. I have made sure it is in the right directory, and when i try to use the admin service to add the servlet, it says it cannot find the
HelloWorldServlet class file. But i have put it in the servlets directory. I am able to host other servlets that come with the server, but not my own servlets. What am i doing wrong???
please help
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hell i think u have some problem in the main form.
Put the html file in the html folder and servlet in the servlet folder and in the html file at the form tag mention the action='servlet\yourservlet' method='post or get'
it will work fine
I agree. Here's the link:
subject: webserver is actin funny!!!!!help! help!
It's not a secret anymore!