• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting the http message on submit of a jsp

 
Samy Ganou
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using a frame like struts , i want to get all the html message when I submit a form, my requirement is to get the html of the jsp page and send it by mail. I want to do it on my Action but how ?
Thank you in advance
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4320
236
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For your requirement, it's better to use some other templating technologies like Velocity rather than using JSPs.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to submit the entire HTML page as part of a form submission within it? That's not going to happen.

Maybe you can expand on what your goal is and we maybe able to suggest something that could work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic