This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic