DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20835

html rewrite tag using page attribute bug

           Summary: html rewrite tag using page attribute bug
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This bug only exists in RC2 (it worked fine in RC1). When using the html rewite 
tag with the page attribute, Struts is suppossed to generate the full URL based 
on the current application module. However, it places the context root into the 
URL twice. For example...

source is: <html:rewrite page="/submission/approvepdf/approveOrWait.do" 
paramId="assetUID" paramName="assetState" paramProperty="assetUID"/>'

Struts generates: 
http://localhost:8080/jest/jest/author/submission/approvepdf/approveOrWait.do?
assetUID=3487

Struts should generate: 
http://localhost:8080/jest/author/submission/approvepdf/approveOrWait.do?
assetUID=3487

The context root in the above example is jest.

Wayne Robinson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to