Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Web App

Sid Ansari

2004-04-12

Replies:

I am having trouble invoking a servlet in J2ee 1.4. My servlet is called MovieQuery and it is invoked from an html page called Movie.html. My context root is movie. I can invoke the html document as follows:
 
http://localhost:8080/movie/Movie.html
 
but I cannot invoke the servlet from the html document. In the html document I have:
 
"/movie/MovieQuery"
 
This does not work. I have also tried
 
"/movie/servlet/MovieQuery" and
 
"/servlet/movie/MovieQuery"
 
Please help!!
 
Sid
=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

©2008 junlu.com - Jax Systems, LLC, U.S.A.