This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 49733
69
  • 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: 21305
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