• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rupa kalid
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic