Print Service : invoke servlet

15 views
Skip to first unread message

Guillaume

unread,
Jun 15, 2011, 6:35:08 AM6/15/11
to openmeet...@googlegroups.com
Hi Sebastian,

Sorry again for yesterday, i'll be less unpleasant.

I'll try to invoke the method in the PrintService first. According your recommandations, I want to extend the class PrintService from HttpServlet and write the method doGet in order to invoke the servlet ExportToImage with an URL.

Am I on the right lane?

Thanks

Guillaume

seba....@gmail.com

unread,
Jun 15, 2011, 7:04:12 AM6/15/11
to openmeet...@googlegroups.com
no ...

okay lets simply summarize the process as again:

1) Client calls add method in PrintServer => returns $hash
2) Client adds the $hash to the URL and requests the servlet as file-download
3) Servlet gets the whiteboard objects identified by $hash
4) Servlet generates SVG from Whiteboard Object List
5) Servlet generates desired Outputformat from SVG and returns it
6) Client receives files and is happy.

...

Sebastian

2011/6/15 Guillaume <guigui...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/_JGXfR0ITUEJ.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>

--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

Guillaume

unread,
Jun 15, 2011, 7:16:02 AM6/15/11
to openmeet...@googlegroups.com
Yes Sebastian you are very clear on your description and  I understand step 1 3,4,5 and 6 no problem.

But the step 2, how do you request the servlet ExportToImage as file-download ?

I have read your last post and you said :

*but as I have written earlier, you need to invoke this method in the PrintService first, to create
the hash for the servlet. Otherwhise the servlet cannot find out where to get the whiteboard objects
that it should render. *

Guillaume
Reply all
Reply to author
Forward
0 new messages