tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: JSP's and J2SDK1.4 assert statement
Date Fri, 25 Oct 2002 17:21:49 GMT


On Fri, 25 Oct 2002, Oliver Jonas wrote:

> Date: Fri, 25 Oct 2002 18:59:02 +0200
> From: Oliver Jonas <oliver@dialogue.co.uk>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> 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>


Mime
View raw message