wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes passing parameter from html page to an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "passing parameter from html page to an application" Watch "passing parameter from html page to an application" New topic
Author

passing parameter from html page to an application

praveen benna
Greenhorn

Joined: Jul 30, 2004
Posts: 1
Hello!
The Problem is..
I need to invoke the application thru java webstart(via JNLP file).Now i have an html page which contains a link to trigger the JNLP file and hence the application.Before launching the application i need to vaildate the user.How can i pass these parameters(user name and password) to application so that i can validate before launching the application
parthiban subramaniam
Ranch Hand

Joined: May 15, 2002
Posts: 116
I think your approach is some what not right,
Authenticate the user using jsp or sevlets before he launches your jnlp file,
or authenticate using swing after your gui starts,

placing the user name and password in your html file and passing them as params to your jnlp file is something strange and not well thought out

and more over you cannot pass params to you jnlp file from html, they have to be placed inside your jnlp file

hope that helps

cheers,
parthi


Even crazy and silly looking problems are sometimes real.
saravanan sambandam
Ranch Hand

Joined: Aug 30, 2010
Posts: 42
Hi,

I gone through some site they said we can able to pass parameter dynamically to your webstart application.
In this case you need to write your .jnlp code in jsp. so that the jsp itself you can set/bind the param.

I am also trying to get result. But i am not getting.

My requirement is - to get client pc information such as ip, ISP location info, broad band speed of client PC.

when my application launched at client end it will collect all the information and send back to servlet.

I don't know how to send back to servlet.

Please let me.


Thanks
saravanan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing parameter from html page to an application
 
Similar Threads
How can I include a JavaFX 2.0 application into a HTML page?
Deploying my Japplet in Netbeans
Signing JNLP - Where does JNLP-INF directory go?
correct jre for application
How to write a JNLP Dermo?