Sitemap

Amicuk Programming Answers

Starting webstart with parameters?

-0001-11-30   Views:0

Advertisement

Hi all, Just wondering if you can start up webstart with a number of parameters, eg. www.somesite.com/webapp.jnlp&param1=a&param2=b Can this be done? How does webstart treat the extra parameters? Does it pass it on to the main method as arguments?

Hi all,
Just wondering if you can start up webstart with a number of parameters, eg.
www.somesite.com/webapp.jnlp&param1=a&param2=b
Can this be done? How does webstart treat the extra parameters? Does it pass it on to the main method as arguments?
thanks,
J

The replay answer
Advertisement
Instead, you can use a scripting language like PHP.
You write something like this:
<?php
header('Content-type: application/x-java-jnlp-file');
echo '
JNLP source goes here
?>
Within the echo command you are free to output anything you want, even parameters to the script itself.

Go to See the other 4 answers

Problem with WebStart & applicaton parameters or properties..

Category:DefaultRelease time:2015-10-11Views:130

Ok. I have a WebStart application which is supposed to be launched from a website only (not offline-allowed - even though you seem to be able to launch it offline! grr) and the application needs to take TWO parameters from the website. I am currently[More]

Starting webstart with parameters?

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, Just wondering if you can start up webstart with a number of parameters, eg. www.somesite.com/webapp.jnlp&param1=a&param2=b Can this be done? How does webstart treat the extra parameters? Does it pass it on to the main method as arguments?[More]

Java Webstart Installation Parameters

Category:DefaultRelease time:-0001-11-30Views:130

Can I specify a parameter for the JWS setup so that the preference option to create shortcuts ALWAYS is active from the beginning ? Thomas G�lden [email protected]Did you figure this one out Thomas? I'd like to know too.Read other 2 answers[More]

Read arguments passed to the application on start

Category:DefaultRelease time:-0001-11-30Views:130

I want to pass my WebStart application parameters on the link starting it. Like, start?value=startValue. Any idea how to do that? StephanNot sure if there's an easier way, but you can try creating a servlet to dynamically create the JNLP. The servlet[More]

Dynamic parameters for Webstart

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to create a Webstart-Application that dynamically takes parameters. Looking for a solution I found that the only way seems to be to generate jnlp-files (e.g. using servlets). However, here at the Oracle-pages I found this document [http://[More]

WebStart and application parameters

Category:DefaultRelease time:-0001-11-30Views:130

Ok, please forgive me if I'm being stupid. I saw the question on the JWS Unoffical FAQ but the answer is worded pretty oddly and I'm left a bit confused. ("You can add parameters as follows ... However, WebStart will then bomb badly, " etc) -- I[More]

How to pass parameter in webstart/browser mode

Category:DefaultRelease time:2015-10-11Views:130

Hello - I'm trying to understand how to pass a parameter to my FX2 application with in browser mode or webstart mode. So I imported ColorfulCircles project from the Ensemble into Netbeans. Then I modified the code and put in a small snippet to pull a[More]

Can I pass serialized object as argument through WebStart?

Category:DefaultRelease time:-0001-11-30Views:130

I know I can pass argument through WebStart using <argument> element in the application-desc of the jnlp file. Does WebStart support placing a Java serialized string inside the <argument> element? The reason is I want my application to behave[More]

Webstart proxy handling

Category:DefaultRelease time:-0001-11-30Views:130

Hi, we took webstart one step further by implementing a webstart cache server. To understand this, one has to know that we plan to distribute java programs to about 36000 clients. To avoid that 36000 downloads hit the server we will install a special[More]

Can I access URL parameters?

Category:DefaultRelease time:-0001-11-30Views:130

Is it possible to access URL parameters from a WebStart application? Example: http://www.domain.com/example.jnlp?parameter1=43 I would like to initialize my JWS app using the information given to me in parameter1. Is this possible? I believe that thi[More]

JNLP, JSP, Parameters

Category:DefaultRelease time:-0001-11-30Views:130

Hi I need to start an application with a parameter like username, I know I can pass in the argument by coding it into the JNLP, however, the parameters are not fixed. I tried to incorporate the jnlp statement into the jsp page and input the argument[More]

Hot
Hi In my servlet application, when I receive request, I have to load PDF form and at same time I have to pop up new browser window with html content ( help data). I thought of writing <script>window.open(....)</script> to outputstream before w [More]
This is totally reasonable. That being said, understanding this is neither a "suggestion" nor an "idea", I was wondering how great it would be if the new Apple TV would have built in Radio Frequency control capability for all HT produc [More]
I am trying to help a friend install OS X 10.8. She purchased it about 3 months ago but wasn't too sure about installing it. Today, I looked up the order number, and it is confirmed that it has been electronically delivered via e-mail. I couldn't fin [More]
Hi all. I've got a form with read-only fields displaying database data in a repeat region. If I click the Edit button at the end of each line, the 3 fields post to update.php where I can edit the data. The Save button on this page updates the databas [More]
Hi, I have created one view(say v1), and in that view one column(col1) is NUMBER , and 2nd (col2) one is VARCHAR2. Now when i fired query like select * from v1 where nvl(to_char(col1),col2) ='1234'; I also try select * from v1 where to_char(col1) ='1 [More]
HI Folks, WIndows : 2008 R2 SQL : 2012 sp1 EE Setup disappears when installing setup support files On passiive node ( 2  node cluster),  sql is runing on active node without any issue Error : SQM does not active session ( In summary detail txt file) [More]
I reset the factory settings and now I cannot get onto the wifiHello Lionsroar1988, Thank you for the details of the issue you are experiencing with Wi-Fi after restoring your iPad.  I recommend the following article: iOS: Troubleshooting Wi-Fi netwo [More]
I've downloaded the update, but cannot seem to get it attached to the program, they're not getting embedded somehow.  Any ideas?RichTea1 wrote: I've downloaded the update, but cannot seem to get it attached to the program, they're not getting embedde [More]
installed  a wrt160n,  Have 2 W7 laptops connected wirelessly, & 1 XP desktop connected wired.  Cannot get third XP laptop to see the computers on the betwork or make a connection. XP laptop has full internet copnnection.  tried everything.Sorry for [More]
this error named bad image turns up every time due to corrupt dll fileDo a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop. Uninstall your current Firefox version and rem [More]