Java

Share

During my experience with Liferay Portal I had this problem several times. When uploading a portlet (new or a new version of an existing one) Liferay says the following: Copying 1 file.. Copying 1 file.. ……. ………war copied successfully. Deployment will start in a few seconds. and then nothing happens.

Continue Reading  

Share

Task: Show in a jsp file some properties you have declared in a .properties file in the project Solution1: Use the Jquery Plugin for internationalization. Think of this as using the ResourseBundle of Java. Loading and parsing the information from the .properties files and showing them in the jsp page.

Continue Reading  

Share

When developing applications with JSF, there is the need to display error messages back to the user, if a user submitted form contains errors, or if the processing of the data went wrong. For this request, JSF meets the <h:message/> tag.

Continue Reading  

Share

Wanting to implement a .jnlp jar for an application i run into this error that popped out in an error dialog “Uncaught System Error:org/apache/jaxme/JMElement” and after this, that project was blocked.

Continue Reading  

Share

1. Rollback all data on import from a table if a row is corrupted.You have a list of sql queries as a parameter:

Continue Reading  

Share

Once we received the information from the web services, the next step was to parse that stream in order to get the necessary data. I needed a quick and easy way of doing this. After a little search on the existing solutions, I have chosen to use Xstream library. It’s simple to work with and […]

Continue Reading  

Share

If you wish to create an XML file and then parse it to use the containing information for some other logic you should keep in mind a small, but annoying “feature”. Error : -> org.xml.sax.SAXParseException: Content is not allowed in prolog.

Continue Reading  

Share

James Gosling, the creator of the original design of Java has resigned from Oracle a week ago.  The news is anounced only now on his blog and confirmed by other sites (where you can find more details):

Continue Reading  

Share

JProfiler is a modern and very useful Java tool for analyzing data. It’s dedicated to analyze J2EE, J2SE projects, and can integrate a number of IDE. An equivalent profiler for NetBeans is Jfluid Technology. JProfiler’s interface is user friendly and very fast in achieving the goal that came from the need to use an analyzing […]

Continue Reading  

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close