i can call my servlet throgh my browser. But when i call my servlet from a html page it gives the error page not found. The foollowing is the html tag.Please remind me what i ma forgetting. thanks in advance. <Form method=GET ACTION="examples/servlet/EchoParmsServlet">
Try typing in the full path "http://localhost:8080/examples/servlet/EchoParmsServlet" Also, if yourservlet is part of a package, putthe package name in front of the classname. i.e yourpackagename.EchoParmsServlet
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
Have you check the directory of your HTML file and your servlet file ? Make sure that you write the directory correctly. If it doesn't work, check your servlet engine and your web server. Is it worked on different port ? By the way, what servlet engine do you use ?
------------------ ** Science belongs to the world **
Hello, I am not sure but I feel that ur doing some mistake with the path in the html page bcoz I havent seen anytime url like this examples/servlet/EchoParmsServlet it should be /servlet/examples/EchoParmsServlet So just check it out .
------------------ Sandeep Jain
Try and Try Till u succeed<br /> <br />Sandeep Jain
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop