• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in forwarding to jsp

 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think nobody face this issue
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic