• Post Reply Bookmark Topic Watch Topic
  • New Topic

adding a jsp link within a email  RSS feed

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to add a link to my login page of my application in the email I send by JavaMail, to take the emailed user. How can I embed the username in the link there?
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all set the response.setContentType("text/html") and then
out.println("<a href = "somepage.jsp?username=atul">Login Page</a>
 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!