Hi,
Please help me with this problem, I spent hours on it,
but still canotsolve it.
I have a jsp page named "login.jsp" in my application
named "furnnet", also this is the application path, so
if I use Tomcat, the application path looks like this:
TAMCAT_HOME/webapps/furnnet/
in order to oeganize my jsp, my application will look
like
furnnet/
jsp/login.jsp
...
...
WEB-INF/
lib/
....
and here below is a snippet from struts-config:
<action-mappings>
<!-- Process a user login -->
<action path="/jsp/login"
type="com.fnet.struts.login.LoginAction"
name="loginForm"
scope="request"
validate="true"
input="/jsp/login.jsp">
<forward name="success"
path="/dispatch.ctl"/>
</action>
and from the page login.jsp
<form name="loginForm" method="POST"
action="jsp/login.do">
it seems that nothing will happen if I have the
login.jsp under the directory jsp.
if I move the jsp to the root directory and change the
config file accordingly, then it works. But then
application structure will look so ugly because I will
have to put all the jsp pages in the root...can
someone help me solve the problem.
Thank you very much
Binh
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>