java: policy file

grant codeBase "https://url.de/applets/*" {
permission java.util.PropertyPermission "javax.comm.properties", "read";
permission java.io.FilePermission "${java.home}libjavax.comm.properties", "read,write,delete";
permission java.io.FilePermission "${java.home}inwin32com.dll", "read";
permission java.io.FilePermission "${java.home}libextx86win32com.dll", "read";
permission java.io.FilePermission "${java.home}inwin32com.dll", "read";
permission java.util.PropertyPermission "java.home", "read";
permission java.lang.RuntimePermission "loadLibrary.win32com";
permission java.util.PropertyPermission "user.home", "read";
permission java.io.FilePermission "${user.home}NetFral-", "read,write,delete";
permission java.io.FilePermission "${user.home}NetFral", "read,write,delete";
permission java.io.FilePermission "${user.home}Logon-", "read,write,delete";
permission java.io.FilePermission "${user.home}Logon", "read,write,delete";
permission java.net.SocketPermission "localhost:1024-", "accept,connect,listen,resolve";
};

comment 11.03.2008 edit

html: jsp Variablen übernehmen

Über die Funktion c:set und jsp:useBean wird die Variable snip.name in eine Bean überführt und steht im java Teil zur Verfügung.
<c:set var="name" value="${snip.name}"/>
<jsp:useBean id="name" type="java.lang.String" />

comment 09.07.2007 edit

html: jstl if/else statement

<%-- A simple if/else condition --%>
<c:choose>
<c:when test='${param.p == "someValue"}'>
Generate this template text if p equals someValue
</c:when>
<c:otherwise>
Otherwise generate this template text
</c:otherwise>
</c:choose>

comment 09.07.2007 edit

windows: Path to network share

To find out the path to a mounted network share enter
net use
into the command promt

comment 21.03.2007 edit

windows: Eclipse debug - Source Not Found

First try and shut down Tomcat, then go to your debug perspective, click on the "Breakpoints" tab, right click and say "Remove all", now close all your editors AND your projeccts and exit Eclipse.

Now start Eclipse and add -clean to your command line arguments.

If it doesn't, the only known workaround for this is to create a new workspace.

comment 27.02.2007 edit