The following JSP code is not being compiled correctly by the Tomcat environment. I am using Jbuilder8 enterprise with Tomcat4 and Struts 1.1 My jsp file contains the following scriptlet similar to the following (I have substituted so that it is generic): <dt:format pattern="<%=new String('some method or variable call')%>"> <dt:currentTime/> </dt:format> When the JSP servlet gets built, the scriplet is not compiled into java code but is left as a full string inside the servlet java code "<%=new String('some method or variable call')%>" _jspx_th_dt_format_1.setPattern("<%=new String('some method or variable call')% >"); Where as the desired result would be the following compilation: _jspx_th_dt_format_1.setPattern(new String('some method or variable call'));
David, The pattern attribute of fornat's tag does not accept RT (request time) expressions, so the compilation is fine. You can open a new bug requesting RT support for that attribute though. -- Felipe