Re: Re : Re: [openmeetings-user] Print Service : invoke servlet

2011-06-15 Thread seba.wag...@gmail.com
Guillaume,

you simply request that URL, that is how simple it is.
And of course the client does request the URL.
PrintService does of course not request a Servlet itself, what would
be the sense of a server side method that calls another server-side
API (Servlet) ?!?!?!

Sebastian

2011/6/15 Guillaume :
> 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
>
> --
> 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/-/DDF4WVTndgcJ.
> To post to this group, send email to openmeetings-user@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-user+unsubscr...@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.wag...@gmail.com

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



Re : Re: [openmeetings-user] Print Service : invoke servlet

2011-06-15 Thread Guillaume
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

-- 
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/-/DDF4WVTndgcJ.
To post to this group, send email to openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.



Re: [openmeetings-user] Print Service : invoke servlet

2011-06-15 Thread seba.wag...@gmail.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 :
> 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
>
> --
> 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 openmeetings-user@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-user+unsubscr...@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.wag...@gmail.com

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



[openmeetings-user] Print Service : invoke servlet

2011-06-15 Thread Guillaume
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

-- 
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 openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.