Hi Janak!

Thanks for the reply.

We generate the JNLP file dynamically
and I tried b), but I did not succeed...

<argument>url-string=http://localhost:8080/ivy/ric/designer/Cool;jsessionid=1234</argument>

I'll try once again.

Best regards,
Peter




<?xml version="1.0" encoding="ISO-8859-1"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/ivy/pro/designer/Cool"; 
href="http://localhost:8080/ivy/pro/designer/Cool/bla.jnlp";>
  <information>
    <title></title>
    <vendor></vendor>
  </information>
  <resources>
    <j2se version="1.5+"/>
    <jar href="http://localhost:8080/ivy/ricLib/ivy-jnlp-client.jar"/>
    <jar href="http://localhost:8080/ivy/ricLib/ulc-jnlp-client.jar"/>
    <jar href="http://localhost:8080/ivy/ricLib/ulc-base-client.jar"/>
    <jar href="http://localhost:8080/ivy/ricLib/ulc-base-trusted.jar"/>
    <jar href="http://localhost:8080/ivy/ricLib/ulc-servlet-client.jar"/>
  </resources>
  <resources os="Windows">
    <j2se version="1.5+"/>
    <jar href="http://localhost:8080/ivy/ricLib/plastic.jar"/>
  </resources>
  <application-desc 
main-class="ch.ivyteam.ivy.ria.client.RichApplicationLauncher">
    
<argument>url-string=http://localhost:8080/ivy/ric/designer/Cool;jsessionid=1234</argument>
    <argument>keep-alive-interval=60</argument>
    <argument>log-level=WARNING</argument>
  </application-desc>
</jnlp>


-----Ursprüngliche Nachricht-----
Von: Janak Mulani [mailto:[EMAIL PROTECTED]
Gesendet: Fr 22.09.2006 14:38
An: Peter Koch
Cc: [EMAIL PROTECTED] Com
Betreff: RE: [ULC-developer] Start an ULC JNLP client in a specific HttpSession
 
Hi Peter,

Option b is easier.

You need to generate the .jnlp file dynamically and in that append the
jsessionid to the URL of the ULC application.

I hope this helps.

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Koch
Sent: Thursday, September 21, 2006 2:21 PM
To: [email protected]
Subject: [ULC-developer] Start an ULC JNLP client in a specific HttpSession


Hi everybody,

I have an existing JSP/Servlet application
in which the user "Mr. X" launches an ULC JNLP client.

The user "Mr. X" has already now an HttpSession because
of the JSP/Servlet application he is using (e.g. done jsessionid=123,
stored with cookies in his browser) and he starts now
an ULC JNLP client (not an ULC applet).

It's important for us that the ULC JNLP client uses
the same HttpSession which already exists and does not
create a new one.


How can we do that?

My ideas were:
a) Somehow configure the DefaultJnlpLauncher (it has a cookie store)
b) call the jnlp with the jessionid param like
href="onlineshop.jnlp;jsessionid=1234"
   (does not seem to work)

Thanks for any help & best regards,
Peter


<<winmail.dat>>

Reply via email to