On Fri, 25 Oct 2002, Oliver Jonas wrote:
> Date: Fri, 25 Oct 2002 18:59:02 +0200 > From: Oliver Jonas <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: JSP's and J2SDK1.4 assert statement > > Form-based authentication assistanceHi, > > I'm trying to use the new assert statement in my JSP's. So, I set my > JAVA_OPTS environment variable to "-source 1.4 -enableassertions" (w/o > quotes) but the catalina startup script doesn't like it. And exists > immediately without starting Tomcat. Put it in CATALINA_OPTS intstead. > > I'm using Tomcat 4.1.12-LE on Windows 2000. > > Has anyone managed to make use of asserts in JSP pages? Which implies you're putting code in scriptlets, right? Sheesh ... Java code to implement business logic belongs in Java classes, not intermixed with your presentation markup in a JSP page. > > > Thanks a lot, > Oliver. Craig McClanahan -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>