<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Sample Programs And Applications</title><description></description><managingEditor>noreply@blogger.com (Tejash (તેજશ))</managingEditor><pubDate>Fri, 6 Sep 2024 13:12:58 -0700</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">6</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://helloworldprograms.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>Liferay Hello World Portlet | How To Create Portlet Using Liferay Plugins SDK?</title><link>http://helloworldprograms.blogspot.com/2011/06/liferay-hello-world-portlet-how-to.html</link><category>1st Program</category><category>Deploy</category><category>Hello World Program</category><category>Java</category><category>Liferay</category><category>Portlet</category><category>Tutorial</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Mon, 13 Jun 2011 06:38:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-7021363983736422890</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In this post we will create and deploy a simple "hello world" portlet using the Liferay Plugins SDK using step by step guide as follows.&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Initial Setup&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Install Java Development Kit JDK 1.5 or higher, and set JAVA_HOME environment variable point to installation home directory of JDK, (&lt;a href="http://windows-tips-tricks.blogspot.com/2011/06/setup-environment-varibles-for-windows.html"&gt;Click here to know how to setup environment variable on different operating systems like windows / Unix / Linux platforms&lt;/a&gt;)&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;For Windows, &lt;b&gt;right click on My Computer -&amp;gt; Properties -&amp;gt; Advanced -&amp;gt; Environment Variables&lt;/b&gt; here you can add or edit windows environment variables e.g. if JDK is installed at "c:\program files\sun\jdk1.5" then set JAVA_HOME to "c:\program files\sun\jdk1.5"&lt;/li&gt;
&lt;li&gt;For Unix or Linux platforms go to home directory of user and add entry to set variable and export it in hidden file named &lt;b&gt;.profile &lt;/b&gt;&lt;br /&gt;
For example,&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;
    JAVA_HOME=/usr/lib/java/java-1.5
    export JAVA_HOME&lt;/pre&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Add JAVA_HOME/bin directory to PATH environment variable. i.e. for windows set value of PATH to &lt;b&gt;%JAVA_HOME%\bin;%PATH%&lt;/b&gt; and for Unix and Linux platforms set its value to $JAVA_HOME/bin:$PATH&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;
    export PATH=$JAVA_HOME/bin:$PATH
    &lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Install &lt;b&gt;ANT 1.7&lt;/b&gt; or higher and set ANT_HOME environment variable value to ANT installation directory.&lt;/li&gt;
&lt;li&gt;Install Liferay portal with you choice of Application server (&lt;a href="http://liferayfaq.blogspot.com/2011/06/setting-up-liferay-portal-on-your.html"&gt;Click here for guideline to setup liferay portal and different platforms and application servers&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Install Liferay Plugin SDK (&lt;a href="http://liferayfaq.blogspot.com/2011/06/setup-liferay-development-environment.html"&gt;Visit here to know guideline to install Liferay plugins SDK&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Steps for creating portlet using Liferay Plugins SDK&lt;/b&gt;&lt;br /&gt;
Creating portlets with the Plugins SDK is extremely simple. There is a &lt;b&gt;portlets&lt;/b&gt; folder inside of the Plugins SDK folder. This is where your portlet projects will reside. To create a new portlet, first decide what its name is going to be. You need both a project name (without spaces) and a display name (which can have spaces).&lt;br /&gt;
When you have decided on your portlet's name, you are ready to create the project. For the greeting portlet, the project name is “hello-word”, and the portlet title is “Hello World”. Navigate to the portlets directory in the terminal and enter the following command&lt;br /&gt;
&lt;br /&gt;
For Linux, Unix and Mac OS X:&lt;br /&gt;
&lt;pre&gt;./create.sh hello-word "Hello World"
&lt;/pre&gt;&lt;br /&gt;
For all windows platforms:&lt;br /&gt;
&lt;pre&gt;create.bat hello-word "Hello World"
&lt;/pre&gt;&lt;br /&gt;
You should get a BUILD SUCCESSFUL message from Ant, and there will now be a new folder inside of the portlets folder in your Plugins SDK. This folder is your new portlet project. This is where you will be implementing your own functionality. Notice that the Plugins SDK automatically appends “-portlet” to the project name when creating this folder. In this case you can find directory "&lt;b&gt;hello-word-portlet&lt;/b&gt;" in side portlets directory&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Deploying the portlet on Liferay Portal&lt;/b&gt;&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;&lt;li&gt;Make sure your Liferay Portal is already running or else you can start it by starting containing application server.&lt;/li&gt;
&lt;li&gt;To deploy open a terminal window in your portlets/hello-world-portlet directory and enter this command&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;
     ant deploy
&lt;/pre&gt;&lt;br /&gt;
You should get a BUILD SUCCESSFUL message, which means that your portlet is now being deployed.&lt;br /&gt;
&lt;br /&gt;
If you switch to the terminal window running Liferay, and wait for a few seconds, you should see the message “1 portlet for my-greeting-portlet is available for use.” If not, something is wrong and you should double check your configuration.&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;Go to your web browser and log in to the portal as explained earlier. Then mouse over &lt;b&gt;Add&lt;/b&gt; at the top of the page, and click on &lt;b&gt;More&lt;/b&gt;.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-xV-xyrg13u7UNAwwWyHZS0sOHRBCTMPEENwenkR7x-0z4eM9G2oiSsCbG94xKoF2OMO94GO220DtfmeFegy7oMPEZI7UWqlxCSWMbFbfX6l5qtds8oRyY7YOR57aD-vNjMYq5kHzhi-/s1600/portlet+catalog.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-xV-xyrg13u7UNAwwWyHZS0sOHRBCTMPEENwenkR7x-0z4eM9G2oiSsCbG94xKoF2OMO94GO220DtfmeFegy7oMPEZI7UWqlxCSWMbFbfX6l5qtds8oRyY7YOR57aD-vNjMYq5kHzhi-/s400/portlet+catalog.PNG" width="189" /&gt;&lt;/a&gt;&lt;/div&gt;Select the &lt;b&gt;Sample&lt;/b&gt; category, and then click &lt;b&gt;Add&lt;/b&gt; next to &lt;b&gt;Hello World&lt;/b&gt;. Your portlet should appear in the page below. Congratulations, you've just created your first portlet!&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnoSAhxmArRAF7msF-N9AlVmAzVzRKhiu2gWGzggpvXrDtXHf_BHI7Te6VHp5yWPYOH0a4MXzfp29uKhJ3vPzYspP2b3nfBU9jmWh2JlwgJJr82uxItWCt19dekoh1vnNhjlvroVy8kwv6/s1600/Portlet+Added.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="155" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnoSAhxmArRAF7msF-N9AlVmAzVzRKhiu2gWGzggpvXrDtXHf_BHI7Te6VHp5yWPYOH0a4MXzfp29uKhJ3vPzYspP2b3nfBU9jmWh2JlwgJJr82uxItWCt19dekoh1vnNhjlvroVy8kwv6/s400/Portlet+Added.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-xV-xyrg13u7UNAwwWyHZS0sOHRBCTMPEENwenkR7x-0z4eM9G2oiSsCbG94xKoF2OMO94GO220DtfmeFegy7oMPEZI7UWqlxCSWMbFbfX6l5qtds8oRyY7YOR57aD-vNjMYq5kHzhi-/s72-c/portlet+catalog.PNG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to create Dynamic Web Project Eclipse?</title><link>http://helloworldprograms.blogspot.com/2010/12/dynamic-web-project-eclipse.html</link><category>Dynamic Web Project</category><category>Eclipse</category><category>Hello World Program</category><category>Sample</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Thu, 9 Dec 2010 19:06:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-7065792279320528518</guid><description>&lt;b&gt;Dynamic Web Project &lt;/b&gt;is used to develop, debug and deploy dynamic web applications in eclipse. For this project you need to have Eclipse IDE for Java EE developers which can be downloaded from &lt;a href="http://eclipse.org/downloads/"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: for my tutorial I am using Eclipse 3.6 Java EE IDE.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Steps to create &lt;b&gt;Dynamic Web Project in Eclipse.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Step 1: Launch Dynamic Web Project Wizard.&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If you are in the &lt;b&gt;Java EE &lt;/b&gt;perspective then you can simply do it form File menu by going to &lt;b&gt;File -&amp;gt; New -&amp;gt; Dynamic Web Project&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibU5yxh_-sgK-PtS5-zrN15Sw-tBh6YKlk3WOGZLeu67TCMWovU-F-85dmytA66p1uzc7fWl1vTaY7H61UkzTlFWt0PDQSXY-uKnrJcy6f6nO9OHFC2ilYlC0Zyo0j7dLvTMMZw9xq0FFF/s1600/new+dynamic+web+project.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibU5yxh_-sgK-PtS5-zrN15Sw-tBh6YKlk3WOGZLeu67TCMWovU-F-85dmytA66p1uzc7fWl1vTaY7H61UkzTlFWt0PDQSXY-uKnrJcy6f6nO9OHFC2ilYlC0Zyo0j7dLvTMMZw9xq0FFF/s320/new+dynamic+web+project.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If you are in any other perspective and there is no direct option in File menu to create &lt;b&gt;Dynamic Web Project&lt;/b&gt;&amp;nbsp;then go to &lt;b&gt;File -&amp;gt; New -&amp;gt; Project &lt;/b&gt;that will launch project selection wizard&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5ucwG6pAd4rcC7Dzo5UOAfJp5ox1T7CwAMNYcKDdb1XzscbU_iP4w-EisTT5X8lkFxyj7_cds35vompZkueoGz2KpxZjzc8gHPSbjZYvQT07s6SAc2aFzpx6eda2pw2Xuvl_CHqG19lXg/s1600/new+Project.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="315" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5ucwG6pAd4rcC7Dzo5UOAfJp5ox1T7CwAMNYcKDdb1XzscbU_iP4w-EisTT5X8lkFxyj7_cds35vompZkueoGz2KpxZjzc8gHPSbjZYvQT07s6SAc2aFzpx6eda2pw2Xuvl_CHqG19lXg/s320/new+Project.PNG" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5tK2CYTYLV5NR7RygfbNwSmMUInCK2OppUK7Fz2YjHPxElQ_L5JZSebP9oG8ohJddEHyp2heEPouSyTsl83EsjFLxGoRk0lyP8ImGHFovfoWXw4n2QBZ4er6fysv7gyYK5oAFP-uoQtmf/s1600/new+project+wizard.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5tK2CYTYLV5NR7RygfbNwSmMUInCK2OppUK7Fz2YjHPxElQ_L5JZSebP9oG8ohJddEHyp2heEPouSyTsl83EsjFLxGoRk0lyP8ImGHFovfoWXw4n2QBZ4er6fysv7gyYK5oAFP-uoQtmf/s320/new+project+wizard.PNG" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;In this wizard select &lt;b&gt;Dynamic Web Project &lt;/b&gt;under &lt;b&gt;Web&lt;/b&gt; category and click &lt;b&gt;Next&amp;nbsp;&lt;/b&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmSFVadUCfGuJyhSJKQXI9vuCIGp6gYnMBYDUNFcnVINMlthzXNxCtm9FIVe3OY8JJSnoQYXPLBp-fDiZwSVw4yr2FntQiIpQFaqMyiXi-cSCXND2p6JHLCpPjxpRSssiDyhVy3D6N_U6q/s1600/new+project+wizard2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmSFVadUCfGuJyhSJKQXI9vuCIGp6gYnMBYDUNFcnVINMlthzXNxCtm9FIVe3OY8JJSnoQYXPLBp-fDiZwSVw4yr2FntQiIpQFaqMyiXi-cSCXND2p6JHLCpPjxpRSssiDyhVy3D6N_U6q/s320/new+project+wizard2.PNG" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;That will show the &lt;b&gt;Dynamic Web Project &lt;/b&gt;wizard as follows:&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj92QTYYk2Tq6PkBCtxdaTR6881y0P7Vgm9RHFpRIW7SR5kFLlAGiMMUlWFIPOW-apvh5Nrz0yfXRfb3-X3bpI4HW1PELP_xzsH4uqXOnApiLCQigFPiU3gpU__tfMAk-hqjGCU9FxXL6Dx/s1600/New+dynamic+web+project+wizard.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj92QTYYk2Tq6PkBCtxdaTR6881y0P7Vgm9RHFpRIW7SR5kFLlAGiMMUlWFIPOW-apvh5Nrz0yfXRfb3-X3bpI4HW1PELP_xzsH4uqXOnApiLCQigFPiU3gpU__tfMAk-hqjGCU9FxXL6Dx/s400/New+dynamic+web+project+wizard.PNG" width="298" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter the&lt;b&gt;&amp;nbsp;Project Name&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Select the &lt;b&gt;Target Runtime&lt;/b&gt;&amp;nbsp;from the list if does not exist then add new target runtime by clicking &lt;b&gt;New Runtime... &lt;/b&gt;button. Here from the list of the list of Runtime select your server's runtime e.g. I selected Apache Tomcat v6.0&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy66cogQDRgYeiFVPkhtGKW7BDcENB2AJ94aTuWaKc35GyGPbE8OROPMtnrERVQkxgM0LzF2kLO7Omiu9x021PSVWhPYruPDDaEE8DzddsfR1bjY_IeOw2l09cBQzjTiQqZuwEO6-VJn_I/s1600/New+Server+Runtime.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy66cogQDRgYeiFVPkhtGKW7BDcENB2AJ94aTuWaKc35GyGPbE8OROPMtnrERVQkxgM0LzF2kLO7Omiu9x021PSVWhPYruPDDaEE8DzddsfR1bjY_IeOw2l09cBQzjTiQqZuwEO6-VJn_I/s400/New+Server+Runtime.PNG" width="335" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&amp;nbsp;Click next to specify the server configuration, where you can specify the name, location and JRE for the server runtime and click on &lt;b&gt;Finish &lt;/b&gt;&amp;nbsp;button&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNyPgMqfJVVBhKwHEeEH_HhsKndciQVPSeieznNCfWylugb27Lumkwvw9XgbuQQXHlEBnCAsUK6Yr53eiEviU3JvPkEAcWMDm0ZjKgo76jRmuLnXQ7gUvWNV28cwx30kaTq_xxoUDJtfMM/s1600/New+Server+Runtime+Environment.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNyPgMqfJVVBhKwHEeEH_HhsKndciQVPSeieznNCfWylugb27Lumkwvw9XgbuQQXHlEBnCAsUK6Yr53eiEviU3JvPkEAcWMDm0ZjKgo76jRmuLnXQ7gUvWNV28cwx30kaTq_xxoUDJtfMM/s400/New+Server+Runtime+Environment.PNG" width="335" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Now you will come back to first page of the &lt;b&gt;Dynamic Web Project &lt;/b&gt;&amp;nbsp;wizard. Here select&amp;nbsp;&lt;b&gt;Dynamic Web module version &lt;/b&gt;&amp;nbsp;to 2.4 or higher and leave all the other&amp;nbsp;parameters&amp;nbsp;as default values though you can change them as per your need&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj92QTYYk2Tq6PkBCtxdaTR6881y0P7Vgm9RHFpRIW7SR5kFLlAGiMMUlWFIPOW-apvh5Nrz0yfXRfb3-X3bpI4HW1PELP_xzsH4uqXOnApiLCQigFPiU3gpU__tfMAk-hqjGCU9FxXL6Dx/s1600/New+dynamic+web+project+wizard.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj92QTYYk2Tq6PkBCtxdaTR6881y0P7Vgm9RHFpRIW7SR5kFLlAGiMMUlWFIPOW-apvh5Nrz0yfXRfb3-X3bpI4HW1PELP_xzsH4uqXOnApiLCQigFPiU3gpU__tfMAk-hqjGCU9FxXL6Dx/s400/New+dynamic+web+project+wizard.PNG" width="298" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&amp;nbsp;Click on the &lt;b&gt;Next&lt;/b&gt;&amp;nbsp;button to configure &lt;b&gt;source location&lt;/b&gt; and &lt;b&gt;Default output folder&lt;/b&gt; similar to &lt;b&gt;Java Project&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;By default &lt;b&gt;source location &lt;/b&gt;would be &lt;b&gt;src&lt;/b&gt;&amp;nbsp;change that to&amp;nbsp;&lt;b&gt;WebContent/WEB-INF/src&lt;/b&gt;&amp;nbsp;and by default the&amp;nbsp;&lt;b&gt;Default output folder&lt;/b&gt;&amp;nbsp;would be &lt;b&gt;build/classes&lt;/b&gt;&amp;nbsp;change that to&amp;nbsp;&lt;b&gt;WebContent/WEB-INF/classes&lt;/b&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSma7uLen38a89oxB4p93M3MYTNzrGX6flegjS_S06q52RcEctI7Exw-mHKLNBm7I9tY-ApPSdAouCbDZxMgnmI8c1Zs534z_APc6t61Kc0e2Ar0ffIo5isY61JNgsYY6a-YywRr80xneA/s1600/src+and+classes+location+config.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSma7uLen38a89oxB4p93M3MYTNzrGX6flegjS_S06q52RcEctI7Exw-mHKLNBm7I9tY-ApPSdAouCbDZxMgnmI8c1Zs534z_APc6t61Kc0e2Ar0ffIo5isY61JNgsYY6a-YywRr80xneA/s400/src+and+classes+location+config.PNG" width="297" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Then click on &lt;b&gt;Next&lt;/b&gt; button to configure &lt;b&gt;Web Module&lt;/b&gt;&amp;nbsp;for &lt;b&gt;Dynamic Web Project&lt;/b&gt;. Here you can configure &lt;b&gt;Context root,&lt;/b&gt;&amp;nbsp;&lt;b&gt;Context Directory&lt;/b&gt;&amp;nbsp;and select check box to &lt;b&gt;Generate web.xml deployment descriptor&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBOdfmMkbOQtK-exMTcyEeBc00QgdwA0yBXbN4nVM3C-HdPR2iBe-c71F1M8HF9nt1wNemUU5JXrNv3ODI2QSei7SS0Bbetq9VVu6I2OQ-v-vdGecOWeXZFYAX5jJzgKjREfd9n6Gf5cha/s1600/web+module+config.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBOdfmMkbOQtK-exMTcyEeBc00QgdwA0yBXbN4nVM3C-HdPR2iBe-c71F1M8HF9nt1wNemUU5JXrNv3ODI2QSei7SS0Bbetq9VVu6I2OQ-v-vdGecOWeXZFYAX5jJzgKjREfd9n6Gf5cha/s400/web+module+config.PNG" width="297" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Now hit the finish button and &lt;b&gt;Dynamic Web Project&lt;/b&gt;&amp;nbsp;gets created with following structure&lt;/li&gt;
&lt;/ul&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb0ULWgZRw5fRsNMMA1ZZj0xpkZL9YRyHVirYvPJj9GTcQzvpDFe17Mk5u7meQtQhH2GYoCFL9nocbz6pJROD7WK_YITE5gTzKU5pEi4pY5X12cU_MSb7O0C9AZGz9R-CXk4d-2KpwnTKm/s1600/dyna+web+prj+structure.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb0ULWgZRw5fRsNMMA1ZZj0xpkZL9YRyHVirYvPJj9GTcQzvpDFe17Mk5u7meQtQhH2GYoCFL9nocbz6pJROD7WK_YITE5gTzKU5pEi4pY5X12cU_MSb7O0C9AZGz9R-CXk4d-2KpwnTKm/s320/dyna+web+prj+structure.PNG" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;And the auto generated web.xml looks as follows:&lt;br /&gt;
&lt;pre&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&amp;gt;
  &amp;lt;display-name&amp;gt;HelloWorld&amp;lt;/display-name&amp;gt;
  &amp;lt;welcome-file-list&amp;gt;
    &amp;lt;welcome-file&amp;gt;index.html&amp;lt;/welcome-file&amp;gt;
    &amp;lt;welcome-file&amp;gt;index.htm&amp;lt;/welcome-file&amp;gt;
    &amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;
    &amp;lt;welcome-file&amp;gt;default.html&amp;lt;/welcome-file&amp;gt;
    &amp;lt;welcome-file&amp;gt;default.htm&amp;lt;/welcome-file&amp;gt;
    &amp;lt;welcome-file&amp;gt;default.jsp&amp;lt;/welcome-file&amp;gt;
  &amp;lt;/welcome-file-list&amp;gt;
&amp;lt;/web-app&amp;gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;
Now using this Dynamic Web Project you can create any dynamic web applications based on JSP, Servlet, Struts etc.</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibU5yxh_-sgK-PtS5-zrN15Sw-tBh6YKlk3WOGZLeu67TCMWovU-F-85dmytA66p1uzc7fWl1vTaY7H61UkzTlFWt0PDQSXY-uKnrJcy6f6nO9OHFC2ilYlC0Zyo0j7dLvTMMZw9xq0FFF/s72-c/new+dynamic+web+project.PNG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>JSP Hello World</title><link>http://helloworldprograms.blogspot.com/2010/08/jsp-hello-world.html</link><category>Hello World Program</category><category>Java</category><category>Java Server Pages</category><category>JSP</category><category>Learn</category><category>Tutorial</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Thu, 5 Aug 2010 00:52:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-5394320046147887759</guid><description>This sample code or example displays "hello world" in the browser using &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt; can be learned very easily. This is just the beginning to learn this exciting language. This simple page contains a &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt; program and it outputs on browser in running state. This given program of &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt; illustrates you how to print simple "Hello World!" string on the browser through the server side code (provided by &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt;).&lt;br /&gt;
&lt;br /&gt;
This program also contains HTML (Hypertext Markup Language) code for designing the page and the contents. Following code of the program prints the string "Hello World!" by using &lt;%="Hello World!" %&gt;  while you can also print the string by using out.println("Hello World!") in the &lt;% and %&gt; &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt; tags.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Here is the code of the program "hello.jsp":&lt;/b&gt;&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; color: #000096;  margin: 5px; overflow: auto; padding: 6px; text-align: left; width: 400px;"&gt;&amp;lt;html&amp;gt;
 &amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Hello World JSP Page.&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
 &amp;lt;body&amp;gt;
  &amp;lt;font size="10"&amp;gt;&amp;lt;%="Hello World!" %&amp;gt;&amp;lt;/font&amp;gt;

 &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;&lt;b&gt;&lt;br /&gt;
Running or Executing hello.jsp&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt; You must install tomcat or any other web-server which supports &lt;acronym title="Java Server Pages"&gt;JSP&lt;/acronym&gt;.&lt;br /&gt;
Here I will explain how can you run hello.jsp using tomcat. &lt;br /&gt;
- Put hello.jsp in the directory [tomcat install directory]/webapps/ROOT/&lt;br /&gt;
- Then start tomcat server using [tomcat install directory]/bin/startup.bat on Windows platforms or [tomcat install directory]/bin/startup.sh on Unix or Linux platforms.&lt;br /&gt;
- Now open you web-browser and open URL "http://localhost:8080/hello.jsp" and you can see "Hello World!" as output in your web-browser.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Java Servlet Hello World with Tomcat</title><link>http://helloworldprograms.blogspot.com/2010/08/servlet-hello-world.html</link><category>Deploy</category><category>Hello World Program</category><category>Java</category><category>Servlet</category><category>Tomcat</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Tue, 3 Aug 2010 06:21:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-2545466233311924557</guid><description>&lt;h3&gt;&lt;b&gt;Hello World Java Servlet Example , Tutorial or Sample Program&lt;/b&gt;&lt;/h3&gt;This article will is for new-bee of Java Servlet. Here I will explain you how you can run your first hello world Servlet example on Tomcat. &lt;br /&gt;
&lt;br /&gt;
First download and install tomcat and JDK on your machine. &lt;br /&gt;
&lt;br /&gt;
Create following folder structure inside tomcat installation directory.&lt;br /&gt;
[tomcat install directory]/webapps/hello&lt;br /&gt;
[tomcat install directory]/webapps/hello/WEB-INF&lt;br /&gt;
[tomcat install directory]/webapps/hello/WEB-INF/classes&lt;br /&gt;
[tomcat install directory]/webapps/hello/WEB-INF/classes/test&lt;br /&gt;
&lt;br /&gt;
Now using any text based editor write following java code using any editor and save the file as &lt;b&gt;HelloServlet.java&lt;/b&gt; at &lt;b&gt;[tomcat install directory]/webapps/hello/WEB-INF/classes/test&lt;/b&gt;&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; color: #000096; height: 300px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 400px;"&gt;package test;

import java.io.*;

import javax.servlet.http.*;
import javax.servlet.*;

public class HelloServlet extends HttpServlet {
  public void doGet (HttpServletRequest req,
                     HttpServletResponse res)
    throws ServletException, IOException
  {
    PrintWriter out = res.getWriter();

    out.println("Hello, world!");
    out.close();
  }
}
&lt;/pre&gt;After this go to command prompt and change directory to &lt;b&gt;[tomcat install directory]/webapps/hello/WEB-INF/classes&lt;/b&gt;and give following command&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; color: #000096; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 400px;"&gt;javac -cp .\..\..\..\..\lib\servlet-api.jar test\HelloServlet.java
&lt;/pre&gt;&lt;br /&gt;
We should start understanding the servlets from the beginning. Lets start by making one program which will just print the "Hello World" on the browser. Each time the user visits this page it will display "Hello World" to the user.&lt;br /&gt;
&lt;br /&gt;
As we know that the our servlet extends the HttpServlet and overrides the doGet() method which it inherits from the HttpServlet class. The server invokes doGet() method  whenever web server recieves the GET request from the servlet. The doGet() method takes two arguments first is HttpServletRequest object and the second one is HttpServletResponse object and this method throws the ServletException.&lt;br /&gt;
&lt;br /&gt;
Whenever the user sends the request to the server then server generates two obects, first is HttpServletRequest object and the second one is HttpServletResponse object. HttpServletRequest object represents the client's request and the HttpServletResponse represents the servlet's response. &lt;br /&gt;
&lt;br /&gt;
Inside the doGet(() method our servlet has first used the setContentType() method of the response object which sets the content type of the response to text/html. It is the standard MIME content type for the Html pages. After that it has used the method getWriter() of the response object to retrieve a PrintWriter object.  To display the output on the browser we use the println() method of the PrintWriter class. &lt;br /&gt;
&lt;br /&gt;
Now configuring web.xml for deploying and running the Servlet. Create &lt;b&gt;web.xml&lt;/b&gt; with following content at [tomcat install directory]/webapps/hello/WEB-INF directory&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; color: #000096; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 400px;"&gt;&amp;lt;web-app version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee" xsi:schemalocation="http:/java.sun.com/dtd/web-app_2_3.dtd"&amp;gt;
  &amp;lt;servlet&amp;gt;
    &amp;lt;servlet-name&amp;gt;hello&amp;lt;/servlet-name&amp;gt;
    &amp;lt;servlet-class&amp;gt;test.HelloServlet&amp;lt;/servlet-class&amp;gt;
  &amp;lt;/servlet&amp;gt;

  &amp;lt;servlet-mapping&amp;gt;
    &amp;lt;servlet-name&amp;gt;hello&amp;lt;/servlet-name&amp;gt;
    &amp;lt;url-pattern&amp;gt;/hello&amp;lt;/url-pattern&amp;gt;
  &amp;lt;/servlet-mapping&amp;gt;
&amp;lt;/web-app&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
Now just start tomcat server with default configuration and open following URL in your browser.&lt;br /&gt;
&lt;br /&gt;
http://localhost:8080/hello/hello&lt;br /&gt;
&lt;br /&gt;
You will see "Hello, world!" as an output in your browser.&lt;br /&gt;
&lt;br /&gt;
Note: Before starting tomcat make sure you have set JAVA_HOME environment variable point to installation directory of JDK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Explanation&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
The servlet-mapping tells Resin that the URL /hello should invoke the hello-world servlet.&lt;br /&gt;
The servlet tells Resin that hello-world uses the test.HelloWorld class and that the value of the greeting init parameter is Hello World.&lt;br /&gt;
&lt;br /&gt;
HelloWorld.java contains the actual servlet code. It just prints a trivial HTML page filled with the greeting specified in the web.xml.&lt;br /&gt;
&lt;br /&gt;
init() and destroy() are included mostly for illustration. Server will call init() when it starts the servlet and destroy before server destroys it.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Eclipse Java - Hello World Application / Program</title><link>http://helloworldprograms.blogspot.com/2009/03/eclipse-java-hello-world-application.html</link><category>1st Program</category><category>Core Java</category><category>Eclipse</category><category>Hello World Program</category><category>Java</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Tue, 31 Mar 2009 22:04:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-8062971877686640364</guid><description>This article will create a Java project and a Java class in Eclipse that will print "Hello world!" in the console when run.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Open the Java Perspective&lt;/span&gt;&lt;br /&gt;If you're not already in the Java perspective, in the main menu select Window &gt; Open Perspective &gt; Java or click on the "Click to Perform" link below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Create a Java Project&lt;/span&gt;&lt;br /&gt;Before creating a class, we need a project to put it in. In the main&lt;span style="font-weight: bold;"&gt; toolbar&lt;/span&gt;, click on the &lt;span style="font-weight: bold;"&gt;New Java Project button&lt;/span&gt;.  Enter &lt;span style="font-weight: bold;"&gt;HelloWorld&lt;/span&gt; for the &lt;span style="font-weight: bold;"&gt;project name&lt;/span&gt;, then click Finish.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Create your HelloWorld Class&lt;/span&gt;&lt;br /&gt;The next step is to &lt;span style="font-weight: bold;"&gt;create a new class&lt;/span&gt;. In the &lt;span style="font-weight: bold;"&gt;main toolbar again, click on the New Java Class button&lt;/span&gt;. Enter &lt;span style="font-weight: bold;"&gt;HelloWorld&lt;/span&gt; for the &lt;span style="font-weight: bold;"&gt;class name&lt;/span&gt;, select the checkbox to &lt;span style="font-weight: bold;"&gt;create the main() method&lt;/span&gt;, then click Finish.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) Add a Print Statement&lt;/span&gt;&lt;br /&gt;Now that you have your HelloWorld class, in the main() method, add the following statement:&lt;br /&gt;&lt;pre&gt;System.out.println("Hello world!");&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Then save your changes; the class will automatically compile upon saving. &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;5) Run your Java Application / Program&lt;/span&gt;&lt;br /&gt;To run your application, &lt;span style="font-weight: bold;"&gt;right-click on your class in the Package Explorer &lt;/span&gt;and select &lt;span style="font-weight: bold;"&gt;Run As &gt; Java Application&lt;/span&gt;. The Console view should appear at the bottom and display the &lt;span style="font-weight: bold;"&gt;"Hello, world!"&lt;/span&gt; output.&lt;br /&gt;&lt;br /&gt;Congratulations! You have successfully created a Hello World application!</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Core Java - Hello Word Program / Application</title><link>http://helloworldprograms.blogspot.com/2009/03/core-java-hello-word-program.html</link><category>1st Program</category><category>Core Java</category><category>Hello World Program</category><category>Java</category><author>noreply@blogger.com (Tejash (તેજશ))</author><pubDate>Tue, 31 Mar 2009 21:40:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3641750446409632008.post-1847413957319499994</guid><description>&lt;span style="font-weight: bold;"&gt;Here is the first program / application in Java, which is known as Hello World! program / application of Java.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Steps:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open Notepad or Textpad or any similar Text Editor&lt;/li&gt;&lt;li&gt;Create New file in that and write following code in that:&lt;/li&gt;&lt;li&gt;&lt;pre&gt;&lt;br /&gt;public class HelloWorld&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt; public static void main(String[] args)&lt;br /&gt; {&lt;br /&gt;  System.out.println("Hello world!");&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Now save this file as HellowWorld.java (e.g you have saved at c:\test\HelloWorld.java) (In Java you should give file name as &lt;classname&gt;.java, in this case HelloWorld is the class name so we save it as HelloWorld.java)&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;Now go to Command prompt&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;Change the directory of the command prompt to where you have saved HelloWorld.java&lt;/classname&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;&lt;classname&gt;e.g. &lt;pre&gt;cd c:\test&lt;/pre&gt;&lt;/classname&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;classname&gt;Here type the command &lt;b&gt;javac &amp;lt;java file name&amp;gt;&lt;/b&gt;&lt;/classname&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;classname&gt;&lt;pre&gt;javac HelloWorld.java&lt;/pre&gt;&lt;/classname&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;classname&gt;This command will compile the Java file&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;Now to run this program give command &lt;b&gt;java &amp;lt;class name which has main method&amp;gt;&lt;/b&gt;&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;&lt;pre&gt;java HelloWorld&lt;/pre&gt;&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;This program will run and give output as follows:&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;&lt;pre&gt;Hello world!&lt;/pre&gt;&lt;/classname&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In the above program &lt;span style="font-weight: bold;"&gt;public class HelloWorld&lt;/span&gt; defines the class name in Java. Declaring &lt;span style="font-weight: bold;"&gt;public&lt;/span&gt; as access modifier means it is accessible outside.&lt;/li&gt;&lt;li&gt;The line  &lt;span style="font-weight: bold;"&gt;public static void main(String[] args)&lt;/span&gt; &lt;classname&gt;is the method which will be called first by the JVM when your try to run any application or program is &lt;span style="font-weight: bold;"&gt;java.&lt;/span&gt;&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;We must declare this method as &lt;span style="font-weight: bold;"&gt;public&lt;/span&gt; since it will be called by JVM&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;We must declare this method &lt;span style="font-weight: bold;"&gt;static &lt;/span&gt;since JVM will call this method by class name&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/classname&gt;&lt;/li&gt;&lt;li&gt;&lt;classname&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;The main method always have arguments &lt;span style="font-weight: bold;"&gt;String[] &lt;/span&gt;this stores command line arguments if any&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/classname&gt;&lt;/li&gt;&lt;/ol&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>