Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in forwarding to jsp

 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think nobody face this issue
 
Anirvan Majumdar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic