Hi,

I try to increase protection of my users
with such servlet:

  String url = "mailto:"+user.getEmail();
  response.sendRedirect(url);

e.g. on normal site there is no email, just
link to servlet which redirects to email.

Well, it partially works. It really
opens email client. Unfortunatelly
TO field is not filled.

After some debugging I realized, that
tomcat somewhere cuts off email address
from url. String url is OK, but final
URL is not:

HTTP/1.1 302 Moved Temporarily
Content-Type: text/html
Connection: close
Date: Thu, 05 Sep 2002 12:58:38 GMT
Location: mailto:
Server: Apache Tomcat/4.0.4 (HTTP/1.1 Connector)


Any idea, why it doesn't work? Or other
solution for this task?

Thanks!

        Leos

-- 
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!




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

Reply via email to