--- "Taylor, Kevin" <[EMAIL PROTECTED]> wrote: > Wherever possible we try to use only tag libs in JSP pages. When we > feel the > need to resort to scriptlets, it usually means that we are doing more > than > presentation logic in the JSP page. Or there is reusable code that > can be > pulled into a custom tag lib. > > The only exception to this that I have seen was a page that used JSTL > and > the resulting servlet class file exceeded the class file size limit. > > > Kevin
ah, i forgot about that, good point. now my questions are: are you implying that tags do not add to a jsp's compiled class size? do all servlet containers have a class size limit? (are there any servlet containers that can load a jsp of any size?)... if i remember correctly, i believe WebSphere has a limit of 64k or something. > > > > -----Original Message----- > > From: Woodchuck [SMTP:[EMAIL PROTECTED] > > Sent: Friday, August 27, 2004 12:22 PM > > To: struts > > Subject: philosophical question/poll about Struts/JSTL, scriptlets > > > > sorry to bring this up on a Friday... > > > > does everyone here have pure Struts/JSTL jsp pages that is > absolutely > > void of scriptlets? > > > > or do you have jsp pages that use a combination of Struts/JSTL and > > scriptlets, all living together harmoniously using whichever method > is > > easiest/cleanest? > > > > is mixing Struts/JSTL with traditional scriptlets a bad thing? > > > > i have to say that i would prefer to *not* mix scriptlets with > > Struts/JSTL but in some situations it seems scriptlets is the > better > > solution (in terms of code maintainability). that is, it would be > > easier to use a little snippet of scriptlet here and there instead > of > > making a round-about (albeit clever) and more verbose way of doing > the > > same thing without scriptlets... > > > > any opinions is welcome! i want to be able to sleep without > nightmares > > about this!! :) > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Take Yahoo! Mail with you! Get it on your mobile phone. > > http://mobile.yahoo.com/maildemo > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]