Yearly Archives: 2014

Difference between HttpSession’s getSession(), getSession(true) and getSession(false) methods


getSession() : Returns the current session associated with this request, or if the request does not have a session, creates one. getSession(true) : Returns the current HttpSession associated with this request, if there is no current session, returns a new

Tagged with: , , , ,
Posted in JAVA, Servlet, Servlets

org.springframework.beans.NotReadablePropertyException: Invalid property


Exception: ERROR: org.springframework.web.servlet.tags.form.RadioButtonTag – Invalid property ‘newUser’ of bean class [com.malliktalksjava.bean.UserBean]: Bean property ‘newUser’ is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? org.springframework.beans.NotReadablePropertyException: Invalid property

Tagged with: , , , ,
Posted in Spring

Features of Spring Web MVC


Spring’s web module includes many unique web support features: Clear separation of roles. Each role — controller, validator, command object, form object, model object, DispatcherServlet, handler mapping, view resolver, and so on — can be fulfilled by a specialized object. Powerful and

Tagged with: , , , , , , , , ,
Posted in Spring

javax.servlet.ServletException: Could not resolve view with name ‘home’ in servlet with name ‘springDispatcher’


Exception: javax.servlet.ServletException: Could not resolve view with name ‘home’ in servlet with name ‘springDispatcher’ org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1200) org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) Solution: If it is a tiles framework integrated application, verify the Tiles definition is defined in tiles-defs.xml

Tagged with: , , ,
Posted in Spring

Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in ServletContext resource


Below is the exception that I have received when I am integrating the tiles 3.0 framework with Spring 4.0 web mvc application. Using the solution below I have rectified the issue my self. Hope this is useful to all. 21:02:06,311

Tagged with: , , , ,
Posted in Spring

How to read a URL using JAVA


package in.malliktalksjava; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; /** * @author malliktalksjava * */ public class URLConnectionReader { public static void main(String[] args) throws Exception { URL oracle = new URL(“http://malliktalksjava.in/”); URLConnection yc = oracle.openConnection(); BufferedReader in =

Tagged with: , , , , , , , ,
Posted in JAVA

Display Overlay using JQuery


In this post I would like to explain on how to display an overlay using JQuery Plugin. To continue with our implementation it is required to download required js and css files from here. It is required to call the

Tagged with: , , , , , ,
Posted in JavaScript, JQuery

Example HTML File to display Overlay using JQuery


<html> <head> <title>Sample Overlay Test</title> <link href=”css/jquery-ui.min.css” rel=”stylesheet” type=”text/css” /> <script src=”js/jquery.min.js”></script> <script src=”js/jquery-ui.min.js”></script> <style type=”text/css”> #displayOverLayDiv { width: 500px; height: 500px; display: none; } .overlay { position: absolute; top: 0; left: 0; display: none; background-color: black; background: url(“http://malliktalksjava.in&#8221;); }

Tagged with: , , , , , ,
Posted in JavaScript, JQuery

Clinet Tools Required to pre-install to access or create a new Open Shift application


I have faced hell lot of issues when I started implementing the Openshift sample application. I thought of sharing my experience with everybody so that it will help if there is any issue during others project implementation. Most important thing

Tagged with: , , , , , , , ,
Posted in OpenShift

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 677 other followers

Calendar
June 2019
M T W T F S S
« Jan    
 12
3456789
10111213141516
17181920212223
24252627282930
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 309,092 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100