Author Archive

Two options for showing properties from a .properties file

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.

Share
Tags:  

Uncaught System Error:org/apache/jaxme/JMElement in JNLP

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.

Share
Tags:   

SQL Transactions in Java

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:

Share
Tags:     

Parse an XML file issue

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.

Share
Tags:   

Analyzing an application with JProfiler Tool

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 […]

Share
Tags:   

Json, Struts and XWiki 2.1.1

Share

If you want to add a feature in XWiki, something that you cannot already find implemented in XWiki code zone, you should go to the core of this platform. Implementing something new, means interacting , adding new elements to XWiki sources. It means configuring the wiki to recognize your new features and then creating a […]

Share
Tags:       

XWiki comparison between versions 1.8 and 2.1.1, with macro snippet sample in xwiki 2.0 syntax

Share

This is just a study between 2 version of xwiki, to see on single page what were the changes.  All the information regarding the xwiki releases were taken from their official website. Xwiki1.8 features: choose new page syntax from a visual element in the interface when editing a page. Before this version the xwiki 2.0 […]

Share
Tags:     

XEclipse, XWiki issues with sollutions

Share

Some tips to avoid a headacke when dealing with xwiki and xeclipse: Common ground: xwiki version: 2.0, xwiki syntax: 2.0 -> If you need to create new and a lot of new documents in a space and time is limited for this activity, an error may occur when you close and want to reopen some […]

Share
Tags:     

Certificate Validation in an HTTPS Connection

Share

By default, accessing an HTTPS URL using the URL class results in an exception if the server’s certificate chain cannot be validated has not previously been installed in the trust store. Working with: Eclipse as platform, JAVA for the programming language Purpose: certificate yourself to a webservice so that you can perform operations and access […]

Share
Tags:     

Hibernate MappingException error

Share

When using Hibernate in a project, correct configuration of the service is a must, otherwise errors won’t let you alone :) Following the basic steps of configuration, I found myself facing an error, of which cause made no sense on the moment because I thought my configuration were correct. In the hibernate.cfg.xml file, sessionFactory was […]

Share
Tags:    

Page 1 of 212

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