[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    Re: How can I get the parameters of a jsp?
From:       Anthony Smith <anthony.smith () fedex ! com>
Date:       2001-07-30 17:06:17
[Download RAW message or body]

Let me know if you get this. I have been tryign as well.

Thanks

Vincent Bonamy wrote:

> I don't want to use a servlet or other but a Jsp !
> My jsp is working outside of jetspeed but not in jetspeed.
>
> My Jsp is a kind of "JSP"  of classname
> "org.apache.jetspeed.portal.portlets.JspPortlet"   (sf .xreg)
> ....  I'm going to see the source !
>
> But if evryone know how to get a parameter with a jsp IN jetspeed ...
>
> In attachment the code of my jsp
>
> vincent.
>
> Paul Spencer wrote:
>
> > Vincent,
> > If you are using the WebPagePortlet, not available in 1.3a1, the
> > parameter "NameOfValue" should be include in the <URL> of the portlet
> > configuration. See the "Portlet Catalog" on the jetspeed web site for
> > more information.
> >
> > I do not know how to pass a parameter to a JSP portlet :(
> >
> > Paul Spencer
> >
>
>   ------------------------------------------------------------------------
> <%
>
> String es = "";
> es =  request.getParameter("desc");
>
> System.out.println("desc = " + es );
>
> %>
>
>  <p>
>
> Hello <%=es %>
>
> </p>
>
> <form method=get >
>   Description? <input type=text name="desc" value="<%=es%>">
>  <input type=submit value="Submit">
> </form>
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic