You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/16 19:10:03 UTC
weirdness in Websphere 3.5.5
Subject: <html:form> weirdness in Websphere 3.5.5
From: "Reginald Ister" <re...@yahoo.com>
===
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>