Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Struts redirect in webphere 4.05

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi every body,
I developed a web app using struts 1.0 and deployed it on websphere application server 4.05. As in struts 1.02, I separate my app into 2 logical module for security mapping with roles. This is one of my action path config:
action name="companyForm" path="/Admin/companyAddNew" scope="request" type="com.tgt.cas.dbadmin.action.CompanyAddNewAction" input="Admin\companyAddNew.jsp"
forward name="companyAddNew" path="Admin\companyAddNew.jsp" redirect="true" /forward
forward name="companyList" path="/Admin/companyList.do" redirect="true"
/forward
forward name="companyAddNewError" path="/Admin/companyAddNew.jsp"
/forward
/action
The forward element:
forward name="companyList" path="/Admin/companyList.do" redirect="true">
works fine in my websphere studio's test enviroment, but when I deploy it on a real websphere application server (4.05), the server seemed cannot recognise the path "/Admin/companyList.do" that I forward to. When I change redirect to "false" it works but redirect ="true" is what I need to ensure the functionality of my app. Can any one help me understand this? and btw show me how to config the path that work under redirect situation.
Note: As this is struts 1.02, I just can use One struts-config.xml file
I have to remove the </> and <> so that the code get displayed.
[ September 15, 2003: Message edited by: giang nguyen ]
 
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic