Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mail and Servlet

 
Alen Mester
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day!!

After finally found the answer of my last topic "Pizzas and Servlets" I move on and more time I have problems

the problem: I dont know how to complete(build) this Java Mail Servlet to send this paramaters to an email.


What I have :

I have a JQuery Dialog (the JSP page)with 7 parameters (name,description,price,from,subject,msg,to)

I created the bean of this parameters.

this is the java class of the Mail





This the incomplete servlet



Next.. what I have to do??


Edit : the message like this to send all parameters?


thanks
 
Paul Clapham
Sheriff
Posts: 21126
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write some code which sends the message.
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove the commented line in the Servlet's doPost method:


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic