[Building Sakai] Spring Controller .. like in Edia Sakai Maps Tool, but using Annotations

Maarten van Hoof maarten.vanhoof at gmail.com
Tue Jul 19 02:14:49 PDT 2011


Hi David,

The class nl.edia.masla.sakai.toolWebappToolServlet is part of our utils
package:
https://source.sakaiproject.org/contrib/edia/utils/trunk/utils/src/java/nl/edia/masla/sakai/tool/WebappToolServlet.java.
We've used Spring MVC quite a lot in our Sakai tools.

Maarten

2011/7/8 David Wafula <davidwaf at gmail.com>

> Hi all,
> Am building an mvc spring-based tool, and going is abit slow on the Sakai
> side. Am not new to spring ..but still getting my feet right in Sakai. So am
> looking at how others did it: Edia Maps tool seem to use lots of that. In
> particular, i need to understand how to configure spring Controllers to work
> in Sakai  (am using annotated @Controller and all that comes with it). I
> would have wished to see how  nl.edia.masla.sakai.tool.WebappToolServlet was
> implemented, but i can't seem to see the source is. The issue am having is
> mapping sakai requests onto Spring based-controller. My tool works fine if i
> run it outside sakai. When in Sakai, while am able to intercept the requests
> to the tool (via my own build servlet Controller),  i need to hand them over
> to spring's Controller, where i can use loots of spring's API.  So this is
> slowing me down. Any help  will be appreciated. Attached are the xml configs
> am using .
>
> --
> David Wafula
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>



-- 
Geniet, maar drink met Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110719/30e897ea/attachment.html 


More information about the sakai-dev mailing list