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
OK. I'm incredibly frustrated right now, and am facing the damndest computer problem I have ever seen in my entire life. Some people thrive when confronted by incredibly difficult problems, I just get really pissed off because my computer ought to be [More]
Have pity upon a Vim acolyte!  I have looked through the Arch Wiki documentation and I have completed vim's excellent "vimtutor" program.  Both have been immensely helpful but I still have these issues and I'm not sure where to look for the solu [More]
When safari opens a new tab and you tap on the search box, we are used to seeing recent search information. Since Ios6 this feature seems faulty. The search box will only show recent searches after tapping onto the blank page, which means three taps [More]
Hi. I am developing a PP report for which i require the available material (un restricted stock) details and their batch details which are being displayed in MMBE (tcode). Is there any function module or BAPI or else what is the table name for findin [More]
Friends - Does any one implemented this. Submit Conurrent Requests once the requests is completed send the output file(PDF Format) as an attachement to email. Please provide us steps. Regards VSHHi, See this thread. concurrent ouput to email concurre [More]
Hi Experts, I'm from SAP-XI background. In my project I need to create a scenario from SRM ---> PI/XI ---> MDM. Here we are using SRM 7.0 and PI 7.0 servers. I'm having the below queries regarding this scenario. 1) Do I need to download the "XI [More]
Hello, Will the next version of BDB XML use XQilla 2.2.0 ? If so, does this mean that we'll have XSLT support in the database ? Thanks, FabriceHi Fabrice, The next version of DB XML will use XQilla 2.2.0 or a later version. However XSLT 2.0 support i [More]
Hi, We have a requirement in our project where in we have to execute an SAP Standard ABAP report. We need to execute it from a Portal by click of a button. What we are thinking is that if we have a custom BAPI which triggers the execution of ABAP rep [More]
I have a function in C++ which accepts a "jstring". And if i write the below line of code it gives me error. jsprData -> is the jstring INPUT char sprData = (env)->GetStringUTFChars(env, jsprData, 0); But the same thing if i write in a &qu [More]
I missed the opportunity on first opening Aperture to set the iPhoto library as the one that Aperture uses as the default, and now cannot find out how to do that after that point (it was getting late by the time I had found, installed and updated a c [More]