aspose file tools*
The moose likes Struts and the fly likes Code to print mail contents using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Code to print mail contents using java" Watch "Code to print mail contents using java" New topic
Author

Code to print mail contents using java

sumitha anand
Greenhorn

Joined: May 23, 2005
Posts: 1
Web Page is developed in structs which displays the user login details.
I don't know how to print the contents using java. help me to do this.
thank u.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If by "print" you mean actually writing to a printer, here's a good link on how to write to a printer using java.

http://techrepublic.com.com/5100-22_11-5032710.html

If you just want to see the data input and print it to a log file or to sysout, I'd suggest you look at the example web application that you get when you download Struts. By examining the code you can sees you how the whole process works.
[ May 24, 2005: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
wood burning stoves
 
subject: Code to print mail contents using java