Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Code to print mail contents using java

 
sumitha anand
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic