|
How to pass complex object type arguments to JNLP Client: msg#00169java.ulc.devel
Hai ,
How can i pass object arguments to JNLP Client ? . I am setting request.setAtrribute("test",new TestBean()) in servlet ,After that i am generating JNLP file content and writing into response object as content-type
application/x-java-jnlp-file.
Its internally calling com.ulcjava.container.servlet.server.ServletContainerAdapter based on web.xml configuration.
I tried to get attribute value for "test" by using ServletContainerContext.getRequest().getAttribute("test")).But its returning the null.
It seems to be ServletContainerAdapter not forwarding existing request attribute values to JNLP Client.
I can able to get primitive type data from JNLP Client by setting <argument>siteno=496</argument> in JNLP file.
How can i able get the Object data from JNLP Client?
The generated JNLP content is as follows <?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="" href="http://localhost:8080/priceui/">http://localhost:8080/priceui/" href="" spec="1.0+"> <information> <title>Tomax Promotion UI</title> <vendor>Tomax Corporation</vendor> <homepage href="" http://localhost:8080/priceui//index.html"/> <description>Tomax Promotion UI</description> <description kind="short">Promotion UI</description> <!--<icon href="" </information> <security> <all-permissions/> </security> <resources> <j2se version=" 1.4+"/> <jar href="" <!--jar href="" <jar href="" <jar href="" jnlp-client.jar"/> <jar href="" <jar href="" <jar href="" "/> </resources> <application-desc main-class="com.tomax.promo.client.PromoUIJnlpLauncher"> <argument>url-string=http://localhost:8080/priceui//promotion.do </argument> <argument>keep-alive-interval=900</argument> <argument>log-level=WARNING</argument> <argument>site_no=9999</argument> </application-desc> </jnlp> Thanks & Regards
Rambabu
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: getCellEditor(int row, int col), Janak Mulani |
|---|---|
| Next by Date: | RE: Double Click in an ULCTextField, Etienne Studer |
| Previous by Thread: | RE: custom border, Janak Mulani |
| Next by Thread: | Gradient Painting, bbroschinsky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |