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
I had my ipod connected to my windows for a couple of months, then i started downloading from my mac computer so in order to get the songs from my mac onto my ipod i connected it to the mac .... i recieved the message" would you like to authorize thi [More]
my itunes cannot be update on my windows xp. so i delete my itunes and install new, but now i got new problems, it says "The file itune.library.itl cannot be read because it was created by newer version of itunes." so how can it be solved?Hello [More]
Is there anything i can do to make these work together?Hi , As Acrobat 6 is a pretty older version and it will surely not work with windows 7 . There is no possible way to make them run together .Either you need upgrade your Acrobat version that is c [More]
I've read the document that James King of Adobe published and made the configurations to make Acrobat PADES compliant. However when I sign a document and inspect the generated CMS package inside the PDF, the signing-certificate value in Signed-Attrib [More]
I have a problem with my usb.  I can't make any usb connection due to this. after running a usb test, it shows me this massage: Failure IDgekk0-6s27j8-mfpwxf-8d3003Hi, Perform a hard reset and do test again to see if fails again: http://support.hp.co [More]
I've installed Win 10 TP on an external drive which is essentially a 2.5" SATA drive converted to USB 3.0. I used a tool to install it as a "To-Go" Windows. While it works fine in general use, it unfortunately complains when I try to update [More]
I'm running the latest version of Yosemite on a recent MacBook Pro, with iPhoto 9.6. I recently noted when trying to import photos from an SD card that iPhoto didn't recognize the SD card automatically, and ask whether I wanted to import my photos. I [More]
I'm trying to find a tool that allows one to print directly to the printer PDF documents without having to go thru a pdf reader GUI. I've investigated xpdf + gpdf, kpdf to no avail. The reason for this request is i'm generating many pdf documents fro [More]
Dear Friends, I had a printing problem of 57F4 Chalan ( Subcontracting Challan). After creating 57F4 Challan, when I go to J1IF11 to take a print out, I clicks on Print immediately, system shows pop up for asking printer to print challan. After givin [More]
One URL I visit pops up a warning that I don't have a "MIME type 'application/x-mplayer2' plug-in installed, so I can't use certain portions of the site. Where can I find such a plug-in? Is it a popular plug-in that is used by other sites?I've never [More]