Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Accessing JNDI DataSource with JSTL from JSP

JSTL Sql tags with JNDI datasource : In this article we will show you how to create the JNDI datasource and access it using the JSTL tag library. We will use the tomcat DBCP Connection Pool defined in context.xml, to execute an SQL query and output t

Parcelable vs Serializable

If we want to send some data over the network or from one place to another place then we have to serialize it first using Serialization in java. Serialization is a process of Marshalling and Unmarshalling of data. Basically the conversion of Objects

How to override existing Struts Action by Struts Action Hook?

We can modify Liferay JSP, services, properties by using Hooks. One of the main use of Hook is we can override existing struts actionand also we can add custom struts action, these type of Hook is called as Liferay Struts Action Hook. I'm taking her

How to Get Request URL and other details

Following JavaServlet will give you Request URL and other details. You can choose which method suits your coding: import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet;

Draw Rectangle in HTML Canvas

Draw Rectangle in web page: We can now draw the graphics in web pages. Html provides the Canvas API for drawing graphics. Html5 has the <canvas> tag to draw the graphics using JavaScript. Using <canvas> element we can draw rectangle, line

How to invalidate a spring security session?

To invalidate spring security session you need to follow below steps: 1. Add Logout configuration in your applicationContext-security.xml file Set logout-success-url attribute to /login.jsp. After logout user will be redirected to this page. <

Liferay Integaration with Log4j

Liferay+Log4j:- This blog will show you how you can implement logging in Liferay with Log4j. By using this you can use the custom logging using Log4j in Lifeary. To make this possible follow the below steps:- 1. Create log4j.xml and log4j.dtd file

How to show stars instead of theme ratings in Woocommerce

If you want to show stars instead of theme ratings in Woocommerce, you can do this by changing the Woocommerce star ratings. The Stars rating is the default rating system in WooCommerce, so to match the rating system with themes we have to disable t

Implementation of Singly Linklist in C

Singly Linklist:- Hii Friends, The Below code will show you how we can create singly Linklist in Data Structure using C. we can simply create the singly linklist using the pointers and malloc function to insert and delete element dynamically. #inclu

Implement Doubly LinkList Using C

Doubly Linklist:- In Singly Linklist we have to move only in forward direction. we don't move in backward direction in linklist but Using Doubly Linklist we can iterate in both forward and backward direction. The Below code will shown you how to cre

1 372 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: