This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP Requests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Requests" Watch "JSP Requests" New topic
Author

JSP Requests

vernon mweetwa
Greenhorn

Joined: Nov 26, 2004
Posts: 24
hi,

i have situatuation as follows and would like help. The index Jsp directs me to the home page. Now i have to options on the home page, which when i select one option and click on the button, this should take me to another Jsp. what type of code makes this happen? Even an example would do.

Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This is known as an HTTP Form.
When you fill one out and submit it, it creates and HTTP POST request.

http://www.google.com/search?hl=en&q=HTTP+FORMS+TUTORIAL&btnG=Google+Search

The FORM tag's ACTION attribute determines what resource the post information will go.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
 
subject: JSP Requests
 
Similar Threads
Logout error
url rules
How do get a https's page
portlets processaction method
javax.servlet does not exist