This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Java » Servlets
Bookmark "webserver is actin funny!!!!!help! help!" Watch "webserver is actin funny!!!!!help! help!" New topic
Author

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

rupa kalid
Greenhorn

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
Anonymous
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
 
GeeCON Prague 2014
 
subject: webserver is actin funny!!!!!help! help!