| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Maxim Mossienko |
| Subsystem | J2EE.JSP |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
|
|
IDEA doesn't seem to like the content-type "application/x-java-jnlp-file". All tags are highlighted in red although there's nothing that would instruct IDEA to do any error checking on the created content.
<?xml version="1.0" encoding="iso-8859-1"?> <%@ page import="java.net.URL" %> <%@ page contentType="application/x-java-jnlp-file" %> <% final String codebase = new URL(new URL(request.getRequestURL().toString()), ".").toExternalForm(); %> <jnlp codebase="<%= codebase %>"> <information> <title>something</title> </information> <security> <all-permissions /> </security> <resources> <j2se version="1.4" /> </resources> </jnlp><!DOCTYPE jnlp
PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Discriptor 1.1//EN"
"http://java.sun.com/products/j2se/dtds/jnlp_1_0.dtd">