• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Code to print mail contents using java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic