*
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
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
 
Consider Paul's rocket mass heater.
 
subject: Code to print mail contents using java
 
Similar Threads
How to Print Document without opening document?
Printing the contents of a JSP....
PrinterJob
Printing in Hex
How do i print in java