Closed as duplicate of another APAR.
Abstract: ... When changing the Context Root of a web 2.3 struts 1.1 project in RAD 220.127.116.11, it refactors path relative jsp hrefs to be more efficient. But the change was not wanted. Problem: A Web 2.3 Struts 1.1 project targeting Tomcat 5.0 in RAD v6.0 was migrated to RAD 18.104.22.168 targeting Tomcat 5.5. When changing the Context Root of a web 2.3 struts 1.1 project in RAD 22.214.171.124, it refactors path relative jsp hrefs to be more efficient. But the change was not wanted. Relative URLs were changed to more efficient and still correct Web References. Style wise, the refactoring should preserve links and leave a relative link relative. Even though, references did appear to clean up relative content to make it more efficient, the change was unexpected and not wanted. The only expected change was the Context Root name. In a large project its difficult to check every jsp for such proposed changes in the wizard. Leave absolute path locations unchanged. Recreate: 1. You have a web 2.3 struts 1.1 project 'devTis' 2. Right click and go to Properties -? Web Project Settings -? Context Root: devTis 3. Change context root to: accTis 4. Hit OK and get the refactor dialog showing all changes that will occur. When you hit OK you get the 'Rename Context Root' wizard when changing the Context Root (CR) property, that shows a selectable checklist of Changes to be performed [No Preview Available] , however with a side by side preview/differences view when you select web.xml or say a given jsp page: [x] Rename context root from 'devTis' to 'accTis' [x] Update links // which shows a subset checklist of .. ..[x] web.xml ..[x] *.JSP pages // many JSP pages ... Observation: (Links are made relative in JSP files) JSP 'page links' are offered to be changed from Document root (== WebContent) absolute path locations to locations relative to the current page Example File Affected: ..\WebContent\edu.someschool.this.Wizards.JSP\SomeReport.jsp , which is referenced in another JSP in this folder BEFORE: ?div id='pf_caption'? ?a href='../edu.someschool.this.Wizards.JSP/SomeReport.jsp'?Printer Friendly?/a??/div? AFTER: ?div id='pf_caption'? ?a href='SomeReport.jsp'?Printer Friendly?/a? ?/div? Local fix: There is no known workaround at this time, short of de-selecting affected jsp pages. This can be problematic for a very large project to check every jsp page.
This APAR is a duplicate of PM79444
Reported component name
RATL APP DEV WI
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following: