• Post Reply Bookmark Topic Watch Topic
  • New Topic

adding a jsp link within a email

 
Liz Brown
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?
 
Atul Prabhu
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>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!