File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply 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.
 
 
subject: passing parameter from html page to an application
 
Threads others viewed
correct jre for application
How to write a JNLP Dermo?
Signing JNLP - Where does JNLP-INF directory go?
Deploying my Japplet in Netbeans
How can I include a JavaFX 2.0 application into a HTML page?
IntelliJ Java IDE