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

java mail:send data from text box and attachment file from jsp page to mail.

 
sangram panda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



I was run this code .
It was running successfully..
the attached file was sent to the mail.
but my texbox field ar sent to mail but it will display null value.

please help me regarding this.





[/code]
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I think this thread would sit better on another forum, so I shall move it.
 
Paul Clapham
Sheriff
Posts: 21129
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a tip for debugging: if you have code which does two things, debug them separately. Otherwise you won't know whether the problem is in Part 1 or in Part 2. Which I assume you don't.

Also you're complaining about a "text box". I don't see anything about a text box in that code. A description of that would be helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic