Google +1 like button let people recommend or like your content on Google +. It is available in four size small, medium , standard and t...
READ MORE +
Home / Archive for January 2013
How to use Custom Theme in struts2-jquery ?
As we know struts2-jquery-plugin provide support for AJAX and UI widgets to struts2. It is based on the jQuery javascript framework. Strut...
READ MORE +
How to Configure C3P0 Connection Pool in Hibernate?
Hibernate supports various types of connection pooling mechanisms such as C3P0, Apache DBCP, Proxool but i am going to show you how to inte...
READ MORE +
How to solve The JSP specification requires that an attribute name is preceded by whitespace ERROR?
Today when i deployed my application in Tomcat 7 ,and click on home link , I got this error message. org.apache.jasper.JasperException: /h...
READ MORE +
How to send email with attachment using JAVA Mail API ?
For sending the email using JAVA Mail API, you need to add following jar files: 1. mail.jar 2. activation.jar Download jar files you can do...
READ MORE +
Session management using login interceptor in Struts 2.
In this application (MyLoginAPI ) , i am maintaining session using interceptor. As you all know, when you call an action, a stack of interce...
READ MORE +
How to solve Mysql error 1452 - Cannot add or update a child row: a foreign key constraint fails ?
Suppose you have two table one is child table (profile) and second is parent table (login) .You can get this error when setting a foreign ...
READ MORE +
How to display HTML snippets using Property Tag in Struts 2.
Suppose your's HTML snippet is stored in Database and you are getting HTML snippet using POJO in Action class.If you display HTML snippe...
READ MORE +
How to show Custom ActionError, ActionMessage and FieldError in Struts 2.x?
ActionError - It is used to show error message (means -ve sense message) to users. ActionMessage - It is used to show informative messag...
READ MORE +
Subscribe to:
Posts
(
Atom
)