Re: Cannot Find Bean in Any Scope

2004-06-13 Thread Caroline Jen
Chris, thanks for your help. You are right. The error is caused by something else. The error message is misleading. -Caroline --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > Caroline, > > > Sorry, I still did not explain my code very well. > > I've looked at your code, and none of it cou

Re: Cannot Find Bean in Any Scope

2004-06-13 Thread Christopher Schultz
Caroline, Sorry, I still did not explain my code very well. I've looked at your code, and none of it could print that error message. You must be leaving something out. Is it possible that the message is actually coming from a different part of your JSP? -chris signature.asc Description: OpenP

RE: Cannot Find Bean in Any Scope

2004-06-13 Thread CRANFORD, CHRIS
Why aren't you using the struts taglib framework to do this since the bean is in the request scope, it makes it a lot easier and keeps your JSP code very clean. And to do what I suspect you may be trying to do with the "odd" variable, you could also use the JSTL core taglib like follows:

Re: Cannot Find Bean in Any Scope

2004-06-13 Thread Caroline Jen
Sorry, I still did not explain my code very well. I am trying to write out the properties of ThreadBean in a "while loop" in my JSP: <% Collection threadRows = ( Collection )request.getAttribute( "ThreadBeans" ); int odd = 0; Iterator iterator = threadRows.iterator(); while( iterator.hasNe

Re: The html:link Tag

2004-06-13 Thread Mark Lowe
try and forget the rest. Mark On 12 Jun 2004, at 23:56, Caroline Jen wrote: Thanks for the reply. If I use the html:link tag and I have one parameter, how do I use the paramId/paramName/paramProperty? For example, I have: what should I do when I convert it to html:link Caroline --- Niall Pember