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
Hey Guys. I have my MythTV setup at home with 2 HVR4000 DVB-S/S2 (Hauppauge) Which have runned without any problems earliere on. But after getting a new Masterbackend server and added the HVR cards and ionstalled everything - something about the card [More]
hello, we are facing a problem -we have created a contract with a service item and made a purchase order with the same reference as well. problem starts while creating service entry sheet while adopting the services its not picking the rate from the [More]
Hi all, Is there a way that I can find out the prices of items for instance as at 31st DEC 2007. Which type of a query construct can i use? and which tables? Thanks. Regards, HenryHi Henry, the 'Last Prices Report' might be of use to you. This report [More]
Hi Experts, I am using FM "GWY_CONVID_INFO" to get the information about Conversation ID of a Gateway connection. Then I am calling a dynamic report in background, but the status of Conversation ID becomes inactive leading to the issue. Also, pl [More]
Hi, we have installed a central SLD. Some SAP systems (ABAP and JAVA stacks) send their system data directly to a central SLD. But one java stack (NW 7.0) runs in a separate network and can not communicate directly with the central SLD. But there is [More]
Hi, I am trying to return a ResultSet (generated in servlet) to a jsp page, but get a "java.lang.ClassCastException" error. Here is my description of what i'm doing.... I have a search screen (SearchInventory.jsp) that the user goes to to perfor [More]
and keeps crashing on launch for a few days or a week... then it just launches fine and stays working until i next restart my mac! help!Problem description: after a restart, safari crashes immediately on launch, and continues to do so for a random nu [More]
Hi, we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type. but we need it for multiple condition types . the value of the subtotal is not being retrieved for multiple conditions. at a time [More]
I am wanting to launch Discoverer, run a report and save the results on the file system or in the database, from Forms 9i. Is there a RUN_PRODUCT type thing or is the only way of doing it HOSTing out and issuing Commands on the command line. I don't [More]
Hi, I live in Denmark, my Iphone language is Danish, but somehow, all Itunes Mail correspondance and language on the Iphone is French!!!! I don't understand French..... How do I change the Language?I purchased Photoshop Elements 10 from the App Store [More]