Re: [google-appengine] Convert jsp to PDF

2012-03-31 Thread Deepak Singh
Hi Karim,

Can you pls explain about point no (3) ?

Thanks
Deepak

On Sat, Mar 31, 2012 at 4:21 AM, karim duran karim.du...@gmail.com wrote:

 Hi Deepak,
 *
 *
 Your JSP is rendered as HTML. And you want to provide your user to download
 the same presentation of your JSP, in PDF format.

 So, you need to convert HTML presentation format in PDF presentation
 format.
 It's what i understand about your wish.

 You have solutions to do that.

 1) There is libraries to convert HTML to PDF ( but the conversion is not
 always very good)
 2) You can use a specialized framework ( Jasper report, BIRT etc...)
 3) You can clone your JSP presentation in alternative formats (XML XSL and
 FO ). Have a look to
 Apache FOP.

 What you want to do is possible.

 I hope it helps.

 Regards.

 Karim Duran.

 2012/3/30 Deepak Singh deepaksingh...@gmail.com

 Hi,

 I have a jsp page which renders data based on session objects and it uses
 jstl.

 I need to give the user an option to save this JSpP page as PDF. So i can
 give the call to a servlet after users click on the link and generate jsp
 in a new window. But how can i make this downloadable as PDF or printable
 as PDF ?



 Thanks
 Deepak Singh

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Deepak Singh

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Convert jsp to PDF

2012-03-31 Thread Tomas
https://developers.google.com/appengine/docs/java/conversion/

On Sunday, 1 April 2012 07:38:12 UTC+12, Deepak Singh wrote:

 Hi Karim,

 Can you pls explain about point no (3) ?

 Thanks
 Deepak

 On Sat, Mar 31, 2012 at 4:21 AM, karim duran karim.du...@gmail.comwrote:

 Hi Deepak,
 *
 *
 Your JSP is rendered as HTML. And you want to provide your user to 
 download
 the same presentation of your JSP, in PDF format.

 So, you need to convert HTML presentation format in PDF presentation 
 format.
 It's what i understand about your wish.

 You have solutions to do that.

 1) There is libraries to convert HTML to PDF ( but the conversion is not 
 always very good)
 2) You can use a specialized framework ( Jasper report, BIRT etc...)
 3) You can clone your JSP presentation in alternative formats (XML XSL 
 and FO ). Have a look to
 Apache FOP.

 What you want to do is possible.

 I hope it helps.

 Regards.

 Karim Duran.

 2012/3/30 Deepak Singh deepaksingh...@gmail.com

  Hi,

 I have a jsp page which renders data based on session objects and it 
 uses jstl.

 I need to give the user an option to save this JSpP page as PDF. So i 
 can give the call to a servlet after users click on the link and generate 
 jsp in a new window. But how can i make this downloadable as PDF or 
 printable as PDF ?



 Thanks 
 Deepak Singh
  
 -- 
 You received this message because you are subscribed to the Google 
 Groups Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.


  -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 
 Deepak Singh
  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/TIoBN8eRZz4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Convert jsp to PDF

2012-03-30 Thread Deepak Singh
Hi,

I have a jsp page which renders data based on session objects and it uses
jstl.

I need to give the user an option to save this JSpP page as PDF. So i can
give the call to a servlet after users click on the link and generate jsp
in a new window. But how can i make this downloadable as PDF or printable
as PDF ?



Thanks
Deepak Singh

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Convert jsp to PDF

2012-03-30 Thread karim duran
Hi Deepak,
*
*
Your JSP is rendered as HTML. And you want to provide your user to download
the same presentation of your JSP, in PDF format.

So, you need to convert HTML presentation format in PDF presentation format.
It's what i understand about your wish.

You have solutions to do that.

1) There is libraries to convert HTML to PDF ( but the conversion is not
always very good)
2) You can use a specialized framework ( Jasper report, BIRT etc...)
3) You can clone your JSP presentation in alternative formats (XML XSL and
FO ). Have a look to
Apache FOP.

What you want to do is possible.

I hope it helps.

Regards.

Karim Duran.

2012/3/30 Deepak Singh deepaksingh...@gmail.com

 Hi,

 I have a jsp page which renders data based on session objects and it uses
 jstl.

 I need to give the user an option to save this JSpP page as PDF. So i can
 give the call to a servlet after users click on the link and generate jsp
 in a new window. But how can i make this downloadable as PDF or printable
 as PDF ?



 Thanks
 Deepak Singh

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.