This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
Don't get me started about those stupid light bulbs.
 
subject: JSP Requests
 
Similar Threads
Logout error
javax.servlet does not exist
How do get a https's page
url rules
portlets processaction method