* Srinu Sunkara:

> Hi - I am trying to get the  HTML source code of a web page with
> in the program  (so that I can send this  in an email). Can some
> one tell me how can I get the HTML source.

Sure.  Processing a Wicket page and sending the result to a buffer
can be achieved through  StringRequestTarget, thus allowing you to
use the buffer contents for sending email.

See RequestCycle.setRequestTarget() 

You can find the full answer on this thread:
http://www.nabble.com/Sending-Emails-Via-Wicket--t3639601.html

Hope this helps,
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to