Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8279061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:12:49+00:00 2026-06-08T09:12:49+00:00

I have created a Java Web Start application which works fine when launched from

  • 0

I have created a Java Web Start application which works fine when launched from a web application. I made a JSP to build my JNLP file from certain parameters. A parameter “college” would define the location a user is working on (just as a convenience to narrow down in the database). The shortcuts are created just fine, everywhere. But when a user selects a different “college” the shortcut is replaced (if the first shortcut said “Palo Alto” it changes for “St. Philip’s”).

I want to give the user’s the ability to install different “versions” (according to the “college” parameter). I want the user to have a shortcut for each “college”. My question is, what makes an application unique? the jar names, the main file? I’m thinking of parameterizing those inside the jnlp to make it different for each download.

I’ll try my idea and post the results, just in case someone has the same need.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T09:12:51+00:00Added an answer on June 8, 2026 at 9:12 am

    Ok, I tried first to add parameters to every jar tag, but Web Start is smarter than that. Everything before the questin mark is used, the rest is ignored.

    This doesn’t work, it just replaces (good for when you want to replace ;-D ):

    <jnlp codebase="http://example.com/web-app" href="http://example.com/web-app/Launch.jnlp?college=${params.college}" spec="1.0+">
    

    I solved it by changing the href attribute of the jnlp tag for every version, this works creating a new shortcut:

    <jnlp codebase="http://example.com/web-app" href="http://example.com/web-app/Launch${params.college}.jnlp" spec="1.0+">
    

    Have fun/be good.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok so I have created an application, which is a Java Web Start application,
I've created a NetBeans Platform application that is launched using Java Web Start. I
I have a Flex/Java web application that uses Maven as a build tool. Currently,
I have created a Java web service and I am trying to access this
I have created a simple web-service using Java. i want to load jars related
Background: I have created a CRUD web app using a java based RAD tool
I have recently created a web project in Java using eclipse. I have a
I have created a java application on netbeans 7 .Now By using netbeans ihave
I have created a java application for Debian Linux. Now I want that that
I have created a java application and packed it into a jar file on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.