Quantcast
Channel: passion4java Blogs : New Post
Browsing all 26 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How can we track from where user started to access your Web Application?

Most of the time we want to know from where the user started to trigger our URL, most of the time it will via of google.com. It terms of marketing a product its very important to know how the URL was...

View Article



Image may be NSFW.
Clik here to view.

Easy way to keep your Blog and Twitter up-to-date.

I was thinking how can I keep my blog and my twitter up-to-date, if I add any new post in my blog and I have to come back to twitter to do the same.This is a redundant work which I have to do. Today...

View Article

Image may be NSFW.
Clik here to view.

Grouping: A Cool function from Regular Expression

Most of them are very comfortable in find/replacing text in any Text editor. I will be really helpful if you have the exact phrase which you need to replace. Like In the below text if you want to...

View Article

Image may be NSFW.
Clik here to view.

ANT “Hello World” Example

I thought sharing very basic ant build.xml file which will compile a single class and create a jar by adding manifest file to it. Let start explaining this step by step.AntHelloWorld Java Class:Create...

View Article

Image may be NSFW.
Clik here to view.

Eclipse Scrapbook Pages: A quick way to test you java code snippets.

Scrapbook Pages was the functionality which most of the eclipse users don't know. This is a simple and quick way to test any small code snippets before implementing it.For example if you want to test...

View Article


Image may be NSFW.
Clik here to view.

5 Things you should know about String Constant Pool.

When a Class was compiled the String literals are noted in a special way by the compiler.Once the Class get loaded, all the String literals which are inside the class are placed inside the String...

View Article

Image may be NSFW.
Clik here to view.

Where your compiled JSP files stored in WEBLOGIC?

I know where the compiled files are stored in Tomcat (which is under work folder), but when it comes to weblogic I was really searching where the compiled JSP classes are stored.After doing some...

View Article

Image may be NSFW.
Clik here to view.

Bye Bye GeoCities …

Today is the last day for GeoCities in the internet world. From tomorrow the GeoCities Websites are nowhere. It really somehow hurts me because, I was started to learn web pages only from geocities....

View Article


Image may be NSFW.
Clik here to view.

Casting an object if the object is NULL?

If you are casting an object which is null, then java will not throw any exceptions. What does is, it will simply assign the null to the casted reference type variable.Object obj = null;String a =...

View Article


Image may be NSFW.
Clik here to view.

How to Post your Blog using RSS Feed?

Here are the steps to Post your Blog using RSS Feed.go blogspot.com and configure the email address by giving a "secretWords" and select the "Publish emails immediately" option and the save the...

View Article

Image may be NSFW.
Clik here to view.

Google created Easy tools for developing JavaScript code.

Google has came up with 3 Tools which will really bring down you most of the JavaScript development efforts. They collectively called as "Closure Tools".Closure Compiler:    This tool will check your...

View Article

Image may be NSFW.
Clik here to view.

Something Fishy about JSTL Tags

I was using "Apache Standard Taglib Standard 1.1" for setting different resource bundle based on the user. I also added default resource bundle name in web.xml as...

View Article

Image may be NSFW.
Clik here to view.

Add Sexy Bookmarks to Blogspot

I was searching for adding the Sexy Bookmarks to configure in blogspot.com, after long search I was finally configured using below URL. It has two versions of Sexy Bookmarks... SexyBookmarks v2 For...

View Article


Image may be NSFW.
Clik here to view.

Right usage of Annotations in Java.

When I was reading the annotation in java, I can't really feel where it can be used. Most of them (like me J) think that Annotations are mostly used my IDE like Eclipse and other tools.In one of my old...

View Article

Image may be NSFW.
Clik here to view.

A Strange behavior about Java Resource Bundle

I am working in a project where I have to load two different property files (for example parent.properties & child.properties ) which are totally have different base name and it should also have...

View Article


Image may be NSFW.
Clik here to view.

Excellent Code Display Tool for Technical Bloggers.

In my previous post, my code are displayed in ugly format. So that user will not read that post. I was really searching on net to find a Javascript which may help  me in displaying my code cleaner.I...

View Article

Image may be NSFW.
Clik here to view.

Things to remember in Servlet URL Mapping

Most of the time when we work, we always uses any web MVC framework like struts. And we start forgetting the advantages which are in the web.xml by default.I just thought sharing about servlet url...

View Article


Image may be NSFW.
Clik here to view.

Securing Your Application Using WEB.XML

When it comes to security we always thing about EJB and other Java security related APIs. But web.xml itself provides you BASIC security control over you web application. If your application is not...

View Article

Image may be NSFW.
Clik here to view.

Say Hello to EL Functions

EL functions allows you to call a java function from your JSP pages with out using any scripltes(in your JSP).It really important to have a scriplets free JSP pages, which make developer and designer...

View Article

Image may be NSFW.
Clik here to view.

Thing you should know about jsp:useBean Tag

* When you are using a class in the use bean tag and the class was not found in the given scope say "request", then use:bean tag will NOT throw any exceptions. Insted it will create the class and...

View Article
Browsing all 26 articles
Browse latest View live




Latest Images