Friday, December 30, 2011

Starting with JPDA enabled Tomcat within Eclipse for Maven project

No comments:
Starting with JPDA enabled Tomcat within Eclipse for Maven projectStep 1 :  Build the projects and place the war files in tomcat webapps folder. Step 2 : Start  your tomcat server.Step 2 : Open the Eclipse , Specify java home in installed jres in eclipse(eclipse - >...
Read More

Friday, October 21, 2011

Add Twitter to your webpage , Display Tweets using Java script

No comments:
Hi, Everyone like to display tweets on their webpage. Twitter api  provides the way to do it.. All you need to do is trigger a event in java script which retrives last 20 tweets. We can get tweets in two format xml and Json.. I prefer JSON which is very easy to use. I have used JSON. when page is loaed $.getJSON method is called and parameter is passed. i am parsing the return...
Read More

Wednesday, October 12, 2011

Maven Hectic Work...

No comments:
I am developing web applications using maven... As a developer cleaning,building, stoping tomcat, placing war file, starting tomcat and opening browser takes 50% time in  a day.. Mostly coding wont take that much time. Each time ill make change i have to build,copy etc... I love developing But these kind of hectic work make me feel lazy... Hurray.. !!! I found a solution...
Read More

Thursday, October 6, 2011

How to Read a XML file From Nexus repository

No comments:
Here I am using the jsersey client library to read xml file from nexusSpecify the URL of the XML        String BASE_URI = "http://localhost:8080/Nexus";         WebResource r = c.resource(BASE_URI);        ClientResponse response = r.get(ClientResponse.class);        System.out.println( response.getStatus()...
Read More

Jersey Client API

No comments:
Jersey Client API Implementation And Converting JSON String to object Jersey Client API code receives json data from web service and converts received jason data to the corresponding object .. Here the code goes ..  ...
Read More

Friday, July 29, 2011

AJAX autocomplete

No comments:
Using a nice AJAX auto completable input box is much nicer (for the user) than a combo box with 100 options. If you use jQuery, you may use a quite easy yet powerful plug-in called jquery.autocomplete (original, eh?). Grab it athttp://www.pengoworks.com/workshop/jquery/autocomplete.htm. Anyway, just to sum it up (you can learn how to use it in detail from the authors web...
Read More

Friday, July 22, 2011

Autocompletion Textbox in MVC Using jQuery

No comments:
 jQuery is awesome.  If you haven't started looking at it, I highly recommend that you do.  It works wonders in the ASP.NET MVC world.  One of the best things about jQuery is the enormous number of plug-ins that are available for adding even more functionality...
Read More

Auto-populating Select Boxes using jQuery & AJAX

No comments:
The Goal Allow the user to select a top level category from one select box and to automatically populate the sub-category. Prerequisites Latest copy of jQuery A basic understanding of JSON (don't let this put you off - it's really very, very easy) A server-side script that can respond to the AJAX request (though I've provided a simple example) Demo Our demo...
Read More