Hello Swapna,

What you need is another servlet running those controllers that will accept 
requests from the outside world. 

You can either add it to your module descriptor [1] which i would recommend.

Or you can add it directly in web.xml, if you do use instead 
info.magnolia.module.blossom.web.InstallationAwareDispatcherServlet which will 
defer initialization of it until magnolia has completed update/install, and 
also make sure that you configure the magnolia filter chain to leave requests 
for that servlet alone by adding mappings in 
/server/webContainerResources/mappings.

[1] 
http://documentation.magnolia-cms.com/reference/module-mechanism.html#Servlets

// Tobias

On Sep 28, 2011, at 12:52 AM, Magnolia Forums (on behalf of Swapna Yeleswarapu) 
wrote:

> 
> I wanted to know if a simple spring controller without the @paragraph 
> annotation is supported by magnolia/blossom. I needed to because it is easy 
> to make a ajax call and would be easier if I can use the controller directly.
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=79b4d615-4cac-48d1-be0d-b8c620fa8ea4
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to