The first time you invoked the jsp page you would suffer a performance
hit from the compilation. However, I think the bigger problem is the
maintainability of the pages once you have put all that java code in the
jsp. Jsp code is hard to maintain and not particularly scalable. You
also run into the problem of mixing the separate components of the MVC
architecture into one object. Maybe custom tags would be a better way to
go. I would definitely not put a lot of java code into your jsp.

Ed Foley

Murthy, Suryanarayana (MED, TCS) wrote:

>In stead of using Java Beans, can I write the methods in JSP pages itself?
>If so, what would be the effect on performance?
>
>
>Regards,
>Murthy
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to