cancel
Showing results for 
Search instead for 
Did you mean: 

virtualisation + simple spring mvc website

fbousson
Champ in-the-making
Champ in-the-making
I would like to supply my website which uses spring mvc with content supplied by Alfresco WCM.

Before loading my full website into Alfresco, I wanted to see if the virtual tomcat could handle spring mvc, so I made a small web site.
Just 1 jsp and 1 controller. All the controller did was supply the jsp with a string defined in the controller. Basically an extended "hello world"
If I deployed it locally, everything worked. But when I decided to load the war file into Alfresco WCM and hit the "preview website" button, all I got was a ${myString}
I double checked if all the dependencies were in order, and they were. But clearly there was no interaction between the controller and the jsp.

Anyone know what could be causing the problem?
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
Spring is supported by the Virtualization Server as of our 2.1.1E maintenance (please note:  make certain to remove any singletons (the virt server has to uniquely load each one per sandbox - a memory issue that we cannot by nature avoid - and also remove log4j - we don't work nicely with that).  That fix (along with support for Struts) is also available in 2.2.0E or in our next upcoming 2.9 Community release this June (if you're intrepid, it's also available in our current source on our public SVN).

Kevin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.