Hi.

I'm new to JSP and all that so I wanted to post this question, sorry if
you've covered it all before and stuff.

I want to know if theres something that says that making an "empty" JSP page
(by empty I mean one with no HTML tags or output) is a bad thing.  I know I
could write a servlet but I think it's more convenient to write a JSP page.

In case you don't understand what I'm talking about, let me explain:
I have this page where I enter information.  I enter it into a form and then
when the form is submitted I call a JSP page which redirects me to the
"success" or "no success" page.  In other words, this JSP page doesn't show
any result by itself, It only performs some tasks (like creating a UIHandler
object which creates a SQLGenerator object which uses the DBInterface object
to write to the database) and then redirects.

Is this something that's not preferred?  Should I have the message
("success" or "no success") inside the doRegister.jsp page instead of having
it redirect?  What say y'all?

Regards,
Stefan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to