This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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!
Similar Threads
simple question
basics of web.xml
deploying Servlets in Apache (w/ Tomcat plug-in)
How to run a servlet using Tomcat?
HelloWorldServlet in Weblogic 6.0