You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Bolsover <da...@bolsover.com> on 2003/02/21 18:00:22 UTC
struts-el and tomcat 4.0
Hi all
I am having some problems with some jsp's that use the struts-el tags - they run fine under Tomcat
4.1.12 but refuse to compile under 4.0.
I seem to recall reading somewhere that there are come config changes needed to use struts 1.1 under
Tomcat 4.0 -- but I can't find the references now - so does anyone know the cause/solution to this
problem.
Thanks in anticipation
db
The following is a very small extract from the servletexception:
The failure occurs near the first use of an html-el:hidden tag
[ServletException in:/tiles/userupdatebody.jsp] Unable to compile class for JSP An error occurred at
line: 19 in the jsp file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache
Tomcat 4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:261: Invalid expression statement.
_jspx_th_html-el_hidden_0.setPageContext(pageContext); ^ An error occurred at line: 19 in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:262: Invalid expression statement.
_jspx_th_html-el_hidden_0.setParent(_jspx_th_html_form_0); ^ An error occurred at line: 19 in the
jsp file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:263: Invalid expression statement.
_jspx_th_html-el_hidden_0.setName("rows"); ^ An error occurred at line: 19 in the jsp file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:264: Invalid expression statement.
_jspx_th_html-el_hidden_0.setProperty("username"); ^ An error occurred at line: 19 in the jsp file:
/tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat
4.0\work\localhost\VisualWeb\tiles\userupdatebody$jsp.java:265: Invalid expression statement.
_jspx_th_html-el_hidden_0.setValue("${rows.UserName}"); ^ An error occurred at line: 19 in the jsp
file: /tiles/userupdatebody.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org