Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSP Servlet architecture

843841Jun 16 2005 — edited Jun 16 2005
Hello,

Ok, Im starting off developing a web application and I want to use a combo of servlets and JSP. Ive tried using struts and find it confusing.

My simple problem is this. I have an introductory JSP (containing relevant html)which presents the user with the introduction page. I want the user to enter something in the text box in front of them. I then want to retrieve this information, pass it to the servlet which carrys out the logic on it and then returns something to another JSP.

This may seem simple but i am getting thoroughly confused and cant find a simple answer. To summarize.....how to pass information from a jsp to a servlet, process on the servlet and pass back to a different jsp.

If someone could show me simply how to do this I would be very grateful. Also do I need beans? - Where do they come into the equation?

Thanks again,
Aisling.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2005
Added on Jun 16 2005
1 comment
192 views