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=18147>. 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=18147 Using HttpServletResponse.sendRedirect() with a mailto loses the 'to' information Summary: Using HttpServletResponse.sendRedirect() with a mailto loses the 'to' information Product: Tomcat 4 Version: 4.1.18 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] >From a servlet, in doGet - redirect the response like so: public void doGet(HttpServletRequest req, HttpServletResponse res) { //lot of stuff snipped res.sendRedirect("mailto:[EMAIL PROTECTED]") ; //... } The browser gets "mailto:?subject=test". Notice the 'to' address is missing. Happens without parameters (?subject...) as well, will just get "mailto:" in the browser. This is not a browser issue, happens with multiple browsers: - IE 5.5, 6 on Windows 2000: A blank browser window results with "mailto:" in the address bar, an email message composer pops up with nothing in the "to" field. - Konqueror 3.0.5a Using KDE 3.0.5a on Linux: browser returns the message "Access denied to mailto:?subject=test" Tomcat is running on Linux (RH7.1) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]