Can you run the servlet in the first place?
for example using a URL such as this:
http://localhost:8080/webapp/servlet/ServletName
see the tomcat servlet examples (linked from the default home page)
if you can run the servlet just link to the servlet's URL like any other
URL.
If you haven't got a servlet running yet, read this:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html
Brendan
-------------------------------------
Hello,
I want to call a servlet from a jsp ( i mean, when i press a button
in the html file generated by the jsp, i want to call a servlet).
for ex: document.location.href = "SERVLET";
How can i do this ?
Thanks in advance...
Alex.
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>