File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes passing parameters from jsp to servlets???? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "passing parameters from jsp to servlets????" Watch "passing parameters from jsp to servlets????" New topic
Author

passing parameters from jsp to servlets????

raymond yadao
Ranch Hand

Joined: Jan 29, 2001
Posts: 88
i have this program, a jsp passing parameters in servlets. i deploy it in tomcat by creating a war file. i also edited the deployment descriptor. but as i run the program,(the jsp program first and by clicking the submit button, an error message occurred "the page cannot be displayed"). The jsp page and the servlets are all in one folder.
(
/weblink/FlightRequest.jsp
/weblink/web-inf/classes/FlightRequest.java)
the jsp program is:
<html>
<...>
<form action="/FlightRequest" method="post">
<...>
<input type="submit" value="submit">
</form></body></html>

raymond
Shama Khan
Ranch Hand

Joined: Aug 14, 2000
Posts: 185
You might find the following links helpful:
http://www.javasoft.com/docs/books/tutorial/servlets/call-servlets/index.html http://www.javasoft.com/docs/books/tutorial/servlets/call-servlets/html-page.html


Shama
 
 
subject: passing parameters from jsp to servlets????
 
Threads others viewed
Simple examples of JSP
is there anything like formpost in jsp?
Hidding parameters
passing parameters to jsp page
Passing Parameters to JSP page from HTML page
developer file tools