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]>

Reply via email to