is there any declarative way in Java EE to restrict method calls based on both the caller and the target entity?
I\'m writing a project for academic purposes which among other irrelevant stuff, includes writing a filter which monitors servlet/jsp response times.
I have simple jsf app with servlet for dynamic images and filter setting utf8 encoding. From time to time (1/10 requests) I get very strange error:
开发者_JAVA百科There is a class file TagAttributeInfo which is under two of my jar files. j2ee-6.1.jar,servlet-api-2.3.jar .
I have a domain class called Flight that represents a flight that has been flown. I have another class called Movement which can represents either a departure or an arrival and contains a date and tim
Is java servlet 3.0 finalised yet? I\'m trying to implement comet and it would be a good idea to move on to Servlet 3.0. But I\'m not sure if it\'a way to move f开发者_如何转开发orward yet.
I want to use the Hibernate Search full text search capabilities. I have a simple Java EE application. I annotated the entity classes and here is my persistence.xml:
I would like to make pretty URLs for my web projects on Java. For example, I have URLs like these: www.mysite.com/web/controller?command=showNews&newsId=1
Using glassfish 3.1.1 for a Java EE6 project the security role mapping as defined in glassfish-web.xml has no influence on the \'user - role\' mapping.
I Use JSF 1.2 and i want to display a password as six characters for the user, and since i use an md5 encryption, so the password is displayed too long.