Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes java mail:send data from text box and attachment file from jsp page to mail. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java mail:send data from text box and attachment file from jsp page to mail." Watch "java mail:send data from text box and attachment file from jsp page to mail." New topic
Author

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

sangram panda
Greenhorn

Joined: Jan 19, 2011
Posts: 1



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

Joined: Oct 13, 2005
Posts: 37937
    
  22
Welcome to the Ranch

I think this thread would sit better on another forum, so I shall move it.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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.
 
 
subject: java mail:send data from text box and attachment file from jsp page to mail.
 
Similar Threads
How to store a particular data into project file
how to upload pdf files to My sql with java
Sending file as an attachment
how to upload files to My sql with jsp
Client Issue