• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

passing parameter from html page to an application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic