• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can i call a servlets from a jsp if needed??

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can a servlet can be called from a jsp in a MVC architecture if needed???and how can any file be called from a jsp??
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to study the servlet and JSP APIs and other available materials instead of asking these shotgun questions that would take a book chapter to answer.
Just reading some of the past threads on this forum would answer your questions.
Bill
 
Randall Twede
Ranch Hand
Posts: 4519
6
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is one way:
<form action="/examples/servlet/CheckoutServlet" method="post">
<input type="submit" value="Yes, I'm finished"></form>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!