Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing parameters from jsp to servlets????

 
raymond yadao
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic