You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joan Noval <mt...@yahoo.com> on 2000/08/01 22:03:05 UTC

Resin & Struts

hello guys..

sorry for this silly question,i'm very new in struts.

is this a valid syntax?

<struts:form
action="sellerlogon.do?input=<%=request.getParameter("input")%>"
.... />

or I just can't do this on Struts with Resin.

thnks.

- joan

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Re: Resin & Struts

Posted by "George Henry C. Daswani" <gd...@odc.net>.
Hello Joan,

    I saw your question on the struts user list, don't know if somebody
answered you but..

    You should be able to do something like this.

<struts:form action="logon.do" name="logonForm"
type="org.apache.struts.example.LogonForm">
        <input type="hidden" name="request"
value="<%=request.getParameter("input")%>">
</struts:form>

It has the same end result as what you are trying to do.

George
----- Original Message -----
From: "Joan Noval" <mt...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Tuesday, August 01, 2000 1:03 PM
Subject: Resin & Struts


> hello guys..
>
> sorry for this silly question,i'm very new in struts.
>
> is this a valid syntax?
>
> <struts:form name="input" value=
> action="sellerlogon.do?input=<%=request.getParameter("input")%>"
> .... />
>
> or I just can't do this on Struts with Resin.
>
> thnks.
>
> - joan
>
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
>


Re: Resin & Struts

Posted by Richard Vowles <rv...@sew.co.nz>.
----- Original Message ----- 
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <st...@jakarta.apache.org>
Sent: Wednesday, August 02, 2000 8:41 AM
Subject: Re: Resin & Struts



> The final determination of what the JSP spec requires and allows is yet
> to be resolved.  In the mean time, as soon as I have a few hours
> available I will go retrofit the Struts tags that operate differently
> than Resin expects.

Gee, and I patched Resin... <grin>

Richard


Re: Resin & Struts

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Joan Noval wrote:

> hello guys..
>
> sorry for this silly question,i'm very new in struts.
>
> is this a valid syntax?
>
> <struts:form
> action="sellerlogon.do?input=<%=request.getParameter("input")%>"
> .... />
>
> or I just can't do this on Struts with Resin.
>

This is valid syntax.  There's a separate issue related to the
construction of the custom tag classes themselves (technically, it has
to do with from what methods a custom tag can reference the nested
bodyContent object -- aren't you glad you asked? :-) that prevents
Struts from working with Resin.

The final determination of what the JSP spec requires and allows is yet
to be resolved.  In the mean time, as soon as I have a few hours
available I will go retrofit the Struts tags that operate differently
than Resin expects.

>
> thnks.
>
> - joan
>

Craig