RE: nested and

2005-09-08 Thread Lombart Vincent \(DBB\)

I have removed struts-el.jar, replaced jstl.jar and standard.jar with those 
from jakarta-taglibs-standard-1.1.2 and replaced the  tag with 
the  one.

That does not make a difference,  does not find the bean either.

Best regards
Vincent

-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 septembre 2005 15:49
To: Struts Users Mailing List
Subject: RE: nested  and 


If you're using Tomcat 5, a JSP 2.0 container, you shouldn't use
Struts-EL.  Just use the plain Struts jar, and make sure your web.xml
uses the Servlet 2.4 schema.

> -Original Message-
> From: Lombart Vincent (DBB) [mailto:[EMAIL PROTECTED]
>
> Does anybody know why the following JSP code does not work:
>
> 
>   
> 
>   
> 
>paramId="monitorName" paramName="icol">
>   
> 
>   
> 
>   
> 
>
> "monitorBean" contains rows, and each row contains columns
> (of type String).
>
> The JSP code should build a table from this bean, displaying
> one String in each cell, with a hyperlink of the type
> ".../monitor.do?monitorName=xxx".
>
> However, I get the error:
> 2005-09-08 11:54:47,082 ERROR InsertTag - ServletException in
> '/WEB-INF/jsp/multimonitor.jsp': Cannot find bean icol in any scope
> javax.servlet.ServletException: Cannot find bean icol in any scope
>   at
> org.apache.jasper.runtime.PageContextImpl.doHandlePageExceptio
> n(PageContextImpl.java:825)
>   at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(
> PageContextImpl.java:758)
>   at
> org.apache.jsp.WEB_002dINF.jsp.multimonitor_jsp._jspService(mu
ltimonitor_jsp.java:83)
>   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> ...
>
> I have tried to modify "icol" to be a bean with a String
> property rather than a simple String, but it does not work
> either. If I remove the  part, everything works
> perfectly, i.e.  is able to find "icol". I have put
> some code before the  that shows that "icol" is
> defined in page scope. I have used  paramName="irow"> and it finds "irow", although "irow" is
> defined just like "icol".
>
> I am using Tomcat 5.0.25 and Struts 1.2.7 with the included
> struts-el.jar.
>
> Thanks in advance to anybody who can give me an answer...
>
> Best regards
>
> --
> Dexia Bank disclaimer :
> http://www.dexia.be/maildisclaimer.htm
> --
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


--
Dexia Bank disclaimer :
http://www.dexia.be/maildisclaimer.htm
--


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



RE: nested and

2005-09-08 Thread Lombart Vincent \(DBB\)

That's the kind of solution I was looking at, although using  with 
included  might be more robust. But I would prefer to use the action 
name rather than the direct url.

Regards
Vincent

-Original Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 septembre 2005 15:35
To: Struts Users Mailing List
Subject: Re: nested  and 


Lombart Vincent (DBB) wrote:

>Dear all,
>
>Does anybody know why the following JSP code does not work:
>
>
>  
>
>  
>
>   paramName="icol">
>  
>
>  
>
>  
>
> 
>

  

  

  ${icol.monitor}

  

  


What about something more like that??

Brandon




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


--
Dexia Bank disclaimer :
http://www.dexia.be/maildisclaimer.htm
--


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



nested and

2005-09-08 Thread Lombart Vincent \(DBB\)

Dear all,

Does anybody know why the following JSP code does not work:


  

  

  
  

  

  


"monitorBean" contains rows, and each row contains columns (of type String).
The JSP code should build a table from this bean, displaying one String in each 
cell, with a hyperlink of the type ".../monitor.do?monitorName=xxx".

However, I get the error:
2005-09-08 11:54:47,082 ERROR InsertTag - ServletException in 
'/WEB-INF/jsp/multimonitor.jsp': Cannot find bean icol in any scope
javax.servlet.ServletException: Cannot find bean icol in any scope
at 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
at 
org.apache.jsp.WEB_002dINF.jsp.multimonitor_jsp._jspService(multimonitor_jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
...

I have tried to modify "icol" to be a bean with a String property rather than a 
simple String, but it does not work either.
If I remove the  part, everything works perfectly, i.e.  
is able to find "icol".
I have put some code before the  that shows that "icol" is 
defined in page scope.
I have used  and it finds "irow", although 
"irow" is defined just like "icol".

I am using Tomcat 5.0.25 and Struts 1.2.7 with the included struts-el.jar.

Thanks in advance to anybody who can give me an answer...

Best regards

--
Dexia Bank disclaimer :
http://www.dexia.be/maildisclaimer.htm
--


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