Skip to main content

Can't get JnlpDownloadServlet working

1 reply [Last post]
cowwoc
Offline
Joined: 2003-08-24

Hi,

I tried applying example 1 mentioned here: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloa...

but $$codebase is not being replaced by the servlet. In fact, I don't even know if the servlet is ever running or whether the web server (Tomcat 6.0.18) is just passing the jnlp file directly.

How do I go about debugging this?

Gili

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cowwoc
Offline
Joined: 2003-08-24

Caused by the fact that I was deploying the webapp into /webapps/ROOT/MyWebApp instead of /webapps/MyWebApp

In other words, it wasn't a top-level webapp so Tomcat was ignoring web.xml and other important files.