You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Glass <mg...@datalinx.net> on 2002/03/26 22:02:53 UTC

Placing JSP in subdirectory - how?

Hi all,
   Struts works ok if I place the JSP files in the root directory. If I place them in a subdirectory then whenever I specify an action in the HTML form Struts prepends the directory path to the action and throws an error. What must I do to have a directory structure for JSP pages?

thanks,
Mark Glass

Re: Placing JSP in subdirectory - how?

Posted by yogesh b <st...@hotmail.com>.
Check your struts-config.xml for tags
input="/jsp/Logon.jsp"
<forward name="success" path="/jsp/Success.jsp" />
Hope this will work.

Yogesh
----- Original Message -----
From: "Mark Glass" <mg...@datalinx.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, March 27, 2002 2:32 AM
Subject: Placing JSP in subdirectory - how?


Hi all,
   Struts works ok if I place the JSP files in the root directory. If I
place them in a subdirectory then whenever I specify an action in the HTML
form Struts prepends the directory path to the action and throws an error.
What must I do to have a directory structure for JSP pages?

thanks,
Mark Glass


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>