aspose file tools*
The moose likes Servlets and the fly likes Servleta and anchor tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servleta and anchor tags? " Watch "Servleta and anchor tags? " New topic
Author

Servleta and anchor tags?

Meadowlark Bradsher
Ranch Hand

Joined: Jan 23, 2001
Posts: 109
I have a puzzle to resolve.
If you click here you will see a simple webpage generated by the servlet in response. No big deal. Its essentially a HelloWorld servlet but try clicking on the e-mail tag "mbradsher@silentlabs.com" and you'll get a strange servlet 500 error.
Once the HTML get sent back to the sender, it is the browser that has to implement the <a href"mailto:mbradsher@silentlabs.com"> tag. I find this reaction strange. Has anyone encountered this before?
http://www.mycgiserver.com/servlet/meadowlark.SunsetPlaceReservations
Meadowlark Bradsher


Meadowlark Bradsher
SCJ2P, IBM XML V1, Series 7/63
Meadowlark Bradsher
Ranch Hand

Joined: Jan 23, 2001
Posts: 109
I wish I could edit that thread title. It should be "Servlets and anchor tags?". I saw the typo just after I hit submit.

Oh well
Meadowlark
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
Do a view-source and you will see:
<a HREF=& q u o t ; MAILTO:mbradsher@silentlabs.com & q u o t ; >
(I had to add spaces to make this show up right)
NOT the correct format - what is substituting & q u o t ; for the " mark ?
<a HREF="MAILTO:mbradsher@silentlabs.com" >
Bill

------------------
author of:
Meadowlark Bradsher
Ranch Hand

Joined: Jan 23, 2001
Posts: 109
Thanks Bill,
My code was just a little unclean. And you pointed it out for me.

-Meadowlark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servleta and anchor tags?