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

Code to print mail contents using java

sumitha anand

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.


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 ]

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....
Printing in Hex
How do i print in java