I believe you're right, it's not the semicolon that's causing the problem,
it's the space.  If you have a space in an attribute value, it MUST be
enclosed in quotes.
    (*Chris*)

----- Original Message -----
From: Mike Hulse <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 28, 1999 2:47 AM
Subject: Re: Help with Mailto


> Have you tried
> >os.println("<AREA SHAPE=RECT COORDS=143,286,238,316
> >HREF=\"mailto:[EMAIL PROTECTED]; [EMAIL PROTECTED]\">");
>
> Not sure if that will help, but I think I've seen something like that.
>
> Mike
>
>
> From: Sam Rose
>
> >Can anyone help me out, I'm using this code, but it doesn't work.
> >Basically I want to be able to use the mailto command to address the
> >email to two people. Works fine in HTML but not in the servlet.
> >
> >os.println("<AREA SHAPE=RECT COORDS=143,286,238,316
> >HREF=mailto:[EMAIL PROTECTED]; [EMAIL PROTECTED]>");
> >
> >I have tried variations, as the ; is a special character,
> >
> >os.println("<AREA SHAPE=RECT COORDS=143,286,238,316
> >HREF=mailto:[EMAIL PROTECTED](\";") [EMAIL PROTECTED]>");
> >
> >But I just can't seem to find the right code,
> >
> >Any ideas anyone???
> >
> >
> >Also can you set the subject field in HTML as well??
> >
> >Thanks in advance.
> >
> >Sam Rose
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to