Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts redirect in webphere 4.05  RSS feed

giang nguyen
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • 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/" redirect="true"
forward name="companyAddNewError" path="/Admin/companyAddNew.jsp"
The forward element:
forward name="companyList" path="/Admin/" 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/" 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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!