JSP Servlet architecture
843841Jun 16 2005 — edited Jun 16 2005Hello,
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.