There might be several problems in your code, one being that the action should be /jsp/login.do (not the extra slash in front) coz if you login.jsp is in /jsp, and /jsp/jsp does not exist, it won't see the login.do. Try if that works.
Anyway, you don't have to put your login.do link inside /jsp, I think you can just point it to anywhere, since they are forwarded and are not real files, for my projects, we use "." instead of "/" for actions. Help this helps.. cheers. On Wednesday 21 November 2001 07:43 am, you wrote: > 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 -- Cheers, Yee Keat -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

