Hi Maxime,
I've already added a link in the client to call/initiate the recording.
This works pretty well till the servlet is called (traced in Debug mode).
May you be more precise where and what to add in the
ScreenController.java? Actually, I don't understand why to add a
different mapping annotation in ScreenController.java. I've created a
copy of ScreenController.java (RecorderController.java) and modified the
code so that there is a different mapping annotation ("screen.record")
already. However, when I call this one, it can't be accessed (see prior
posting). Where in the system the original mapping annotation
("screen.upload") in ScreenController.java is enabled? Or is it found
and enabled by the system automatically. Then, I don't understand why my
1:1 copy (I adapted the class name etc., of course) with the slightly
different mapping is not found.
Thanks, Maxime! Appreciate your prompt support, as always.
Cheers,
Rene'
~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT * - Consulting and Services
~: Neue Reihe 15, 18182 Goorstorf, Germany
#: ++49-(0)-1781408041
@:[email protected] <mailto:[email protected]>
//:www.meecoda.de <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~
On 2/11/2014 11:04 AM, Maxim Solodovnik wrote:
You need to add additional method with Mapping annotation
to ScreenController.java
And a link somewhere in the client
On Mon, Feb 10, 2014 at 11:20 PM, Rene' Rosenbaum <[email protected]> wrote:
Hi all,
OM2.? provides a user dialog to initiate recording and screensharing. My
goal is to separate these two functionalities in two different user
dialogs. To achieve this, I've pretty much "copy'n paste"d the code from
the original dialog. Works pretty well, except that my own servelet
controller/service is not made available (404 ... _The requested resource
is not available._). This controller "RecordController" is basically a copy
of ScreenController (/trunk/src/org/apache/openmeetings/servlet/outputhandler)
with the difference that the request value is "@RequestMapping(value =
"/screen.record")" (instead of "*/screen.upload"). I guess I have to
register the new ressource/servlet somewhere, but was not able to figure
out where. Searching for "screen.upload" did not lead to the expected
location for the configuration. Pretty much lost right now. Has someone
else already worked on servlets and may help me here?
Many thanks in advance,
Rene'
--
~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT * - Consulting and Services
~: Neue Reihe 15, 18182 Goorstorf, Germany
#: ++49-(0)-1781408041
@:[email protected] <mailto:[email protected]>
//:www.meecoda.de <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~