Yes i have like this but when i create file
[code]
File file = new File(getSession().getServletContext().getRealPath("/WEB-INF/user.xml"));
[/code]
file is create in
[code]
/home/java/jboss-5.1.0.GA/server/default/tmp/3j011-2g323u-gzskzxr2-1-gzsl0v6g-9o/ProjectName/WEB-INF/user.xml
[/code]
after few seconds JBoss remove this file (user.xml). I try with java.security.manager and server.policy but it does not work.
Best regards
Lukas