Hmmmm....
I'm not sure what to tell you.
Are you saying it works with the proxy servlet, or that's what's not
working?

~ Keith
http://www.buffalo.edu/~kkamholz


-----Original Message-----
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 6:25 PM
To: [EMAIL PROTECTED]
Subject: Re: <html:form> weirdness in Websphere 3.5.5


Subject: Re: <html:form> weirdness in Websphere 3.5.5
From: "Reginald Ister" <[EMAIL PROTECTED]>
 ===
Keith, thanks for your input.

The funny thing is that it works fine within the VisualAge test environment.
I just ran into this problem during deployment.  Haven't tried WebSphere 4.0
yet.
As I work around, I just wrote a proxy servlet to forward calls like
/app/login to /app/do/login

Reg
"Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I think part of your problem is the way you specify your form in your JSP.
> You have action="login", but what you need is action="/do/login".  The
'do'
> extension must be in the jsp, it isn't created when the page is visited.
> Does that help you at all?
>
> ~ Keith
> http://www.buffalo.edu/~kkamholz
>
>
> -----Original Message-----
> From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: <html:form> weirdness in Websphere 3.5.5
>
>
> Subject: <html:form> weirdness in Websphere 3.5.5
> From: "Reginald Ister" <[EMAIL PROTECTED]>
>  ===
> Hi,
>
> I have the following action define in struts-config.xml:
>
> <action path="/login"
>   type="com.mycompany.actions.LoginAction"
>   name="loginForm"
>   scope="request"
>   validate="true"
>   input="/jsp/login.jsp" />
>
> with the corresponding formbean:
> <form-bean name="loginForm" type="com.mycompany.actions.LoginForm" />
>
> In my login jsp I have the form defined as
> <html:form action="login" method="post" focus="username" target="_top">
>
> When this is rendered in Websphere, the form action is:
>
> <form name="loginForm" method="post" action="/app/login" target="_top">
>
> While the correct rendering should be:
> <form name="loginForm" method="post" action="/app/do/login" target="_top">
>
> Notice the missing "/do" pattern.  Has anyone else seen this behavior?
>
> I am using Struts 1.0.2 with Tiles
>
> Reg
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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

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

Reply via email to