A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Feb 26, 2006
Feb 27, 2006 15:21:00
I have already defined struts-bean tag at the start of
and would like to store bean property value in a
variable using <bean define> tag.
<bean efine id="Test"
It throws an exception stating that variable Test not identified as following.
org.apache.jasper.JasperException: Unable to compile class for JSP
Test cannot be resolved
I have reffered few books and according to it the above syntex is correct.
Looking for your input.
Joined: Oct 01, 2003
Feb 27, 2006 23:35:00
it would really have to be:
<%@ taglib uri="/tags/struts-bean" prefix="bean" %> (or whatever uri you mapped ur tld to in web.xml)
<bean: define id="Test" (without the space between bean: and define, of course)
Test : <%=Test%>
[ February 27, 2006: Message edited by: art gems ]
I agree. Here's the link:
subject: bean:define property
jsp error in spring
Problem with jsp:getProperty
Regarding "html: img " tag
Anyone done a good 'paged' datatable solution for Struts?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014