Sorry, my forward was defined as redirect="true". Now it works, thanks.

So one other question. Is is normal to write an Action for every page, to register these variables.(no forms in page so far.) Or there is a simpler solution?



Bahadır Yağan wrote:
I tried it but couldn't get it working. Here is my code:

Action:
request.setAttribute("clist", clist);

JSP:
   <logic:iterate id="category" name="clist">
   <tr>
<td><a href="sunum.jsp?cid=${category.cid}">${category.name}</a></td>
   </tr>
   </logic:iterate>


ps: no it is not a form bean.

Gareth Evans wrote:
request.setAttribute() ?

Bahadır Yağan wrote:
Hi!

Is there a way to register a bean from inside an Action, only for the next response. I have data to display on a JSP page. But it will only be needed for that page, so registering it to session seems an overhead to me.








--
Bahadir Yagan
MHT Elektronik
+90 312 265 02 10



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

Reply via email to