Anonymous | Login | Signup for a new account | 12-17-2024 10:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001848 | [Resin] | major | always | 07-04-07 02:20 | 07-30-07 14:05 | ||||
Reporter | Yaroslav Sokolov | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.1 | ||||||
Summary | 0001848: in specific cases request.getRequestURL() returns not correct URL | ||||||||
Description |
In case when 'index.jsp' is configured as <welcome-file> and there is request to a directory containing index.jsp, request.getRequestURL() returns URL for index.jsp instead of URL of the requested directory. Examlpe: the server is listening port 80 on localhost, web.xml contains: <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> in web root there is a file 'index.jsp' with the next content: <%= request.getRequestURL() %> request: http://localhost/ [^] the index.jsp generates the next response: http://localhost/index.jsp [^] I hope the right result should be 'http://localhost/'. [^] |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |