This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes problem in forwarding to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem in forwarding to jsp" Watch "problem in forwarding to jsp" New topic
Author

problem in forwarding to jsp

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
hi guys

iam facing a problem in forwarding a jsp through an action
my struts-config looks like this

<action-mappings>
<action path="/test" name="testBean" type="com.test.TestAction">
<forward name="forward" path="/test.jsp"/>
</action>
</action-mappings>

but instead of putting path="/test.jsp"/> if gave a tile the action forwards to jsp

i dodnt know what is the reason it not forwarding to test.jsp
also i confirmed that i have put my jsp in correct path (in my web-root folder)

looking for your replies
regards
amir
Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
i think nobody face this issue
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Originally posted by Amirtharaj Chinnaraj:

but instead of putting path="/test.jsp"/> if gave a tile the action forwards to jsp


So is it or is it NOT forwarding to the JSP?

Originally posted by Amirtharaj Chinnaraj:

i think nobody face this issue


I think you need to be a little more coherent in explaining the problem you're facing.
[ March 27, 2008: Message edited by: Anirvan Majumdar ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in forwarding to jsp
 
Similar Threads
javax.servlet.ServletException: Exception creating bean of class
problems with action mapping
Display Check Boxes & Dropdowns in Struts with search results
action mapping for pre-login
module level struts-config.xml file