<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>jsp &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/jsp/</link>
	<description>Feed of posts on WordPress.com tagged "jsp"</description>
	<pubDate>Sat, 28 Nov 2009 10:14:59 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Application Administrator]]></title>
<link>http://mindsourceinc.wordpress.com/2009/11/24/application-administrator/</link>
<pubDate>Tue, 24 Nov 2009 22:33:50 +0000</pubDate>
<dc:creator>Michelle</dc:creator>
<guid>http://mindsourceinc.wordpress.com/2009/11/24/application-administrator/</guid>
<description><![CDATA[This position is an Application Administrator to support operations within our client&#8217;s depart]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This position is an Application Administrator to support operations within our client&#8217;s department. This position has a critical role in delivering our services to clients and ensuring successful ongoing operation of our applications and services. It services a highly interactive software development build/release process as well as a rich operational environment with many interrelated applications/database services. The candidate should be self-motivated, detail oriented, adaptable to change and must work well in a flexible team environment with developers, QA, operations staff, system administrators and managers.</p>
<p><strong>RESPONSIBILITIES:</strong></p>
<p><span style="text-decoration:underline;"> </span></p>
<p><span style="text-decoration:underline;">Application and database support </span></p>
<ul>
<li>Provide on-going database administration in both back-end and front-end with application infrastructure support for our client&#8217;s administration systems, including the deployment of new applications.</li>
<li>Review the physical design of existing databases for optimal database structures, database performance tuning, security, database backup/recovery strategy, implementing high-availability, and pro-active and reactive performance analysis, monitoring, troubleshooting and resolution of issues, capacity planning, monitoring data growth and system utilization, trend analysis and predicting future database resource requirements.</li>
<li>Install web-base applications from ground up to full-ballooned implementation and support, including configuration at Unix/Linux/Windows system level, back-end integration with database, front-end integration with user-interface, final delivery to users to fulfill users’ requirement and on-going maintenance.</li>
<li>Take the lead in ensuring that application and web services are configured and tuned according to application needs; provide troubleshooting as needed.</li>
<li>Work with System Administrators to ensure test and production boxes conform to the software application configuration needs.</li>
<li>Support the department-wide infrastructure application for database management, system monitoring and notification, job scheduling, deployment, provision and patching automation, application topology and service level management for campus-wide system performance.</li>
</ul>
<p><span style="text-decoration:underline;">Build/release activities</span></p>
<ul>
<li>Manage the build, tagging and release processes for a number of interdependent Java web applications and background processes in the QA and production environments. Ensure the build and release process is scalable and repeatable.</li>
<li>Work with the development team to ensure efficient and understandable build procedures are adhered to and conform to a standard process for configuration and release management</li>
<li>Develop and maintain tools that automate the building of software releases for an Agile-based development process. This is one of continuous integration, where the automated build process can be run many times a day if necessary.</li>
<li>Work with and support the QA team to ensure automated test suites run as part of the continuous integration build process.</li>
</ul>
<p><strong>REQUIREMENT FOR SKILL AND COMPETENCIES:</strong></p>
<ul>
<li>Expert hands-on with shell scripts, other scripting languages, preferably Perl, and tool automations</li>
<li>Minimum 2 years database administration experience in Oracle and 3 years Application administration experience in Unix/Linux infrastructure environments is required.</li>
<li>Hands-on experience of Oracle databases 10g for 24/7 database operations and tool automation in installation, configuration, backup/recovery, startup/shutdown, data refresh, and application integrations.</li>
<li>Experience with OEM/Grid Control is highly desired.</li>
<li>Knowledge and understanding of large scale ERP implementation and support like Oracle Financial and PeopleSoft systems.</li>
<li>Expert knowledge of Apache and Tomcat, and other web/application servers such as JBoss</li>
<li>Strong Unix and system administration skills with basic network and security knowledge</li>
<li>Strong experience and ability in web applications deployment, configuration and integration from both OpenSource and Commercial based systems with or without sophisticated vendor support.</li>
<li>Java/J2EE based programs</li>
<li>Java/servlet/JSP based web applications</li>
<li>Experience with Subversion, PVCS or similar source code repository</li>
<li>Experience with Maven and familiarity with automated build processes</li>
<li>Experience with the Agile development methodology and concepts of extreme programming and continuous integration</li>
<li>Understanding of the layers/tiers of web applications and the communication protocol between the tiers with networking protocols (TCP/IP, HTTP, SSL, DNS, FTP, etc.)</li>
<li>Ability to multi-task and work in a team environment is critical and should have excellent communication skills in both verbal and written forms.</li>
<li>Ability to manage multiple competing priorities and work under pressure in high stress situations</li>
<li>Excellent communication skills in both verbal and written</li>
<li>Ability to work under pressure and to deliver results in a complex and dynamic operational environment</li>
</ul>
<p><strong>Qualifications</strong></p>
<p>Minimum 5 years as an IT professional in build/release and application/database administration, plus one or more of the following areas: IT infrastructure operations 24/7, systems analysis and design, or application development.</p>
<p><strong>Education</strong><br />
Bachelors Degree in Computer Science, Engineering or related field or equivalent experience</p>
<p>If you are interested, please send your resume to <a href="mailto:tsotelo@mindsource.com?subject=Application Administrator">tsotelo@mindsource.com</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[lansering]]></title>
<link>http://alvkarleby.wordpress.com/2009/11/23/lansering/</link>
<pubDate>Mon, 23 Nov 2009 12:51:27 +0000</pubDate>
<dc:creator>swishwish</dc:creator>
<guid>http://alvkarleby.wordpress.com/2009/11/23/lansering/</guid>
<description><![CDATA[Nu har vi som sagt varit på press-release partyt som gick av stapeln i Uppsalen, Uppsala. Urschysst ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img style="display:block;margin-left:auto;margin-right:auto;border:0 initial initial;" title="mabraforetagare" src="http://alvkarleby.wordpress.com/files/2009/08/mabraforetagare.jpg" alt="mabraforetagare" width="400" height="150" /><br />
<a href="http://www.resursuppland.se/lokalaresurscentrum/default.aspx"><img class="alignright" title="margaretahede" src="http://alvkarleby.wordpress.com/files/2009/11/margaretahede.jpg" alt="" width="150" height="197" /></a>Nu har vi som sagt varit på<br />
press-release partyt som gick<br />
av stapeln i <a title="Uppsalen" href="http://www.uppsalen.se/">Uppsalen</a>, Uppsala.</p>
<p>Urschysst lokal, med toppenpersonal.</p>
<p>Paketöppning och invigningstal<br />
av Jämställdhetsdirektör<br />
Margareta Hede från<br />
Länsstyrelsen i Uppsala län.</p>
<p>Arrangör: Jenny Öijermark från</p>
<p><a title="JOI Communication" href="http://www.joi.se">JOI Communication.</a><br />
<a href="http://www.joi.se"><img class="alignright" title="JennyOijermark" src="http://alvkarleby.wordpress.com/files/2009/11/jennyoijermark.jpg" alt="" width="156" height="204" /></a></p>
<p><a href="http://www.resursuppland.se/lokalaresurscentrum/default.aspx"></a></p>
<p>JOI är också ansvarig tillsammans<br />
med <a title="Sånge Design" href="http://www.sangedesign.com/">SångeDesign</a> och <a title="Anne Nähri - Länstyrelsen Uppsala" href="http://www.c.lst.se/templates/newsPage.aspx?id=7441">Anne Närhi från<br />
Länstyrelsen</a> för den fina broschyren<br />
som kommer ut över hela länet<br />
&#62;klicka här <a href="http://alvkarleby.wordpress.com/files/2009/11/ma_bra_samtligawebb.pdf">MÅ_BRA_Webb</a>&#62;&#62;</p>
<p><strong>Press </strong>kom också,<br />
är inte säker på hur många,<br />
men vi blev iallafall intervjuade<br />
av <a title="Uppsala Nya Tidning" href="http://www2.unt.se/">UNT </a>och av <a title="Upplands Nyheter" href="http://www.upplandsnyheter.se/default.asp">Upplands nyheter</a>s<br />
jättetrevliga Rose-Marie Eriksson<strong>.<br />
</strong>.</p>
<p><a href="http://www.upplandsnyheter.se/kronika.asp"><img class="size-full wp-image-986 alignleft" title="kronika_rose" src="http://alvkarleby.wordpress.com/files/2009/11/kronika_rose.jpg" alt="" width="87" height="102" /></a></p>
<p>Vi återkommer om vi hittar nåt<br />
reportage i nån av tidningarna.</p>
<p><strong><br />
</strong></p>
<p>.</p>
<p><strong>.</strong></p>
<p><strong>Naturligt ledarskap<br />
<em>Horse Assisted Education på Lidingby Gård</em></strong></p>
<ul>
<li><strong><a title="Tant Berg's i Enköping" href="http://www.tantbergs.se" target="_blank">Tant Bergs </a>- </strong>Agneta Söderström</li>
<li><a title="Beth Hammarström &#38; Relationer" href="http://www.bethhammarstrom.webs.com/"><strong>Beth &#38; Relationer</strong></a> &#8211; Beth Hammarström</li>
<li><strong><a title="Lidingby Gård i Enköping" href="http://www.lidingby.nu" target="_blank">Lidingby Gård</a></strong> &#8211; Anna-Märta Vallin</li>
<li><a title="Jenuin i Enköping" href="http://jenuin.se/" target="_blank"><strong>Jenuin </strong></a>- Jennie Månsson</li>
<li><strong><a title="Espmark innovation" href="http://espmark.eu/" target="_blank">Espmark Innovation</a></strong> &#8211; Catarina Espmark</li>
</ul>
<p style="text-align:left;"><strong>Vårda ditt inre &#38; yttre<br />
<em><span style="font-weight:normal;">Hitta Din personliga stil som företagare </span></em></strong></p>
<ul>
<li><strong><a title="Lastberget konferens i Bålsta" href="http://www.lastberget.com/" target="_blank">Lastberget </a></strong>- Eva</li>
<li><a title="Ask &#38; Co" href="http://www.askco.se"><strong>Ask &#38; Co</strong></a> &#8211; Ann-Mari Sundgren</li>
<li><a title="Visit Håbo" href="http://visithabo.se"><strong>Visit Håbo</strong></a> &#38; <strong><a title="Resekonferens" href="http://www.resekonferens.se">PvA Resekonferens </a></strong>- Birgitta Persson</li>
<li><strong><a title="Simone masage &#38; friskgård" href="http://www.simoneb.se">Simone massage &#38; friskvård </a></strong>- Simone</li>
<li><strong><a title="Sollanns terapier" href="http://www.sollannsterapier.se">Sollanns terapier</a></strong> &#8211; Ingela Gullberg</li>
<li><a title="JSP" href="http://www.jsp.nu"><strong>JSP</strong> </a>- Lena</li>
<li><strong><a title="Suss Aloe Vera Shop" href="http://www.myaloevera.se/eqvilibrium/hem">Suss Aloe Vera Shop</a></strong> &#8211; Susanne Lundvall</li>
</ul>
<p><strong>Tjejfredag &#8211; av kvinnor för kvinnor<br />
<span style="font-weight:normal;"><em>En coachingplan för ditt liv</em></span></strong></p>
<ul>
<li><strong><a title="AWeK Hälsa &#38; Utveckling" href="http://www.kekkonencoach.com">AWEK Hälsa &#38; Utveckling</a></strong><a title="AWeK Hälsa &#38; Utveckling" href="http://www.kekkonencoach.com"> </a>- Anneli Westberg Kekkonen</li>
<li><strong><a title="Kakelkonst" href="http://www.kakelkonst.se">Kakelkonst </a></strong><strong>- </strong>Katarina Persson</li>
<li><strong><a title="In Health" href="http://www.in-health.se/" target="_blank">InHealth Massage och friskvård</a></strong> &#8211; Ingela Johansson</li>
<li><strong><a title="Maya Rummet" href="http://www.mayarummet.com/" target="_blank">Maya Rummet </a></strong>- Maud Lager</li>
<li><strong><a title="Gammel Tammen, Österbybruks Herrgård" href="http://www.gammeltammen.se/" target="_blank">Wärdshuset Gammel Tammen</a></strong> &#8211; Anna Rask</li>
</ul>
<p><strong>Kreativt hållbart företagande</strong><br />
<em>Kvinnor kraft &#38; energi i Älvkarleby </em></p>
<ul>
<li><strong><a title="Café Furiren" href="http://www.cafefuriren.com" target="_blank">Café Furiren</a> -</strong> Annette Landberg</li>
<li><strong><a title="Galleri Skogsfrun" href="http://www.galleri-skogsfrun.vpsite.se" target="_blank">Atelje Skogsfrun</a> &#8211; </strong>Lisa Carlén</li>
<li><strong><a title="Interesting.org" href="http://www.interesting.org" target="_blank">Interesting</a> -</strong> Sanna Rudling</li>
<li><strong><a title="Kvinnolin Design - Linnekläder" href="http://www.kvinnolin.se" target="_blank">Kvinnolin</a> </strong>- Anita Hansson</li>
<li><a title="Finsun Inresol AB" href="http://www.inresol.se"><strong>Finsun Inresol</strong></a> -  SusAnne Maston</li>
<li><strong><a title="Villa Harmoni" href="http://www.villaharmoni.se">Villa Harmoni </a></strong>- Carina Björklund &#38; Lisbeth Pedersen</li>
</ul>
<p><strong>Aktivt hållbart företagande</strong><br />
<em>Kvinnor kraft &#38; energi i Älvkarleby </em></p>
<ul>
<li><strong><a title="Café Furiren" href="http://www.cafefuriren.com" target="_blank">Café Furiren</a> -</strong> Annette Landberg</li>
<li><strong><a title="Basjkir Turridning" href="http://www.turridning.nu" target="_blank">Turridning </a><span style="font-weight:normal;">&#38;</span></strong><strong><a title="Fyrhjulingssafari Karlsäter Gård" href="http://www.fyrhjulingssafari.nu" target="_blank"> Fyrhjulingssafari</a> &#8211; </strong>Veronica Meijer</li>
<li><strong><a title="ASOS kliniken" href="http://www.asoskliniken.se/" target="_blank">ASOS kliniken</a> &#8211; </strong>BrittMarie Hällman-Eliasson</li>
<li><a title="Villa Harmoni" href="http://www.villaharmoni.se"><strong>Villa Harmoni </strong></a>- Carina Björklund &#38; Lisbeth Pedersen</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flex accessing JAVA data]]></title>
<link>http://nextgenerationweb.wordpress.com/2009/11/21/flex-accessing-java-data/</link>
<pubDate>Sat, 21 Nov 2009 11:21:02 +0000</pubDate>
<dc:creator>osurikiran</dc:creator>
<guid>http://nextgenerationweb.wordpress.com/2009/11/21/flex-accessing-java-data/</guid>
<description><![CDATA[The &lt;mx: HTTPService&gt;  tad provides REST type service to access a server resources directly wi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The &#60;mx: HTTPService&#62;  tad provides REST type service to access a server resources directly with an unique identifier such as URL, HTTPService in flex application can access any server data such as ASP,JSP, Servlet, PHP,  ASP.Net, if the specified server resource is found then it will fetches the data ,return the data to flex, else it throws an fault error.</p>
<p>&#60;mx: HTTPService&#62;  allows to define type of access GET, POST, return format, header information also supports to pass parameters to the server resource.  HTTPService&#8217;s  &#8217;send&#8217; method should be called to initiate request to server, upon successful data response it triggers &#8216;ResultEvent&#8217; , to registered a listener for the event define the listener function in  &#8217;result&#8217;  property, similarly it triggers a &#8216;FaultEvent&#8217; when any problem occur during request and response process define a listener function in &#8216;fault&#8217; property.</p>
<p>In this post  I am trying to present simple JSP page accessing, witch contains simple xml data, in real application JSP can be any complex code structure,</p>
<p>In NetBeans or  Eclips IDE or any java Editor  define a empty JSP page,   and write a xml data with no additional code .  like</p>
<h4>index.jsp</h4>
<blockquote>
<div id="_mcePaste">&#60;products&#62;</div>
<div id="_mcePaste">&#60;product&#62;</div>
<div id="_mcePaste">&#60;name&#62;Apple IPhone&#60;/name&#62;</div>
<div id="_mcePaste">&#60;price&#62;32000&#60;/price&#62;</div>
<div id="_mcePaste">&#60;description&#62; First tuch screen hand held device, dveloped using Objective C&#60;/description&#62;</div>
<div id="_mcePaste">&#60;/product&#62;</div>
<div>&#8212;&#8212;&#8211;</div>
<div>&#8212;&#8212;-</div>
<div>&#60;/<span style="background-color:#ffffff;">products &#62;</span></div>
</blockquote>
<div><span style="background-color:#ffffff;">Save the file and project, make sure error free and deploy the file in server and test it, it will displays the data in the jsp page as text,</span></div>
<div><span style="background-color:#ffffff;">now copy the url address it is used as a value of url property of &#60;mx: HTTPService&#62; tag.</span></div>
<p>In Flex Builder IDE create anew project in  main application mxml file define code below, In &#8216;creationComplete&#8217;  event initiate the <span style="background-color:#ffffff;">&#60;mx: HTTPService&#62; request by calling &#8217;send()&#8217; method , and opon success full data retrieval assign it to DataGrid dataprovider property.</span></p>
<blockquote><p>&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;</p>
<p>&#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;productsSrv.send()&#8221;&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:Script&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;![CDATA[</p>
<p><span style="white-space:pre;"> </span>import mx.collections.ArrayCollection;</p>
<p><span style="white-space:pre;"> </span>import mx.controls.Alert;</p>
<p><span style="white-space:pre;"> </span>import mx.rpc.events.FaultEvent;</p>
<p><span style="white-space:pre;"> </span>import mx.rpc.events.ResultEvent;</p>
<p><span style="white-space:pre;"> </span>[Bindable]</p>
<p><span style="white-space:pre;"> </span>private var productsCollection:ArrayCollection;</p>
<p><span style="white-space:pre;"> </span>private function resultHandler(event:ResultEvent):void</p>
<p><span style="white-space:pre;"> </span>{  <span style="background-color:#ffffff;"><span style="white-space:pre;"> </span>productsCollection = (event.result.products.product) as ArrayCollection;</span></p>
<p><span style="white-space:pre;"> </span>}</p>
<p><span style="white-space:pre;"> </span>private function faultHandler(event:FaultEvent):void</p>
<p><span style="white-space:pre;"> </span>{</p>
<p><span style="white-space:pre;"> </span>Alert.show(&#8220;Error:\n<span style="white-space:pre;"> </span>&#8220;+event.fault);</p>
<p><span style="white-space:pre;"> </span>}</p>
<p><span style="white-space:pre;"> </span>]]&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;/mx:Script&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:HTTPService id=&#8221;productsSrv&#8221; url=&#8221;http://localhost:8080/Products/&#8221; result=&#8221;resultHandler(event)&#8221; fault=&#8221;faultHandler(event)&#8221; /&#62;</p>
<p><span style="white-space:pre;"> </span>&#60;mx:DataGrid dataProvider=&#8221;{productsCollection}&#8221; horizontalCenter=&#8221;0&#8243; verticalCenter=&#8221;0&#8243;  width=&#8221;684&#8243; height=&#8221;386&#8243;/&#62;</p>
<p>&#60;/mx:Application&#62;</p></blockquote>
<p>save the application and run it</p>
<p>you will get the data it JSP page</p>
<p style="text-align:center;"><a href="http://nextgenerationweb.wordpress.com/files/2009/11/new-picture1.png"><img class="aligncenter size-medium wp-image-64" title="Flex accessing JAVA data" src="http://nextgenerationweb.wordpress.com/files/2009/11/new-picture1.png?w=300" alt="" width="450" height="255" /></a></p>
<p>in next post we will see some complex app</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JavaBean in JSP : a simple tutorial]]></title>
<link>http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/</link>
<pubDate>Fri, 20 Nov 2009 16:43:10 +0000</pubDate>
<dc:creator>manoj1987</dc:creator>
<guid>http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/</guid>
<description><![CDATA[Hi ! Purpose of this tutorial : To give the reader a better understanding of using Java beans in JSP]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#333300;">Hi !</span></p>
<p><span style="color:#333300;"><span style="color:#993300;"><strong>Purpose of this tutorial</strong> :</span> To give the reader a better understanding of using Java beans in JSP.</span></p>
<p><span style="color:#333300;"><span style="color:#993300;"><strong>Advantage</strong> :</span> This tutorial serves as an instant learning tutorial for those who would want to learn about using  Java bean in JSP.</span></p>
<p><span style="color:#333300;"><span style="color:#993300;"><strong>Sources</strong> :</span> The code used in this short tutorial has been extracted from <cite></cite><em>www.jsptut.com</em></span></p>
<p><span style="color:#333300;"><span style="color:#993300;"><strong>What is a Java Bean ?</strong></span><br />
Java bean are classes written in the Java programming language conforming to a particular convention. A Java bean has a set of properties that can be read or changed. It is also possible to discover the properties a bea has available, which well suits beans for modeling all kinds of real world things that can also be described as a set of properties.</span></p>
<p><span style="color:#993300;"><strong>Illustration:</strong></span></p>
<p><span style="color:#333300;"><em><strong>What we will be doing?</strong></em></span></p>
<p><span style="color:#333300;">We will create a simple html page(<em>getName.htm</em>l) that is used to get user&#8217;s name, email and age.  When we submit that data, it invokes a JSP page(<em>SaveName.jsp</em>) that inserts the user entered data into a bean. We provide a &#8220;click here to continue&#8221; link in that same page, which when clicked would invoke another JSP page (<em>NextPage.jsp</em>) that retrieves the data that was inserted into the bean and displays it!</span></p>
<p><span style="color:#333300;">The implementation is simple and straight forward!</span></p>
<p><span style="color:#333300;"><em><strong>Tools needed:</strong></em></span></p>
<p><span style="color:#333300;">I have tested this code successfully in<span style="color:#008000;"> Tomcat 6.0</span> configured suitably with <span style="color:#008000;">jdk1.5.0_14 <span style="color:#000000;">and</span> jre1.5.0_14</span>.</span></p>
<p><span style="color:#333300;">code :</span></p>
<p><span style="color:#333300;"><span style="color:#339966;"><em>getName.html</em></span><br />
</span></p>
<p><span style="color:#333300;"><a rel="attachment wp-att-1590" href="http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/getname-2/"><img class="aligncenter size-full wp-image-1590" title="getName_html" src="http://getch.wordpress.com/files/2009/11/getname1.png" alt="" width="480" height="165" /></a></span></p>
<p><span style="color:#333300;"><br />
</span></p>
<p><span style="color:#339966;"><em>SaveName.jsp</em></span></p>
<p><span style="color:#333300;"><a rel="attachment wp-att-1591" href="http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/savename/"><img class="aligncenter size-full wp-image-1591" title="SaveName_jsp" src="http://getch.wordpress.com/files/2009/11/savename.png" alt="" width="480" height="161" /></a></span></p>
<p><span style="color:#333300;"><br />
</span></p>
<p><span style="color:#339966;"><em>NextPage.jsp</em></span></p>
<p><span style="color:#333300;"><a rel="attachment wp-att-1592" href="http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/nextpage/"><img class="aligncenter size-full wp-image-1592" title="NextPage_JSP" src="http://getch.wordpress.com/files/2009/11/nextpage.png" alt="" width="480" height="154" /></a></span></p>
<p><span style="color:#333300;"><br />
</span></p>
<p><span style="color:#333300;">Keep the above files in your webserver directory. My webserver classpath is <span style="color:#339966;">C:\Tomcat 6.0\webapps\ROOT\</span> . Now we must develop a Java code to store the values obtained from the form. We then compile that Java code to obtain its &#8220;class&#8221; file. This class file is the real beauty of Java. Its contents look somewhat junk type when viewed using any editor. And that means that its not easy to hack your data from it(say, a password was sent from the form). </span></p>
<p><span style="color:#333300;">The contents of the Java code are very important. We define a Java class with fields &#8220;username&#8221;,&#8221;email&#8221; and &#8220;age&#8221; which must correspond exactly to the field names in getName.html. We define two types of methods in this Java code viz, a &#8220;setter&#8221; method and a &#8220;getter&#8221; method.</span></p>
<p><span style="color:#333300;"> In simple, </span></p>
<p><span style="color:#333300;">* The<span style="color:#339966;"> setter </span>method is a method that starts with the keyword &#8220;set&#8221; followed by the field name. In our example the setter methods would be setUsername,setEmail and setAge. Now compare this with the field names in getName.html. The only point you must note here is  the first letter, following &#8220;set&#8221;, is in uppercase. These setter methods insert the user entered data into the corresponding variable names into the bean.</span></p>
<p><span style="color:#333300;">At this point, by reasoning you should have understood that a bean is an instance of the Java class(correct me if i am wrong).</span></p>
<p><span style="color:#333300;">* The <span style="color:#339966;">getter</span> method is a method that returns the values stored in the javabean, to the entity that invoked it(<em>NextPage.jsp</em> in this case). The getter methods are named in the same way as setter methods except that the keyword &#8220;set&#8221; is replaced by &#8220;get&#8221;. So now we have getUsername,  getEmail, getAge</span></p>
<p><span style="color:#333300;">The java code is shown below:</span></p>
<p><span style="color:#333300;"><span style="color:#339966;"><em>UserData.java</em></span><br />
</span></p>
<p><span style="color:#333300;"><a rel="attachment wp-att-1595" href="http://getch.wordpress.com/2009/11/20/javabean-in-jsp-a-simple-example/userdata_java/"><img class="aligncenter size-full wp-image-1595" title="UserData_java" src="http://getch.wordpress.com/files/2009/11/userdata_java.png" alt="" width="461" height="451" /></a></span></p>
<p><span style="color:#333300;">Now compile the above Java code and place the code inside a folder named &#8220;user&#8221; because we have declared a java package by that name. This folder (along with the java class)should be placed in the following location:</span></p>
<p><span style="color:#339966;">&#60;Application_Base\application_name&#62;\WEB-INF\classes\</span></p>
<p><span style="color:#333300;">For me its :</span></p>
<p><span style="color:#339966;">C:\Tomcat 6.0\webapps\ROOT\WEB-INF\classes\</span></p>
<p><span style="color:#333300;">If the folder &#8220;classes&#8221; is not present then create one.</span></p>
<p><span style="color:#333300;">That is it invoke the getName.html file from the browser after starting Tomcat server and see the code in action. JSP rocks!</span></p>
<p><span style="color:#993300;"><strong>Output:</strong></span></p>
<p><span style="color:#333300;">See the output <a href="http://img697.imageshack.us/img697/3249/getnamehtmloutput.png" target="_blank">here</a> , <a href="http://img524.imageshack.us/img524/1464/savenamejspoutput.png" target="_blank">here</a> and <a href="http://img99.imageshack.us/img99/9266/nextpagejspoutput.png" target="_blank">here</a>.<br />
</span></p>
<p><span style="color:#993300;"><strong>What I have not explained here?</strong></span></p>
<p><span style="color:#333300;">I have not explained the meaning of the java bean tags in the jsp code given about. Their meanings and pupose are quite intuitive,if not just google to find more info on them.</span></p>
<p><span style="color:#993300;"><strong>How could i make use of this idea?</strong></span></p>
<p><span style="color:#333300;">You can use the idea gathered from this tutorial for designing a user login page using java beans. Creativity has no bounds.</span></p>
<p><span style="color:#993300;"><strong>References:</strong></span></p>
<ul>
<li><span style="color:#333300;"><a href="http://www.jsptut.com/" target="_blank">The best site for learning JSP</a></span></li>
<li><span style="color:#333300;"><a href="http://eng.vnulib.edu.vn/nguon_tai_nguyen/tl_dt/e_book/mlfolder.2005-04-04.3754370259/mlfolder.2005-04-04.0179214974/Addison%20Wesley%20JavaServer%20Pages%202nd%20Edition.pdf" target="_blank">More on JSP learning </a><br />
</span></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ENCTYPE="multipart/form-data"]]></title>
<link>http://neatly0607.wordpress.com/2009/11/20/enctypemultipartform-data/</link>
<pubDate>Thu, 19 Nov 2009 17:06:36 +0000</pubDate>
<dc:creator>奇跡戦士風の子</dc:creator>
<guid>http://neatly0607.wordpress.com/2009/11/20/enctypemultipartform-data/</guid>
<description><![CDATA[用于表单里有檔案或图片上传。 &lt;form name=&#8221;userInfo&#8221; method=&#8221;post&#8221; action=&#8221;first_su]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<p>用于表单里<span style="color:#ff0000;">有檔案或图片上传</span>。</p>
<p>&#60;form name=&#8221;userInfo&#8221; method=&#8221;post&#8221; action=&#8221;first_submit.jsp&#8221;   ENCTYPE=&#8221;multipart/form-data&#8221;&#62;<br />
表单标签中<span style="color:#ff0000;">设置enctype=&#8221;multipart/form-data&#8221;来确保匿名上载文件的正确编码</span>。<br />
如下：<br />
&#60;tr&#62;<br />
&#60;td height=&#8221;30&#8243; align=&#8221;right&#8221;&#62;上传图片：&#60;/td&#62;<br />
&#60;td&#62;&#60;INPUT TYPE=&#8221;FILE&#8221; NAME=&#8221;uploadfile&#8221; SIZE=&#8221;34&#8243;   onChange=&#8221;checkimage()&#8221;&#62;&#60;/td&#62;<br />
&#60;/tr&#62;<br />
就得加ENCTYPE=&#8221;multipart/form-data&#8221;。</p>
<p><span style="color:#ff0000;">表 单中enctype=&#8221;multipart/form-data&#8221;的意思，是设置表单的MIME编码</span>。<span style="color:#008000;">默认情况，这个编码格式是application /x-www-form-urlencoded，不能用于文件上传；</span>只有使用了multipart/form-data，才能完整的传递文件数据，进行下 面的操作.<br />
enctype=\&#8221;multipart/form-data\&#8221;是<span style="color:#ff0000;">上传二进制数据</span>; form里面的input的值以2进制的方式传过去。<br />
form里面的input的值以2进制的方式传过去，所以request就得不到值了。 也就是说加了这段代码,用request就会传递不成功,<br />
取表单值加入数据库时，用到下面的：<br />
SmartUpload su = new SmartUpload();//新建一个SmartUpload对象<br />
su.getRequest().<span style="color:#993366;">getParameterValues()</span>;取数组值<br />
su.getRequest().getParameter( );取单个参数单个值</p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hisashiburi da ne&hellip;]]></title>
<link>http://themargaritamix.wordpress.com/2009/11/18/hisashiburi-da-ne/</link>
<pubDate>Wed, 18 Nov 2009 12:11:00 +0000</pubDate>
<dc:creator>Margarita</dc:creator>
<guid>http://themargaritamix.wordpress.com/2009/11/18/hisashiburi-da-ne/</guid>
<description><![CDATA[It’s been quite a while now since last time I updated, sorry about that. I haven’t really been in th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It’s been quite a while now since last time I updated, sorry about that. I haven’t really been in the blogging-mood, and have tried to avoid my computer when I’ve been at home (which is where I usually blog). Anyway, here comes the update:</p>
<p>My old friend and colleague from Stallarna, <em>Malin, </em>came for a visit almost two weeks ago! She’s currently doing her exchange-studies in Taipei (in Taiwan for those who doesn’t know) together with her boyfriend <em>Hasse.</em>&#160; Since she found a very cheap flight to Tokyo, she decided to pay me a visit for a long-weekend. On Thursday afternoon she arrived in Kawagoe, after having taken the bus from the airport all alone. We strolled around Crea Mall for a while, had dinner at the kaitensushi (sushi-go-round) at the station, then headed off home to socialize with my hostfmily. My hostfamily, by the way, is the nicest ever, they let her stay at our place during the three nights that she was here! <em>Arigatou gozaimasu!</em> On Friday I hooked Malin up with <em>Kozue</em> during the morning until early afternoon, while I had class, but I joined them in Shibuya as soon as I could. We stayed in town for quite a while, then headed back home to Kasumi for some <em>yakiniku</em> (grilled meat) and karaoke with <em>Monchan </em>and <em>Kai</em>.</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/pb067239.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PB067239" border="0" alt="PB067239" src="http://themargaritamix.files.wordpress.com/2009/11/pb067239_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> <em>Yakiniku…before…</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/pb067240.jpg"><img style="display:inline;border-width:0;" title="PB067240" border="0" alt="PB067240" src="http://themargaritamix.files.wordpress.com/2009/11/pb067240_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> </p>
<p align="center"><em>…and after. You grill the meat by yourself on the table!</em></p>
<p align="left">&#160;</p>
<p align="left">On Saturday I had a Chinese theatre-play to attend at TIU together with my hostfamily, so I sent Malin off to Ikebukuro by herself, where she met up with our friend <em>Yu</em>, who was an exchange-student back in Växjö last year. Again, I hurried to meet up with them as soon as I could, this time in Asakusa. We headed to Ueno Kouen and Shunjuku, where we later met up with <em>Haruka </em>and <em>Maiko</em>. Dinner at an Italian place this time, so we wouldn’t have to worry about Malin dying due to her horrible peanut- and soy-allergy, then again off to….karaoke!</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/pb077271.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PB077271" border="0" alt="PB077271" src="http://themargaritamix.files.wordpress.com/2009/11/pb077271_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> <em>Karaoke-time! Good time!</em></p>
<p align="left">On Sunday we didn’t have much time before Malin had to catch the bus back to the airport, so we stayed in Kawagoe, where we strolled around some shrines/temples and in the old town, very nice! Her visit was short, but intense and nice! In two days she managed to see Ginza, Harajuku, Shinjuku, Shibuya, Asakusa, Meiji jinguu, Kawagoe and much more! It was great to have one of my old friends here visiting, come back soon again! Of course we also had time for some purikura:</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/beauty_r_002.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="Beauty_R_002" border="0" alt="Beauty_R_002" src="http://themargaritamix.files.wordpress.com/2009/11/beauty_r_002_thumb.jpg?w=175&#038;h=244" width="175" height="244" /></a> <em>When in Japan, you do as the Japanese…</em></p>
<p align="left">&#160;</p>
<p align="left">After her visit was over, I had to get back to my studies and concentrate on writing a fun skit for my groups’ <em>happyoukai, </em>where we had to do a speech or a skit, in Japanese, in front of all our hostfamilies and friends… My class divided up in to two groups and made skits, the C and D class had to to speeches and the classes below us could choose one or the other. There were lots of speeches, but luckily a fistful of skits as well, to wake people up! Our skit was obviously the best one (^_^)v&#160; It was about <em>Erik </em>and <em>Kisa</em>, who argued about what channel to watch, while changing them. He wanted to watch <em>sumo</em> and she wanted to watch some girly <em>drama</em>. We started off with the news however, and some commercials in between. <em>Sina, Jay </em>and did the different programs, and were quite busy in between the changes from being a sumo-wrestler to a girl in a love-triangle-drama. It all ended with a boring Godzilla-movie. Very funny, if I get hold of the video I’ll post it at some point. All the other people did a good job as well, and we were all impressed with the A-class’ skit/speeches, where they played Mario Kart IRL so to speak. unfortunately my camera decided to die the day before all this, so I have no pictures of my own… (T_T)</p>
<p align="left">The next update is about my camera, which died. I’m a photo-freak and <em>love</em> to take photos, so obviously this was a disaster for me! On Sunday, the day after the happyoukai, I rushed to Akihabara with <em>Vedette</em> in search for a new one, and immediately fell for the new <em>Canon Ixy Digital 930IS</em>! It’s simply awesome, can take photos in a wide-screen mode, swap colours on stuff, accentuate a specific colour and much, much more. I have yet to discover all the functions… On our way to Akihabara we bumped in to <em>Chris W</em> and <em>Daniel</em>, who were also on their way there. They managed to find the spot where you can get the magic (and a liiiittle bit illegal) RY-cards for the Nintendo DS-consoles, and I finally could get my very own. In a few seconds my DSi became a whole lot more interesting and oh so time-consuming… Long live the R4-cards! </p>
<p>Today, Wednesday, it was time for our<em> washi/mikan-</em>trip with the JSP. 9.30 in the morning the bus headed out from TIU, and 1.5 hours later we arrived somewhere in the mountains, where we first stopped at a place to make our own paper <em>(washi)</em>, then went to another place to pick <em>mikan</em> (small oranges). On the way back we stopped for some tofu-icecream, and then most people fell asleep in the bus… Obviously on the way there everyone with a DS was busy playing, until we ran out of batteries… I joined a game of Mario Kart and lost terribly… I need more practice I guess… </p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0045.jpg"><img style="display:inline;border-width:0;" title="IMG_0045" border="0" alt="IMG_0045" src="http://themargaritamix.files.wordpress.com/2009/11/img_0045_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a></p>
<p align="center"><em>Very concentrated boys…</em></p>
<p align="center"><em></em></p>
<p align="left">The paper-making place was quite interesting, it was fun to make paper itself then decorate the little postcards that we had made. Too bad that we all forgot to actually leave any space on the cards where to write on…oh well…</p>
<p align="center">&#160;<a href="http://themargaritamix.files.wordpress.com/2009/11/img_0056.jpg"><img style="display:inline;border-width:0;" title="IMG_0056" border="0" alt="IMG_0056" src="http://themargaritamix.files.wordpress.com/2009/11/img_0056_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a> </p>
<p align="center"><em>Brent making paper…</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0058.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="IMG_0058" border="0" alt="IMG_0058" src="http://themargaritamix.files.wordpress.com/2009/11/img_0058_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a> </p>
<p align="center"><em>Erik, Alyssa and Brent decorating their papers.</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0075.jpg"><img style="display:inline;border-width:0;" title="IMG_0075" border="0" alt="IMG_0075" src="http://themargaritamix.files.wordpress.com/2009/11/img_0075_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a> </p>
<p align="center"><em>My postcards…</em></p>
<p align="left">&#160;</p>
<p align="left">We headed further up in the mountains to pick the oranges (or whatever they’re called in English), and were allowed to bring one small bag home, and eat as many as we wanted while picking…</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0141.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="IMG_0141" border="0" alt="IMG_0141" src="http://themargaritamix.files.wordpress.com/2009/11/img_0141_thumb.jpg?w=139&#038;h=244" width="139" height="244" /></a> <em>Chris W taking a break from picking/eating mikan</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0146.jpg"><img style="display:inline;border-width:0;" title="IMG_0146" border="0" alt="IMG_0146" src="http://themargaritamix.files.wordpress.com/2009/11/img_0146_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a> </p>
<p align="center"><em>Faaaar away in the back is Tokyo!</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0158.jpg"><img style="display:inline;border-width:0;" title="IMG_0158" border="0" alt="IMG_0158" src="http://themargaritamix.files.wordpress.com/2009/11/img_0158_thumb.jpg?w=139&#038;h=244" width="139" height="244" /></a> </p>
<p align="center"><em>Tofu-icecream!</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/11/img_0167.jpg"><img style="display:inline;border-width:0;" title="IMG_0167" border="0" alt="IMG_0167" src="http://themargaritamix.files.wordpress.com/2009/11/img_0167_thumb.jpg?w=244&#038;h=139" width="244" height="139" /></a> </p>
<p align="center"><em>Tired after a long day of fun…</em></p>
<p align="left">&#160;</p>
<p align="left">This trip marked the beginning of the last month of JSP-fall semester…most people will be going home, only 12 of us will stay for next semester, when 9 new people (all Americans!!! I will be the only European!!! KAI DON’T LEAVE ME!!!!) will join us. It’s quite sad, knowing that we probably will never meet again, but then again…never say never… My dad met one of his old classmates from his exchange-studies-time in Russia over 30 years ago, earlier this year… Besides, we have Skype nowadays, right? </p>
<p align="left">Some awesome news by the way: I got a job in Nagano for the winter-break! I will be doing some volunteer-work in a pension over there (at this place: <a title="http://en.azekura.com/index.html" href="http://en.azekura.com/index.html">http://en.azekura.com/index.html</a>) and will receive no payment, but free food and accommodation. Will be great to see something new and isolate myself amongst only Japanese people, I hope to improve my Japanese tons during this time! On the downside: it’ll be damn <em>cold!</em> I need to shop for some warm sweaters…didn’t really bring that many…</p>
<p>Well, I feel that I’m still very uninspired, so I’ll just stop here. Hopefully I’ll come out of this uninspired-ness soon and will start blogging more regularly again. Tata for now!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Modul Kuliah JSP yang Ke-1]]></title>
<link>http://uqifumi.wordpress.com/2009/11/18/modul-kuliah-jsp-yang-ke-1/</link>
<pubDate>Wed, 18 Nov 2009 11:48:24 +0000</pubDate>
<dc:creator>uqifumi</dc:creator>
<guid>http://uqifumi.wordpress.com/2009/11/18/modul-kuliah-jsp-yang-ke-1/</guid>
<description><![CDATA[Untuk download modul kuliah pemrograman web menggunakan JSP silahkan klik link di bawah ini: modul J]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Untuk download modul kuliah pemrograman web menggunakan JSP silahkan klik link di bawah ini:</p>
<p><a href="http://uqifumi.wordpress.com/files/2009/11/jsp_1.pdf">modul JSP ke-1</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[LSNED 15: Using the Struts datetimepicker in Struts v2.1]]></title>
<link>http://yaytay.wordpress.com/2009/11/18/lsned-15-using-the-struts-datetimepicker-in-struts-v2-1/</link>
<pubDate>Wed, 18 Nov 2009 11:01:59 +0000</pubDate>
<dc:creator>yaytay</dc:creator>
<guid>http://yaytay.wordpress.com/2009/11/18/lsned-15-using-the-struts-datetimepicker-in-struts-v2-1/</guid>
<description><![CDATA[This morning I learned how to get a datetimepicker working in a Struts 2.1 application. Firstly, the]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This morning I learned how to get a datetimepicker working in a Struts 2.1 application.</p>
<p>Firstly, the dojo library needs to be added to the project, so add the following to your pom.xml:</p>
<pre class="brush: xml;">
&#60;dependency&#62;
        &#60;groupId&#62;org.apache.struts&#60;/groupId&#62;
        &#60;artifactId&#62;struts2-dojo-plugin&#60;/artifactId&#62;
        &#60;version&#62;2.1.8&#60;/version&#62;
    &#60;/dependency&#62;
</pre>
<p>Next add the dojo tags library to the JSP pages that need it:</p>
<pre class="brush: xml;">
&#60;%@taglib prefix=&#34;sx&#34; uri=&#34;/struts-dojo-tags&#34; %&#62;
</pre>
<p>And reference it from your form:</p>
<pre class="brush: xml;">
            &#60;sx:datetimepicker label=&#34;Expires&#34; name=&#34;expiryDate&#34; value=&#34;expiryDate&#34; displayFormat=&#34;yyyy-MM-dd&#34; labelSeparator=&#34;&#34; labelposition=&#34;left&#34; /&#62;
</pre>
<p>Take notice of the following points from <a href="http://struts.apache.org/2.x/docs/datetimepicker.html">http://struts.apache.org/2.x/docs/datetimepicker.html</a>:</p>
<ul>
<li>The head tag must be included on the page, which can be configured for performance or debugging purposes.</li>
<li>If the parseContent parameter for the head tag is false (it is false by default), then the id tag is required.</li>
</ul>
<p>The bit I missed at first is that the head tag that must be included is the one from the plugin, not just the normal struts one, so I end up with:</p>
<pre class="brush: xml;">
        &#60;s:head /&#62;
        &#60;sx:head /&#62;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[getServletContext()和getServletConfig()的意思]]></title>
<link>http://neatly0607.wordpress.com/2009/11/18/getservletcontext%e5%92%8cgetservletconfig%e7%9a%84%e6%84%8f%e6%80%9d/</link>
<pubDate>Wed, 18 Nov 2009 03:21:31 +0000</pubDate>
<dc:creator>奇跡戦士風の子</dc:creator>
<guid>http://neatly0607.wordpress.com/2009/11/18/getservletcontext%e5%92%8cgetservletconfig%e7%9a%84%e6%84%8f%e6%80%9d/</guid>
<description><![CDATA[getServletConfig()在servlet初始化时，容器传递进来一个ServletConfig对象并保存在servlet实例中，该对象允许访问两项内容：初始化参数和 ServletConte]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<div><span style="color:#ff0000;"><strong>getServletConfig()</strong></span>在servlet初始化时，容器传递进来一个ServletConfig对象并保存在servlet实例中，该对象允许访问两项内容：初始化参数和 ServletContext对象，前者通常由容器在文件中指定，允许在运行时向sevrlet传递有关调度信息，比如说<span style="color:#0000ff;">getServletConfig().getInitParameter(&#8220;debug&#8221;)</span>后者为servlet提供有关容器的信息。此方法可以让servlet在任何时候获得该对象及配置信息。
<p>&#160;</p>
</div>
<div><span style="color:#ff0000;"><strong>getServletContext()</strong></span></div>
<div>一个servlet可以使用getServletContext（）方法得到web应用的servletContext<br />
即而使用getServletContext的一些方法来获得一些值<br />
比如说<span style="color:#0000ff;">getServletContext().getRealPath(&#8220;/&#8221;)</span>来获得系统绝对路径<br />
<span style="color:#0000ff;">getServletContext().getResource(&#8220;WEB-INF/config.xml&#8221;)</span>来获得xml文件的内容</div>
<div>文章出處:</div>
<div>http://www.blogjava.net/shichengjun1984/articles/159935.html</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[LSNED 13: Moving an action in struts 2 with conventions]]></title>
<link>http://yaytay.wordpress.com/2009/11/16/lsned-13-moving-an-action-in-struts-2-with-conventions/</link>
<pubDate>Mon, 16 Nov 2009 06:04:03 +0000</pubDate>
<dc:creator>yaytay</dc:creator>
<guid>http://yaytay.wordpress.com/2009/11/16/lsned-13-moving-an-action-in-struts-2-with-conventions/</guid>
<description><![CDATA[This might be blindingly obvious, but maybe it&#8217;s so obvious that I didn&#8217;t think it work!]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This might be blindingly obvious, but maybe it&#8217;s so obvious that I didn&#8217;t think it work!</p>
<p>I have an action, &#8220;root.actions/UsersListAction.java&#8221; that is accessible as <a href="http://localhost:8080/root/users-list.action">http://localhost:8080/root/users-list.action</a>.<br />
For reasons that will become clear tomorrow I need to move it to <a href="http://localhost:8080/root/admin/users-list.action">http://localhost:8080/root/admin/users-list.action</a></p>
<p>I&#8217;m using the conventions Struts 2 plugin, and doing this is as simple as:</p>
<ul>
<li>Move &#8220;root.actions/UsersListAction.java&#8221; to &#8220;root.actions.admin/UsersListAction.java&#8221;.</li>
<li>Move &#8220;jsp/users-list.jsp&#8221; to &#8220;jsp/admin/users-list.jsp&#8221;.</li>
<li>Change all the links to it from &#60;a href=&#8221;users-list.action&#8221;&#62; to &#60;a href=&#8221;&#60;s:url action=&#8217;users-list&#8217; namespace=&#8217;/admin&#8217; /&#62;&#8221;&#62;</li>
</ul>
<p>That&#8217;s all that you <em>need</em> to do, but I recommend that you also:</p>
<ul>
<li>Add an HTML base element to each page in the subnamespace: &#60;base href=&#8221;&#60;s:url value=&#8217;/&#8217; forceAddSchemeHostAndPort=&#8221;true&#8221; /&#62;&#8221; /&#62;</li>
</ul>
<p>Doing this makes sure all your relative references come from the same place.</p>
<p>That&#8217;s it, what could be simpler?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Expert for Maths and Java (Proof-Reader) by mathEDU]]></title>
<link>http://outsourcedjobs.wordpress.com/2009/11/13/expert-for-maths-and-java-proof-reader-by-mathedu/</link>
<pubDate>Fri, 13 Nov 2009 06:42:19 +0000</pubDate>
<dc:creator>ejazazeem</dc:creator>
<guid>http://outsourcedjobs.wordpress.com/2009/11/13/expert-for-maths-and-java-proof-reader-by-mathedu/</guid>
<description><![CDATA[My name is Antje and I work for university press (education and research) for maths and java. Our fi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>My name is Antje and I work for university press (education and research) for maths and java. Our first book publication (GCSE Maths) was so successful that we got a nice budget for writing the 2nd edition with new chapters and lots of java examples&#8230; (Budget: $1500-3000, Jobs: Java, JSP, Matlab/Mathematica, Scientific Research)<br /> <a href="http://www.getafreelancer.com/projects/mea_549627.html"><b>Bid on this project</b></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Web crawler &amp; scraper by gmendiratta]]></title>
<link>http://outsourcedjobs.wordpress.com/2009/11/12/web-crawler-scraper-by-gmendiratta/</link>
<pubDate>Thu, 12 Nov 2009 06:28:31 +0000</pubDate>
<dc:creator>ejazazeem</dc:creator>
<guid>http://outsourcedjobs.wordpress.com/2009/11/12/web-crawler-scraper-by-gmendiratta/</guid>
<description><![CDATA[I want to build a website crawler which crawls 10 websites and pulls certain data, images and links ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I want to build a website crawler which crawls 10 websites and pulls certain data, images and links from these websites. The crawler can be built in Java/ PHP and Mysql.     The crawler should be tweakable&#8230; (Budget: $30-250, Jobs: Java, Javascript, JSP, PHP, Web Scraping)<br /> <a href="http://www.getafreelancer.com/projects/mea_548881.html"><b>Bid on this project</b></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Web crawler &amp; scraper by gmendiratta]]></title>
<link>http://phpcareers.wordpress.com/2009/11/12/web-crawler-scraper-by-gmendiratta/</link>
<pubDate>Thu, 12 Nov 2009 06:28:30 +0000</pubDate>
<dc:creator>ejazazeem</dc:creator>
<guid>http://phpcareers.wordpress.com/2009/11/12/web-crawler-scraper-by-gmendiratta/</guid>
<description><![CDATA[I want to build a website crawler which crawls 10 websites and pulls certain data, images and links ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I want to build a website crawler which crawls 10 websites and pulls certain data, images and links from these websites. The crawler can be built in Java/ PHP and Mysql.     The crawler should be tweakable&#8230; (Budget: $30-250, Jobs: Java, Javascript, JSP, PHP, Web Scraping)<br /> <a href="http://www.getafreelancer.com/projects/mea_548881.html"><b>Bid on this project</b></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Membuat Koneksi ke Database MySQL dengan JSP]]></title>
<link>http://uqifumi.wordpress.com/2009/11/12/membuat-koneksi-ke-database-mysql-dengan-jsp/</link>
<pubDate>Thu, 12 Nov 2009 01:39:16 +0000</pubDate>
<dc:creator>uqifumi</dc:creator>
<guid>http://uqifumi.wordpress.com/2009/11/12/membuat-koneksi-ke-database-mysql-dengan-jsp/</guid>
<description><![CDATA[Berikut ini adalah contoh cara membuat koneksi ke database MySQL dengan menggunakan database musik. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Berikut ini adalah contoh cara membuat koneksi ke database MySQL dengan menggunakan database musik.</p>
<p>Nama file: teskoneksi.jsp</p>
<p>&#60;HTML&#62;<br />
&#60;HEAD&#62;<br />
&#60;TITLE&#62;Tes Koneksi Database&#60;/TITLE&#62;<br />
&#60;/HEAD&#62;<!--more--><br />
&#60;BODY&#62;<br />
&#60;%@ page import=&#8221;java.sql.Connectio</p>
<div>n,<br />
java.sql.DriverManager&#8221; %&#62;
<p>&#160;</p>
<p>&#60;%<br />
boolean ada_kesalahan = false;<br />
try {<br />
Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;);<br />
}</p>
<p>catch (Exception ex) {<br />
out.println(&#8220;Kesalahan: &#8221; + ex);<br />
ada_kesalahan = true;<br />
}</p>
<p>if (!ada_kesalahan) {<br />
//Bentuk koneksi<br />
Connection koneksi = null;<br />
try {<br />
koneksi = DriverManager.getConnection(<br />
&#8220;jdbc:mysql://localhost/dbAlumni&#8221;, &#8220;root&#8221;, &#8220;telogodhog&#8221;);<br />
out.println(&#8220;Koneksi berhasil&#8221;);<br />
}<br />
catch (Exception ex) {<br />
out.println(&#8220;Kesalahan: &#8221; + ex);<br />
}<br />
}<br />
%&#62;<br />
&#60;/BODY&#62;<br />
&#60;/HTML&#62;</p>
<p><strong>Keterangan program:<br />
</strong> Dokumen teskoneksi.jsp menggunakan interface Connection dan kelas DriverManager. Oleh karena itu terdapat instruksi:</p>
<p>&#60;%@ page import=&#8221;java.sql.Connection,<br />
java.sql.DriverManager&#8221; %&#62;</p>
<p>Pernyataan:</p>
<p>try {<br />
Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;);<br />
}</p>
<p>catch (Exception ex) {<br />
out.println(&#8220;Kesalahan: &#8221; + ex);<br />
ada_kesalahan = true;<br />
}</p>
<p>digunakan untuk memuat driver MySQL (yaitu MySQL Connector/J). Jika terjadi suatu eksepsi maka bagian berikut akan dijalankan</p>
<p>out.println(&#8220;Kesalahan: &#8221; + ex);<br />
ada_kesalahan = true;</p>
<p>Pada pernyataan di atas, baris pertama akan menampilkan pesan kesalahan dan baris berikutnya mengisi variabel ada_kesalahan yang bertipe boolean dengan nilai true, yang menyatakan terjadi kesalahan.</p>
<p>Pernyataan:</p>
<p>Connection koneksi = null;</p>
<p>digunakan untuk mendeklarasikan variabel koneksi yang merujuk ke objek Connection dan sekaligus mengisinya dengan null.</p>
<p>Pernyataan:</p>
<p>try {<br />
koneksi = DriverManager.getConnection(<br />
&#8220;jdbc:mysql://localhost/dbAlumni&#8221;, &#8220;root&#8221;, &#8220;telogodhog&#8221;);<br />
out.println(&#8220;Koneksi berhasil&#8221;);<br />
}<br />
catch (Exception ex) {<br />
out.println(&#8220;Kesalahan: &#8221; + ex);<br />
}</p>
<p>digunakan untuk membuat koneksi ke database MySQL dengan nama database musik yang terdapat di localhost, menggunakan username &#8220;root&#8221; dan password &#8220;telogodhog&#8221;.<br />
Pernyataan:</p>
<p>out.println(&#8220;Kesalahan: &#8221; + ex);</p>
<p>dijalankan kalau terjadi eksepsi pada saat DriverManager.getConnection dieksekusi.</p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[LSNED 9: Using OGNL with the Struts action tag]]></title>
<link>http://yaytay.wordpress.com/2009/11/10/lsned-9-using-ognl-with-the-struts-action-tag/</link>
<pubDate>Tue, 10 Nov 2009 05:38:50 +0000</pubDate>
<dc:creator>yaytay</dc:creator>
<guid>http://yaytay.wordpress.com/2009/11/10/lsned-9-using-ognl-with-the-struts-action-tag/</guid>
<description><![CDATA[This bugged me for hours before I sorted it out (ironically, by looking at somewhere else where I]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This bugged me for hours before I sorted it out (ironically, by looking at somewhere else where I&#8217;d already solved the problem).<br />
By putting this up here hopefully I&#8217;ll remember in future!</p>
<p>I have a simple struts action that returns a list of things that need to be shown on a page &#8211; the list isn&#8217;t involved with the normal action so it shouldn&#8217;t be part of that.<br />
The normal example for this problem is the need to produce a drop down list of possible items &#8211; the main action returns a single item of a given class, but one of the fields for that class has to be set according to another list obtainable from another action.</p>
<p>The simple solution is to call the other action directly from the JSP:</p>
<pre class="brush: xml;">
        &#60;s:action name=&#34;options-list&#34; namespace=&#34;/&#34; id=&#34;options&#34; /&#62;
...
            &#60;s:select label=&#34;Option&#34; name=&#34;option&#34; labelSeparator=&#34;&#34; labelposition=&#34;left&#34; list=&#34;#options.availableOptions&#34; listValue=&#34;name&#34; listKey=&#34;name&#34; /&#62;
</pre>
<p>What I was missing was the id on the action tag &#8211; without that id I couldn&#8217;t find any way to access the result of the action from OGNL.</p>
<p>In another example I have a list of information that is displayed on every page, this is handled in the decorator JSP like this:</p>
<pre class="brush: xml;">
&#60;s:action name=&#34;things-list&#34; namespace=&#34;/&#34; id=&#34;things&#34;&#62;&#60;/s:action&#62;
...
&#60;s:iterator value=&#34;#things.stuff&#34; status=&#34;rowstatus&#34;&#62;
    &#60;% String rowClass=&#34;d1&#34;; %&#62;
    &#60;s:if test='#rowstatus.odd == true'&#62;
        &#60;% rowClass=&#34;d0&#34;; %&#62;
    &#60;/s:if&#62;
    &#60;tr class=&#34;&#60;%=rowClass %&#62;&#34; &#62;
        &#60;td&#62;&#60;s:date name=&#34;fieldDate&#34; format=&#34;yyyy-MM-dd hh:mm:ss&#34; /&#62;&#60;/td&#62;
        &#60;td&#62;&#60;s:property value=&#34;fieldStatus&#34; /&#62;&#60;/td&#62;
    &#60;/tr&#62;
&#60;/s:iterator&#62;
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[nadszedł czas na porządną naukę JSP i nie tylko]]></title>
<link>http://threemode.wordpress.com/2009/11/09/nadszedl-czas-na-porzadna-nauke-jsp-i-nie-tylko/</link>
<pubDate>Mon, 09 Nov 2009 16:23:31 +0000</pubDate>
<dc:creator>m4ck7</dc:creator>
<guid>http://threemode.wordpress.com/2009/11/09/nadszedl-czas-na-porzadna-nauke-jsp-i-nie-tylko/</guid>
<description><![CDATA[W końcu zabrałem się za czytanie książek o JSP. Póki co ustawiłem Tomcat&#8217; a i bazę danych MySQ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>W końcu zabrałem się za czytanie książek o JSP. Póki co ustawiłem Tomcat&#8217; a i bazę danych MySQL. Mam zamiar stworzyć galerię zdjęć dodawanych za pomocą komórki tzn. jeszcze będę musiał napisać aplikacje J2ME by móc cokolwiek wysyłać z komórki ale mam nadzieje że się uda dość szybko to zrobić. Przede mną jeszcze rozwikłanie zagadki jak to ze sobą połączyć i jak wykorzystuje się połączenie z internetem w komórkach do przesyłania danych. A potem jak aplikacja ma odbierać te dane i gdzie je składować. Tak więc troszkę jest :] Ale przynajmniej ciekawi mnie to.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[back to programming]]></title>
<link>http://angel12devil.wordpress.com/2009/11/08/back-to-programming/</link>
<pubDate>Sun, 08 Nov 2009 14:57:00 +0000</pubDate>
<dc:creator>angel12devil</dc:creator>
<guid>http://angel12devil.wordpress.com/2009/11/08/back-to-programming/</guid>
<description><![CDATA[It had been a while since my last post. Yeah, it&#8217;s kinda difficult 4 me to update blog @ offic]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It had been a while since my last post.<br />
Yeah, it&#8217;s kinda difficult 4 me to update blog @ office. N I a lil bit lazy to type wif my cell phone keyboard.<br />
Lucky, my dad n mom offered me to hv a blackberry.^.^<br />
Enough for 4 introduction for my bb.<br />
Let start the main topic now. He3.<br />
Today I&#8217;m starting to do the project which my friend gave me.<br />
This is a web programming project, which using jsp language.<br />
Just to be honest, I really blank about jsp language.<br />
It had been about 2 years since the last time I saw jsp script. Kinda brave decision to take this project since I can be counted as a newbie. Hahahaha.<br />
But thanks to setiadi.<br />
If he didn&#8217;t share his jsp project, I&#8217;m sure I would have been all blank n dun knoe wat to do.<br />
When I started to do it, I really confusing. It&#8217;s much more complicated than php. N not friendly enough.<br />
If my script turn error, I must work hard to find the error n fix it.<br />
Although I hate to code sometimes, I do feel that I can&#8217;t be separated from code. Today I coded wif so much fun till ignored my bf several times, hahaha.<br />
I&#8217;m sorry dear, I&#8217;m so curios bout the error till dun heard wat u spoke about^.^<br />
Today I just realize code can make people turn into their own world n ignored others. No wonder a few of my friend like that.<br />
That&#8217;s all my story today. Now let&#8217;s go to bed.<br />
Time to sleep. Gud nite.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Web e problemi con le lettere accentate]]></title>
<link>http://appuntidiinformatica.wordpress.com/2009/11/05/web-e-problemi-con-le-lettere-accentate/</link>
<pubDate>Thu, 05 Nov 2009 11:13:18 +0000</pubDate>
<dc:creator>sbiell0</dc:creator>
<guid>http://appuntidiinformatica.wordpress.com/2009/11/05/web-e-problemi-con-le-lettere-accentate/</guid>
<description><![CDATA[Solitamente quando creiamo pagine web con form per l&#8217;inserimento di alcuni dati da parte dell]]></description>
<content:encoded><![CDATA[Solitamente quando creiamo pagine web con form per l&#8217;inserimento di alcuni dati da parte dell]]></content:encoded>
</item>
<item>
<title><![CDATA[getOutputStream() has already been called for this response]]></title>
<link>http://neatly0607.wordpress.com/2009/11/05/getoutputstream-has-already-been-called-for-this-response/</link>
<pubDate>Thu, 05 Nov 2009 07:25:56 +0000</pubDate>
<dc:creator>奇跡戦士風の子</dc:creator>
<guid>http://neatly0607.wordpress.com/2009/11/05/getoutputstream-has-already-been-called-for-this-response/</guid>
<description><![CDATA[朋友在處理Jsp時, 希望能夠將產生好的excel檔案能夠下載到Client 端 但要將產生好的file利用 SmartUpload 下載時, 發生以下問題 getOutputStream() has]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>朋友在處理Jsp時, 希望能夠將產生好的excel檔案能夠下載到Client 端<br />
但要將產生好的file利用 SmartUpload 下載時, 發生以下問題<br />
getOutputStream() has already been called for this response<br />
後來找到了解決方法如下:<br />
&#60;範例&#62;</p>
<div>@page contentType=&#8221;text/html; charset=big5&#8243;<br />
@page session=&#8221;true&#8221; errorPage=&#8221;error.jsp&#8221;<br />
@page import=&#8221;com.jspsmart.upload.*&#8221;<br />
String ret = request.getParameter(&#8220;ret&#8221;);<br />
if (ret != null) {<br />
ret = java.net.URLDecoder.decode(ret);<br />
ret = new String(ret.getBytes(&#8220;8859_1&#8243;),&#8221;Big5&#8243;);<br />
}<br />
else ret = &#8221;";<br />
String file = request.getParameter(&#8220;file&#8221;);<br />
if (file != null) {<br />
file = java.net.URLDecoder.decode(file);<br />
file = new String(file.getBytes(&#8220;8859_1&#8243;),&#8221;Big5&#8243;);<br />
} else file = &#8221;";<br />
// 新建一個SmartUpload對象<br />
SmartUpload su1 = new SmartUpload();<br />
// 初始化<br />
su1.initialize(pageContext);<br />
// 設定contentDisposition為null以禁止瀏覽器自動打開文件，<br />
//保證點擊鏈接後是下載文件。若不設定，則下載的文件擴展名為<br />
//doc時，瀏覽器將自動用word打開它。擴展名為pdf時，<br />
//瀏覽器將用acrobat打開。<br />
su1.setContentDisposition(null);<br />
// 下載文件<br />
su1.downloadFile(file);</div>
<p>問題原因：Tomcat首先執行.jsp, Tomcat準備好session, out等object。 而在&#60; % &#8230; % &#62;段中，HttpServerletResponse的getOutputStream()方法已被呼叫。但在JSP規中定義此方法只能被使用一 次，這樣在產生out時會在使用一次, 因此會出錯。<br />
網路上建議方法: 不要使用Jsp, 改使用Servlet就不會有此問題<br />
後來有人回應在最後加入兩行<br />
<strong><span style="color:#ff0000;">out.clear();<br />
out = pageContext.pushBody(); </span></strong><br />
果然解決了這個問題!!</p>
<p>文章出處:</p>
<p>http://www.blogjava.net/honghongw/articles/197893.html</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Nicolas Bordas: Le Jour sans Pub 1 - Mry 0 ]]></title>
<link>http://kairosmosaique.wordpress.com/2009/11/01/nicolas-bordas-le-combat-du-jour-le-jour-sans-pub-vs-mry/</link>
<pubDate>Sun, 01 Nov 2009 12:23:22 +0000</pubDate>
<dc:creator>kairosmosaique</dc:creator>
<guid>http://kairosmosaique.wordpress.com/2009/11/01/nicolas-bordas-le-combat-du-jour-le-jour-sans-pub-vs-mry/</guid>
<description><![CDATA[Comme tous les jours, je consulte ma newsletter Stratégies (oui, ma vie est passionnante, je sais) e]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-full wp-image-492" title="Image 3" src="http://kairosmosaique.wordpress.com/files/2009/11/image-3.png" alt="Image 3" width="450" height="242" /></p>
<p>Comme tous les jours, je consulte ma newsletter <strong>Stratégies</strong> (oui, ma vie est passionnante, je sais) et là mon œil se fige sur &#8220;l&#8217;œil sur le net&#8221;&#8230; Spotlight sur un article du <a href="http://www.lejoursanspub.fr/blog/index.php?2009/10/26/152-nicolas-bordas-le-president-qui-tue"><em><strong>Jour sans pub</strong></em></a>, le blog de Babette Auvray-Pagnozzi. De quoi s&#8217;agit-il précisément? Il s&#8217;agit d&#8217;un article vantant ni plus ni moins les qualités de <a href="http://www.nicolasbordas.fr/"><span style="color:#888888;"><strong>Nicolas Bordas</strong></span></a>. Quand on regarde le CV du type, on comprend mieux pourquoi le post est si positif. Babette Auvray se demande même si Nicolas Bordas n&#8217;est pas cloné&#8230; Président du groupe TBWA\France, membre du Comité Exécutif Mondial de TBWA\Worldwide, Président du Comité Exécutif du CODICE, enseignant à Sciences-Po, chroniqueur à La Tribune, Administrateur de l’ARRP, et de l’IREP, Président de l’AACC, et parrain de Nouvelle Cour, &#8220;ce multiprésident trouve encore le temps pour avoir une famille, écrire un bouquin et pour tenir un blog. <span style="color:#888888;"><strong>Et s’il s&#8217;était fait cloner pour être partout sans se fatiguer ?</strong></span>&#8221; Une chose est sure, Nicolas Bordas n&#8217;est pas du genre à rêvasser. Hyperactif, il se pose des questions qui tentent de rompre avec l&#8217;ordinaire. Il essaye d&#8217;aller toujours plus loin, à la recherche de cette fameuse <strong>idée qui tue</strong>. Rechercher l&#8217;idée qui tue pourrait ainsi devenir une nouvelle religion. Ne pas s&#8217;arrêter de travailler et d&#8217;aller de l&#8217;avant tant que l&#8217;on n&#8217;a pas révolutionné les choses et atteint le Graal. Voici pour la vision du Jour sans Pub.</p>
<p>De l&#8217;autre côté du ring, vous pouvez jeter un coup d&#8217;œil (très très rapide) chez <strong><em><a href="http://mry.blogs.com/">Mry</a></em> </strong>qui se distingue par son absence caractérisée d&#8217;arguments contre Nicolas Bordas et qui ne semble pas trop emballé par le personnage (euphémisme). En effet, notre ami Mry (<span style="text-decoration:line-through;">qui soit dit en passant, transforme peu à peu son blog en site de cul</span>) semble déçu de ne pas trouver l&#8217;Idée qui tue inscrite en noir sur blanc&#8230; Et oui, il va falloir enfiler les gants et se <span style="text-decoration:line-through;">battre</span> creuser un peu les méninges!</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/SO8pTIQWpL4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/SO8pTIQWpL4&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>Le combat du jour est donc remporté haut la main par le JSP qui a su reconnaître à sa juste valeur (sans jalousie) le travail et les initiatives du Sujet Auvergnat.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Software Professionals - Walk-In Interview]]></title>
<link>http://thewalkin.wordpress.com/2009/10/29/software-professionals-2/</link>
<pubDate>Thu, 29 Oct 2009 14:10:45 +0000</pubDate>
<dc:creator>The Editor</dc:creator>
<guid>http://thewalkin.wordpress.com/2009/10/29/software-professionals-2/</guid>
<description><![CDATA[DSRC requires Software Professionals (Walk-In Interviews) Looking for dynamic Software Professionals]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>DSRC requires Software Professionals (Walk-In Interviews)</p>
<p><strong>Looking for dynamic Software Professionals for the following skills:</strong></p>
<p>&#8212; Java &#8211; Technical Architect:<br />
a). 7-10 years experience in J2EE Design and Architecture, UML, OOAD, Design Patterns, EJB, Struts, JSP, EJB, JDBC, JNDI, Web Services, Weblogic App Server<br />
b). Struts Framework, Jakarta Tiles framework, Hibernate, Spring Framework, Eclipse 3.0, Solaris 9, Rational ClearCase, Rational ClearQuest, Oracle Database<br />
c). Knowledge of SOA &#38; SCA. Sun Certification Enterprise Architect would be preferred<br />
&#8212; Mainframe-Developers / Sr. Developers : 3-8 years experience with extensive Real Time Project experience in COBOL, JCL, VSAM, CICS, DB2, IMS DB/DC, ASSEMBLER, PL/I</p>
<p>Walk-In on 31st October, 2009 between 9 am and 7 pm at:</p>
<p><strong>Quality Inn Centurian Hotel</strong><br />
Opposite to Akaswani, Shivaji Nagar, Pune -411 005<br />
Tel: 020 25510600<br />
Fax:020-2552 0400</p>
<p>If you are unable to come on the above date, please forward your resume to<strong> jobs@dsrc.co.in</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Senior Web Developer]]></title>
<link>http://mindsourceinc.wordpress.com/2009/10/27/senior-web-developer/</link>
<pubDate>Wed, 28 Oct 2009 03:00:32 +0000</pubDate>
<dc:creator>Michelle</dc:creator>
<guid>http://mindsourceinc.wordpress.com/2009/10/27/senior-web-developer/</guid>
<description><![CDATA[Our client in SAN MATEO, CA,  is looking for a SENIOR WEB DEVELOPER for front-end development of nex]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Our client in <strong>SAN MATEO, CA</strong>,  is looking for a <strong>SENIOR WEB DEVELOPER</strong> for front-end development of next generation data modeling and visualization tools.  The ideal candidate would have expertise in front end development of complex Rich Internet Applications (RIA) and have demonstrated the ability to develop high quality enterprise software in a dynamic environment.</p>
<p><strong>Responsibilities</strong></p>
<ul>
<li>Develop front end of Rich Internet Applications for Java-based server products</li>
<li>Analyze functional requirements and specifications through close interaction with Product Management and other team members</li>
<li>Participate in product design and architectural discussions</li>
<li>Write unit tests to ensure developed user interfaces meet product requirements</li>
<li>Provide support to the QA and support organizations</li>
<li>Provide feedback and guidance to technical writers</li>
<li>Develop appropriate documentation for architectural, design, implementation and test activities.</li>
</ul>
<p><strong>Required Skills</strong></p>
<ul>
<li>Bachelor&#8217;s degree in Computer Science (or related field of study)</li>
<li>Minimum of 6 years experience with front end development of Web-based user interfaces</li>
<li>Minimum of 2 years experience with front end development of rich internet applications (RIA)</li>
<li>Expertise in building applications using the following technologies:  Flex 3/4, Flash Action Script, HTML, DHTML, JavaScript, JSON, CSS</li>
<li>Experience with the following tools: Maven, ANT, Subversion, CVS</li>
<li>Familiar with cross browser support issues and solutions as well as i18n issues and solutions</li>
<li>Experience doing software development in a structured, automated, and distributed development environment including design, development, QA, and documentation.</li>
<li>Strong communication skills with the ability to present technical concepts concisely to non-technical members of the team.</li>
</ul>
<p><strong>Nice to Have:</strong></p>
<ul>
<li>Familiarity with existing data modeling tools is a plus: ER/Studio ERWin, TOAD</li>
<li>Experience in building applications using any of the following technologies is a plus: JSP, Struts, JavaScript, JQuery, SEAM, GWT, Rich Faces, extjs, XML/XSLT, AIR</li>
</ul>
<p>If you are interested, please send us your resume to <a href="mailto:raj@mindsource.com?subject=Senior Web Developer">raj@mindsource.com</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TurkceJava.Com]]></title>
<link>http://monuratci.wordpress.com/2009/10/22/turkcejava-com/</link>
<pubDate>Thu, 22 Oct 2009 17:32:12 +0000</pubDate>
<dc:creator>Mehmet Onur ATÇI</dc:creator>
<guid>http://monuratci.wordpress.com/2009/10/22/turkcejava-com/</guid>
<description><![CDATA[Uzunca bir aradan sonra tekrar merhaba. 3. Sınıfa başlamamla birlikte illk haftadan itibaren kendimi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-full wp-image-278" title="java" src="http://monuratci.wordpress.com/files/2009/10/java.gif" alt="java" width="302" height="302" /><br />
Uzunca bir aradan sonra tekrar merhaba. 3. Sınıfa başlamamla birlikte illk haftadan itibaren kendimi birçok proje ve dersin arasında buldum. Derslerden artakalan zamanlarda projelere, projelerden artakalan zamanlarda da derslere eğilmeye çalışıyorum. Sene başında düşündüğüm projelerin bazıları gerçekleşemezken yaz tatiline başlarken kafamdan geçen projelerin tekrar canlanıyor olması sevindirici. Imagine Cup 2010 &#8216;a katılmaktan vazgeçtik ve .net macerama yavaş yavaş nokta koymaya başladım. Yaz tatilinin başında Java konusunda çalışmalar yapmıştım ve şimdi de bu çalışmaları tekrar gözden geçirerek jsp- jsf konularında ilerleme kaydetmek istiyorum. Bunlara ek olarak linux server yönetimi konusunda da önceden öğrendiklerimi uygulama yaparak geliştirme ve ilerletme fırsatı bulacağım. Ayrıca <a href="http://www.ysbilgin.com">Yavuz</a> ile de bu konuda çok uzun saatler görüştük ve javanın bize katacaklarını belirledik. Sonuç olarak Yavuz geçenlerde <a href="http://www.turkcejava.com">turkcejava.com</a> alan adını aldığını söyledi. Ben de yazılarımla bu siteye içerik olarak destek verebileceğimi belirttim.<br />
Peki neden java? Sebeplerini burada yazmak istiyorum.</p>
<ul>
<li>Java gerçekten platform bağımsız bir dil. Yazdığınız kod dünya ahiret <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (linux windows unix solaris) sizlerle beraber.</li>
<li>Java açık kaynak olduğu zamandan itibaren daha kararlı ve düzenli olmaya başladı. Ayrıca en önemli özelliği de birileri javayı pazarlayarak değil de kullanarak para kazandıkları için javaya yapılan yatırımlar daha ileriye yönelik ve sağlam yatırımlar oldu.</li>
<li>Oracle Uygulama Havuzunda Javaya büyük destek veriyor. (Yapısal olarak)</li>
<li>Enterprise uygulamalarda MySql, Oracle ile ve Apache Tomcat, IBM WebSphere, Sun Glassfish ile güzel uygulamalar geliştirmek mümkün. Ayrıca bu uygulamaların hepsi Linux üzerinde de çalışabiliyor, hatta linux üzerinde çalışanı Windows ile çalışanından daha performanslı.</li>
<li>Yazdığınız bir bileşenin yıllarca kullanılabilir olduğu kesin.  Ayrıca yıllar önce aldığınız java kitabınız hala bir kaynak olabilme yeteneğini koruyor.</li>
<li>Bu alanda yetişmiş eleman sayısı çok az.</li>
<li>Tamamen ücretsiz.(Geliştirme araçları ve SDKlar)</li>
<li>Dökümantasyon konusunda kuvvetli.</li>
<li>En önemlisi de sektörde işletim sistemi seçiminden daha önemli işlerin olduğunun farkında. (.net bazı windows sürümlerinde bile çalışmıyor <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
<li>.NET platformu java frameworkün bir kopyası niteliğinde. Çalışmak zor olmayacaktır.</li>
<li>Herkes .net tarafında olduğu gibi JAVA biliyorum diye gezmiyor. Ya da buton altı programcıları nedense javayı sevmiyorlar. Sonra da  &#8220;javada bi butona nasıl tıklatırım ya da gridi sürükleyip bıraktıktan sonra dataseti de sürükledikten sonra ikisini nasıl birbirine sürükleyip bırakarak bağlattırıp sürüklerim&#8230;&#8221; gibi ilginç ve sürüklenesi sorular sorulmuyor.</li>
<li>Java alternatiflerden birisidir. İsteyen istediğini seçer.</li>
</ul>
<p>Eminim yukarıda yazılanların cevabını tek tek verebilecek ve Microsofta gönülden bağlı, onu ölene kadar koruyup kollamaya and içen insanların olduğunu biliyorum. Bu konuda tek söyleyebileceğim, Microsoft&#8217;u,n alıştırana kadar bedava dağıttığı IDEsi Visual Studio ile sürükleyip kod yazanlara mezun olduktan sonra iş vermeyeceği gerçeğinin anlaşılması gerektiğidir. Java çalışınca da kimseye Oracle ya da Sun iş vermez. Mühendislik = Hızlı, Başarılı ve Kaliteli ve Maliyeti DÜŞÜK Uygulamalar üretebilmektir.</p>
<p>Yazıyı çok uzatmadan<a href="http://www.turkcejava.com"> TurkceJava.com</a> un insanlığa yararlı olmasını diliyorum. İçerik türkçe olacağı için Türkiye&#8217;de türkçe java döküman açığının  kapatılmasına da katkıda bulunacağına inanıyorum.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kawagoe Matsuri &amp; accidental dates in Japanese]]></title>
<link>http://themargaritamix.wordpress.com/2009/10/22/kawagoe-matsuri-accidental-dates-in-japanese/</link>
<pubDate>Thu, 22 Oct 2009 11:03:00 +0000</pubDate>
<dc:creator>Margarita</dc:creator>
<guid>http://themargaritamix.wordpress.com/2009/10/22/kawagoe-matsuri-accidental-dates-in-japanese/</guid>
<description><![CDATA[Well apparently I survived the weekend, though I’ve been too exhausted/busy/lazy to update my blog… ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Well apparently I survived the weekend, though I’ve been too exhausted/busy/lazy to update my blog… I’ll take each thing, one at a time, each in its own blog-post, so it won’t become an entire novel here.</p>
<p>First things first: karaoke and Kawagoe matsuri! As I wrote last time, I made some new friends at the tomodachi event last week, and especially one was very interesting I might add… Obviously I took the opportunity of our weekly karaoke-tours to invite him and his friends, and we all had a very nice time although the communication wasn’t the easiest thing. Even so, I ended up having an accidental date with him the next day. But that’s for later (soon, promise! Or just skip the next paragraph if you want to fast forward). After the karaoke <em>Masa</em> and his friend <em>Hiro</em> walked me home, all the while Hiro was strongly promoting the poor, embarrassed Masa, pointing out that we’re both the same age, single and…well…</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa166100.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PA166100" border="0" alt="PA166100" src="http://themargaritamix.files.wordpress.com/2009/10/pa166100_thumb.jpg?w=184&#038;h=244" width="184" height="244" /></a> <em>Filling our stomachs before the karaoke.</em></p>
<p align="center"><em></em></p>
<p>The day after I went to Kawagoe Matsuri together with my hostfamily and their friends from Nagano. The festival itself was huge and <em>crowded,</em> especially at the spots where you could find the <em>dashi</em>, the traditional floats pulling a local <em>kami-sama</em> (god). Even more crowded when two dashi met and “battled”… There was tons of food and trinkets for sale, and I have to add that the Japanese festivals definitely win over the Swedish ones! I could easily walk around there all day and still not see everything (and spend a minor fortune…).</p>
<p>&#160;</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa176129.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PA176129" border="0" alt="PA176129" src="http://themargaritamix.files.wordpress.com/2009/10/pa176129_thumb.jpg?w=184&#038;h=244" width="184" height="244" /></a>&#160;<em>Dashi</em></p>
<p align="left">After walking around for a while with my hostfamily, I met up with <em>Masa</em> at Crea Mall, and I think we were both equally surprised/awkward when we realized that none of us had brought friends, so we were alone – <em>together</em>! We walked around for a while, trying to find a not so crowded and noisy place so we could actually sit down and talk, and for the millionth time so far, I now again wished that I would become fluent in Japanese in the blink of an eye. Or at least faster… Awkward, yes. Embarrassing, yes. But very nice! Hopefully he’ll be less embarrassed and more relaxed next time we meet.</p>
<p>The day after it was time for us JSPs to join the parade and actually pull one of the dashi ourselves! Or, well, together with 40 or so other people. Still, it was fun. Hot, but fun, it&#8217; was a very <em>very</em> sunny day after all. Everywhere we went, people were equally happy/surprised to see a gang of gaijins pulling one of the dashis, the oldest one of them all on top of that! We were all cheerful and waved back though, and I think that we’re now in hundreds of Japanese families’ photo-albums…</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186225.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PA186225" border="0" alt="PA186225" src="http://themargaritamix.files.wordpress.com/2009/10/pa186225_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> <em>Matsuri-boys</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186216.jpg"><img style="display:inline;border-width:0;" title="PA186216" border="0" alt="PA186216" src="http://themargaritamix.files.wordpress.com/2009/10/pa186216_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> </p>
<p align="center"><em>If anyone wonders; it says “Kawagoe” on the back.</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186236.jpg"><img style="display:inline;border-width:0;" title="PA186236" border="0" alt="PA186236" src="http://themargaritamix.files.wordpress.com/2009/10/pa186236_thumb.jpg?w=184&#038;h=244" width="184" height="244" /></a> </p>
<p align="center"><em>Our dashi: the Kawagoe Motomachi Dashi</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186282.jpg"><img style="display:inline;border-width:0;" title="PA186282" border="0" alt="PA186282" src="http://themargaritamix.files.wordpress.com/2009/10/pa186282_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> </p>
<p align="center"><em>Stopping to greet another local kami’s crib.</em></p>
<p align="left">We pulled the dashi all over town for about 2.5 hours, and were then treated to lunch by the people who arranged the pulling-business. After that, we soon split up, and I ended up walking around with <em>Kai</em> and <em>Jonathan</em> for a while, searching for sweet-potato ice-cream, getting stuck between not two, not three, but <em>four</em> battling dashi, which meant that we were literally <em>stuck</em> on the spot for <em>45 minutes</em>! We managed to escape eventually, and met up with <em>Kozue</em> and her friend, who guided us towards the ice-cream and local beer.</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186330.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PA186330" border="0" alt="PA186330" src="http://themargaritamix.files.wordpress.com/2009/10/pa186330_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> <em>How to make a German happy: give him a beer…and an ice-cream.</em></p>
<p align="left">After this, Kai and Jonathan left us, and the remaining three of us headed to a cafe with very special tea…(very expensive too I have to add, but an interesting experience!)</p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186345.jpg"><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="PA186345" border="0" alt="PA186345" src="http://themargaritamix.files.wordpress.com/2009/10/pa186345_thumb.jpg?w=184&#038;h=244" width="184" height="244" /></a> <em>Jasmine-tea. Flower and all.</em></p>
<p align="center"><a href="http://themargaritamix.files.wordpress.com/2009/10/pa186339.jpg"><img style="display:inline;border-width:0;" title="PA186339" border="0" alt="PA186339" src="http://themargaritamix.files.wordpress.com/2009/10/pa186339_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> </p>
<p align="center"><em>My tea-set. See the tiny white cup? That’s what I poured the tea in, over and over again. Like taking tea-shots. Tasty though!</em></p>
<p align="left">&#160;</p>
<p align="left">Soon enough I had to head back home and study for the upcoming mid-term exams, but at least I had a yet another great weekend in Japan!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tomcat:  JSP Page Displaying Older Version]]></title>
<link>http://bernytech.wordpress.com/2009/10/21/tomcat-jsp-page-displaying-older-version/</link>
<pubDate>Wed, 21 Oct 2009 20:28:19 +0000</pubDate>
<dc:creator>bernytech</dc:creator>
<guid>http://bernytech.wordpress.com/2009/10/21/tomcat-jsp-page-displaying-older-version/</guid>
<description><![CDATA[So over the weekend, our Tomcat servers were restarted without no new code deployment. For some reas]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So over the weekend, our Tomcat servers were restarted without no new code deployment.  For some reason exceptions were thrown in the logs indicating that the same JSP error from the previous release still existed.</p>
<p>The problem is that we addressed and fixed the issue on the previous release.  Furthermore, the servers were in stable condition for one week.  The application is visited hundreds and thousands of times a day so the new, fixed JSP should be cached properly.</p>
<p>So what is the root cause?</p>
<p><strong>Theory 1:</strong></p>
<p>I thought that maybe when the WAR files were redeployed during the release, it was overwriting the existing WAR files.  Maybe the WAR files was corrupted during this overwrite process.</p>
<p><strong>Investigation:</strong> I checked the production servers and all the date stamps and file sizes on the WAR files are identical.  Also, I confirmed from the release and deployment team that the WAR files and exploded WAR directories were removed before installing the new WAR files.</p>
<p><strong>Theory 2: </strong></p>
<p>If no new code was deployed and we are still using the existing WAR files from the last release, then there may be some weird caching issue.</p>
<p>So I googled it and found out that the &#8220;work&#8221; directory in the Tomcat instances need to be deleted to remove the JSP and Java caches.  Why this is not automated in Tomcat, I do not know.</p>
<p>So here are the references that I found:</p>
<p>1.  Old and a little relevant: <a href="http://www.coderanch.com/t/85276/Tomcat/Tomcat-weirdness-incomplete-WAR-explosion"> http://www.coderanch.com/t/85276/Tomcat/Tomcat-weirdness-incomplete-WAR-explosion</a></p>
<p>2.  &#8220;Tomcat cache &#8211; stop tomcat, delete &#8220;work&#8221; folder from tomcat install path, restart tomcat. (since this requires stopping the tomcat service, you may need an administrator&#8217;s help for this.)&#8221;<br />
<a href="http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14292602">http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14292602</a></p>
<p>3.<a href="http://forums.sun.com/thread.jspa?threadID=652758"> http://forums.sun.com/thread.jspa?threadID=652758</a></p>
<p>4. Even Eclipse has a build in feature to clean tomcat&#8217;s work directory: <a href="http://www.eclipse.org/webtools/releases/2.0/newandnoteworthy/server.php"> http://www.eclipse.org/webtools/releases/2.0/newandnoteworthy/server.php</a></p>
<p>5. &#8220;Have you stopped and restarted Tomcat?</p>
<p>Also you may need to clear the Tomcat Cache, this is located in the Tomcat installation directory in the &#8220;work&#8221; folder. Let me know if this resolves your problem&#8221;</p>
<p><a href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1256064204193+28353475&#38;threadId=1260688">http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1256064204193+28353475&#38;threadId=1260688</a></p>
<p>Unfortunately, the &#8220;work&#8221; directory was not cleaned during our release process.</p>
<p>So for now, this is what I think is the culprit to the infamous Tomcat displaying an older version of a JSP page.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
