You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jalal udeen <ja...@gmail.com> on 2007/05/14 09:13:35 UTC

tags doubt

hi
             wat is tag to use retrive value from the request   and how to
assign to a variable  and how to display it

          example:

              i)  if i have set the value  in action class as

                            request.setAttribute("myvar","myvar");


              2) how can i get this in jsp using tags


            3) how can i assign this to a variable ie.,  <%String  myvar =
??%>

            4 ) how can i display it pls  clear my doubts



thanks  in advance
Jalaludeen.H

Re: tags doubt

Posted by Antonio Petrelli <an...@gmail.com>.
2007/5/14, jalal udeen <ja...@gmail.com>:
> hi
>              wat is tag to use retrive value from the request   and how to
> assign to a variable  and how to display it
>
>           example:
>
>               i)  if i have set the value  in action class as
>
>                             request.setAttribute("myvar","myvar");
>
>
>               2) how can i get this in jsp using tags
>
>
>             3) how can i assign this to a variable ie.,  <%String  myvar =
> ??%>
>
>             4 ) how can i display it pls  clear my doubts

Mmm... I should say RTFM...
But anyway, see JSTL for this:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL4.html#wp86154

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org