You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by temp temp <mi...@yahoo.com> on 2008/03/05 23:08:53 UTC

any tag library to set an object in request in jsp

I usally use scriptlet in jsp to set some object in request is there a way tro do this using any tag library 

instead of this 
<%request.setAttribute(CustomReviewFormflowAction.IReviewFormFlowProperties.ATTRIBUTE_REVIEW_FORM_SECTION,vReviewFormSectionHeader); %>
can I use any  exsisting taglibrary ?
miro

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: any tag library to set an object in request in jsp

Posted by Othon Reyes Sanchez <ot...@gmail.com>.
You can use JSTL too.


On Wed, Mar 5, 2008 at 5:45 PM, Alberto A. Flores <aa...@gmail.com>
wrote:

> In case this was not a Struts question, check out:
>
> http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html
>
> Hope this helps!
>
> Alberto
>
> On Wed, Mar 5, 2008 at 5:08 PM, temp temp <mi...@yahoo.com> wrote:
>
> > I usally use scriptlet in jsp to set some object in request is there a
> way
> > tro do this using any tag library
> >
> > instead of this
> > <%request.setAttribute(
> >
> CustomReviewFormflowAction.IReviewFormFlowProperties.ATTRIBUTE_REVIEW_FORM_SECTION
> ,vReviewFormSectionHeader);
> > %>
> > can I use any  exsisting taglibrary ?
> > miro
> >
> >
> > ---------------------------------
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try
> it
> > now.
> >
>
>
>
> --
> Alberto
> http://www.linkedin.com/in/aflores
>

Re: any tag library to set an object in request in jsp

Posted by "Alberto A. Flores" <aa...@gmail.com>.
In case this was not a Struts question, check out:

http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html

Hope this helps!

Alberto

On Wed, Mar 5, 2008 at 5:08 PM, temp temp <mi...@yahoo.com> wrote:

> I usally use scriptlet in jsp to set some object in request is there a way
> tro do this using any tag library
>
> instead of this
> <%request.setAttribute(
> CustomReviewFormflowAction.IReviewFormFlowProperties.ATTRIBUTE_REVIEW_FORM_SECTION,vReviewFormSectionHeader);
> %>
> can I use any  exsisting taglibrary ?
> miro
>
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it
> now.
>



-- 
Alberto
http://www.linkedin.com/in/aflores

Re: any tag library to set an object in request in jsp

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Since this is a Struts user list, I assume that you're looking for a
"Struts way" to do this. In that case, the taglib documententation
would be a very good place to start! You don't specify which version
of Struts, so here are some references:

Struts 1: http://struts.apache.org/1.3.8/struts-taglib/index.html
Struts 2: http://struts.apache.org/2.0.11.1/docs/tag-reference.html

Nils-H

On Wed, Mar 5, 2008 at 11:08 PM, temp temp <mi...@yahoo.com> wrote:
> I usally use scriptlet in jsp to set some object in request is there a way tro do this using any tag library
>
>  instead of this
>  <%request.setAttribute(CustomReviewFormflowAction.IReviewFormFlowProperties.ATTRIBUTE_REVIEW_FORM_SECTION,vReviewFormSectionHeader); %>
>  can I use any  exsisting taglibrary ?
>  miro
>
>
>
>  ---------------------------------
>  Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

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