[Building Sakai] SSL and Spring MVC tools in sakai (OSP matrix)

Tania Tritean TTritean at loi.nl
Mon Oct 10 01:36:17 PDT 2011


Hello

We found the problem and the solution:

This link helped http://stackoverflow.com/questions/3401113/spring-mvc-redirect-prefix-always-redirects-to-http-how-do-i-make-it-stay-o


So adding the following configuration solved the problem

<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
  <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
  <property name="prefix" value="/" />
  <property name="suffix" value=".jsp" />
  <property name="redirectHttp10Compatible" value="false" />
</bean>


________________________________
From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Tania Tritean
Sent: Thursday, October 06, 2011 7:11 AM
To: sakai-dev at collab.sakaiproject.org
Subject: [Building Sakai] SSL and Spring MVC tools in sakai (OSP matrix)

Hello,

We are having some problems with tools built with Spring MVC over SSL.
We tried to use OSP MATRIX and one custom tool (build with spring MVC) over SSL, but when we navigate in the tool, some buttons are crashing.

As far as we noticed, somehow the URL of the tool ends up containing the app war name instead of the tool id, and from that point the filter of sakai will be confused.

Did somebody face this problem before or does anybody know a solution for this?


Regards,

Tania Tritean

Tania Tritean
Tel.: 035 629 39 23

Leidse Onderwijsinstellingen bv
Leidsedreef 2
2352 BA Leiderdorp
www.loi.nl

________________________________

[Nederland wordt steeds slimmer. Leidse Onderwijsinstellingen]

De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een wettelijke geheimhoudingsplicht. Indien u deze e-mail ten onrechte ontvangen hebt, wordt u verzocht ons daarvan zo spoedig mogelijk per e-mail of telefonisch op de hoogte te stellen, en het ontvangen bericht (en de bijlagen) te wissen zonder deze te lezen, te kopiëren of aan derden bekend te stellen.

P  Denk aan het milieu voordat u dit bericht print

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111010/08e229f2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4378 bytes
Desc: image001.gif
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111010/08e229f2/attachment.gif 


More information about the sakai-dev mailing list