Hi

I am new to jsp, but have lots of experience with servlets.  A couple of
things seem unclear to me and was hoping that some one could help clarify
them.

I in a typical form processing situation, it is quite common to post the
form to a servlet, which inturn would do some processing in the doGet/doPost
methods and the possible redirect to another page.  What is the recommended
manner in achieving that in jsp, keeping in mind that I would like to
separate ui from business logic as much as possible (I have seen example
where you can put in all your java code in the jsp, but that does seem like
good design)?

It seems as though that I can now post into a bean, instead of a servlet.
By providing matching get/set metthods all my form variables this would be
done for me.  What happens when I hit the submit button?  Can a method be
called on that bean that would do the processing and then redirect to
another page?  A real example of how this works would be great.

Thanks in advance.
Suneet

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to