• 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

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