I am using Java Web Start with Tomcat 6 and have been banging my head
against a wall all day. I don't think the issue is necessarily a Web Start
issue but rather an issue with jsp and processing of parameters.
I have a WAR, in which are two files of interest.
index.html is my starting point:
Demo Test of Java Web Start
Run A Damn
run-report.jsp is a JSP page that dynamically creates JNLP as follows:
<%@ page contentType="application/x-java-jnlp-file" %>
Armanta Report Runner
Run a Report
<% System.out.println("DEBUG:" + request.getParameter("arg1")); %>
Essentially, I need ultimately to call my Java Web Start app with blah,
passed in as arg1 from the original index.html. If it looks a little
squirrelly it's because I have been trying to get this to work properly all
day with no luck. At this point, I feel like I have tried every variation
I notice that when I click on "Run A Damn Report!" on my web page
index.html, in Tomcat I get the following:
blah is what I want, passed from index.html. However, zzz is what is
ultimately passed to my Java app! zzz is a parameter I was messing with a
while ago and I'm not sure why it is showing up now as well as why it seems
to be called 7 times!
Can someone please illuminate what my problem might be and suggest a better