Home > Tag Archives: j2ee

Tag Archives: j2ee

Some useful JSP Expression Language hacks in JSP


Some useful JSP Expression Language hacks in JSP If you have JSTL in your classpath(by including JSTL.jar and standard.jar in your classpath), then you need to write below taglib directive so that you can use JSTL tags. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%/> 1. Redirecting to other resource in application where, hello.html is another resource. 2. Looping model data in JSP and ... Read More »

Java HttpServletRequest get current URL in browsers URL bar


If your current request is coming from an “inside the app-server” forward or include, the app-server is expected to preserve request information as request attributes. The specific attributes, and what they contain, depends on whether you’re doing a forward or an include. For, the original parent URL will be returned by request.getRequestURL(), and information about the included page will be ... Read More »

Hibernate Framework and Architecture


Hibernate Framework Hibernate framework simplifies the development of java application to interact with the database. Hibernate is an open source, lightweight, ORM (Object Relational Mapping) tool. An ORM tool simplifies the data creation, data manipulation and data access. It is a programming technique that maps the object to the data stored in the database. The ORM tool internally uses the ... Read More »

How to integrating DWR with Spring MVC

DWR: Easy AJAX for JAVA DWR is a RPC library which makes it easy to call Java functions from JavaScript and to call JavaScript functions from Java (a.k.a Reverse Ajax). DWR has a number of features like call batching, marshalling of virtually any data-structure between Java and Javascript (including binary file uploading and downloading), exception handling, advanced CSRF protection and ... Read More »

Resource Forwarding – Getting Page Response using DWR in Spring MVC

By this post I would like to describe my recent exposure with DWR2.0 and Spring2.0.Recently I got chance to develop my projects using Spring2.0 Framework. I really enjoyed working with Spring. Technologies reuired : 1).Spring MVC 2).DWR for AJAX calls 3).Hibernate3.0 4).Acegi security 5).Tiles 1.3 6).JSTL 1.1 DWR provides sufficient amount of support to all our ajax calls requirement.It allows ... Read More »

How To Avoid Memory Leak in Java


How to avoid Memory leak issue in Java What is Memory Leak? Memory leak mainly occurs when a program does not release the memory it has obtained for temporary use, it is the condition where the available computer memory reduces gradually there by resulting in poor performance. How to determine if Memory Leak exists in a Java application?If the application ... Read More »