tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Beyer ...@stormlight.de>
Subject Re: precompilation and JSTL
Date Mon, 24 Jan 2005 19:14:42 GMT
Tim Funk schrieb:

> Is your web.xml using the 2.4 declaration?

Yes it is.

The problem has to do with precompilation, because it works if I deploy 
the JSPs instead of the servlets.

>> Example: <c:out value="1 + 2 = ${1 + 2}" />

The precompiled Java code looks like this:

_jspx_th_c_out_1.setValue(new String("1 + 2 = ${1 + 2}"));

Whereas the Java code compiled after deployment looks like this:

_jspx_th_c_out_1.setValue((java.lang.Object) 
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("1 + 2 = 
${1 + 2}", java.lang.Object.class, (PageContext)_jspx_page_context, 
null, false));

Why is it different??

-- 

Grüße, Marcus

<http://www.Stormlight.de>

"Whatever you do will be insignificant,
  but it is very important that you do it." -- Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message