On 11/05/2003 10:27 AM Sunny wrote:
On Wednesday 05 November 2003 02:27 pm, you wrote:
The problem still persists

code in my exportResourcePool.jsp
<tiles:useAttribute id = "currentPage" name = "pageName" type = "java.lang.String" scope = "request" />
Current Page:<bean:write name = "currentPage" />


Exception generated:
[ServletException in:/activity/plan/exportResourcePool.jsp] Cannot find bean currentPage in any scope'

I just use this:


<tiles:useAttribute name="pageName"/>
<fmt:message key="${pageName}"/>

so basically without looking it up, I couldn't say whether all those extra attributes on useAttribute are correct, and I can't remember how I did it before using taglib EL.

If you are using tomcat 5, you don't have to worry, you could just put the EL in the bean tag name attribute direct and JSP is preprogrammed to sort it out.

HTH
Adam

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to