This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servleta and anchor tags?

 
Meadowlark Bradsher
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bill,
My code was just a little unclean. And you pointed it out for me.

-Meadowlark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic