tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric J Kaplan" <>
Subject RE: frustrated trying to pass parameters into jsp to create jnlp
Date Wed, 12 Sep 2007 21:05:37 GMT

That did the trick, thank you very much. I owe you a beer (or your drink of
choice) :)



-----Original Message-----
From: Nicholas Sushkin [] 
Sent: Wednesday, September 12, 2007 4:42 PM
To: Eric J Kaplan
Subject: Re: frustrated trying to pass parameters into jsp to create jnlp

On Wednesday 12 September 2007 16:03, Eric J Kaplan wrote: 

> Hi
> 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.

The following style worked for me for quite a while.

 xmlns:c="" version="1.2">
        String requestPath = request.getRequestURL().toString();
        requestPath = 
           (requestPath == null) 
           ? "" 
           : requestPath.substring(0, requestPath.lastIndexOf('/'));
        response.setHeader("Cache-Control", "public");
  <jsp:element name="jnlp">
    <jsp:attribute name="spec">1.0+</jsp:attribute>
    <jsp:attribute name="codebase">
      <argument><c:out value="${param.arg1}"/></argument>

Nicholas Sushkin, Senior Software Engineer

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message