<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Default Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:374351375;
        mso-list-type:hybrid;
        mso-list-template-ids:2001384616 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I am diving in Tomcat docs now but I have some idea. In the
web.xml we shows to tomcat what spring beans should be loaded so maybe we can
put a kind of tunnel as a bean to create. Than it could be shared among
servlets. Also cms and spring are in the same context (I guess) so it must be
some easy way to join them together.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Jacek<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <b>On Behalf Of </b>olivier.camus@steria.com<br>
<b>Sent:</b> 30 September 2010 08:06<br>
<b>To:</b> The OpenCms mailing list<br>
<b>Subject:</b> [opencms-dev] Réf. : Opencms with Spring<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>Hi,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>We
are currently starting to use SpringMVC && OpenCms on one of our
project.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>We
forsake to transfer data using the HTTPSession, did you already try that ?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>Another
Way is to consider that once Spring did is job you just send the request
(sendRedirect) to opencms (and actually you had attached all your info to the
request).<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>I
am very interresting to be involve in this discussion since there no real info
about that on the Internet.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>I
hope it helps<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>Olivier CAMUS<br>
<br>
Steria <br>
2 rue de la Faisanderie<br>
BP 95 - Lingolsheim<br>
F-67380 Strasbourg<br>
<br>
Tel : +33 3 90 20 77 52<br>
Mobile: +33 6 32 97 22 32<br>
<a href="mailto:olivier.camus@steria.fr" target=blank>olivier.camus@steria.fr</a><br>
<a href="http://www.steria.fr/" target=blank>www.steria.fr</a><br>
<br>
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel que si nécessaire<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'><o:p> </o:p></span></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Default Sans Serif","serif";color:#990099'>-----opencms-dev-bounces@opencms.org
a écrit : -----</span><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'>Pour
: "opencms-dev@opencms.org" <opencms-dev@opencms.org><br>
De : "jacek grzebyta (RRes-Roth)" <jacek.grzebyta@bbsrc.ac.uk><br>
Envoyé par : opencms-dev-bounces@opencms.org<br>
Date : 30/09/2010 00:41<br>
Objet : [opencms-dev] Opencms with Spring<br>
<br>
</span><span style='font-size:10.0pt;font-family:"Courier New"'>Hi guys,<br>
<br>
I have problem with simple passing CmsUser to Springs` controllers. In my
projects database (not cms database) I store information about curators. Since
before any change inside, the curator must login through cms so the best way is
just passing CmsUser from cms level to the spring. I considered:<br>
<br>
1. using spring inside cms not as usually the parallel servlet but it makes
difficulties with generating html code from views. And in that way I'll lose a
lot of functionalities.<br>
2. The most obvious way is doing as usually (parallel servlet) but it makes
difficulties with passing Cms* classes to spring.<br>
3. I found something like servlet-servlet communication but some people says
it's more risky or too difficult to do it.<br>
4. Another way is just simple serialisation. But than it must be a way to
inform spring that there is some "parcel" for it.<br>
<br>
What do you think about? What is your opinion about that? Is any other way to
consider?<br>
Thank you for help,<br>
<br>
Best wishes,<br>
Jacek Grzebyta<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target=blank>http://lists.opencms.org/mailman/listinfo/opencms-dev</a></span><span
style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Default Sans Serif","serif"'><o:p> </o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Default Sans Serif","serif"'>Ce
message est à l'attention exclusive des destinataires désignés. Il peut
contenir des informations confidentielles. Si vous n'êtes pas destinataire du
message, merci d'en avertir immédiatement l'expéditeur et de détruire ce
message. Le contenu de ce message ne pourrait engager la responsabilité de
Steria que s'il a été émis par une personne dûment habilitée agissant dans le
strict cadre de ses fonctions et à des fins non étrangères à ses attributions.
Bien que les meilleurs efforts soient faits pour maintenir cette transmission
exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
responsabilité ne saurait être engagée pour tout dommage résultant d'un virus
transmis. <br>
This message is intended exclusively for the designated addressee. It may
contain confidential material. If you are not the correct addressee, please
notify the sender immediately and destroy the message. The content of this
message will engage the responsibility of Steria only if it has been sent by an
authorized person acting in the strict scope of his functions and for purposes
that are related to his competence. Although reasonable efforts have been made
to keep this transmission free from viruses, the sender will not be liable for
damages caused by a transmitted virus. </span><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

</div>

</body>

</html>