On one machine, the following works fine but on another on Tomcat 5.0.19 the bean:message inside the html:link doesn't work. It gives the error:
org.apache.jasper.JasperException: Unable to compile class for JSP
/usr/local/tomcat/work/Catalina/test.ac.uk/struts/org/apache/jsp/ index_jsp.java:154: _jspx_meth_bean_message_3(javax.servlet.jsp.tagext.JspTag,javax.servlet. jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache.struts.taglib.html.LinkTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_bean_message_3(_jspx_th_html_link_0, _jspx_page_context))
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
works: <head><title><bean:message key="index.title" /></title></head>
breaks:
<html:link forward="auth"><bean:message key="index.link.auth" /></html:link>
struts-html.tld and struts-bean.tld are not in WEB-INF as per the servlet 2.3 notes. Everything in the webapp is identical between the machines.
thanks
Alistair
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]