<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
  <channel>
    <title>i xfree</title>
    <link>http://mjsawyerjr.chudadi.com/</link>
    <description>Thoughts on free softwares and web</description>
    <language>en</language>    <item>
      <title>Jsp inside JS</title>
      <link>http://mjsawyerjr.chudadi.com/2008/09/29/jsp-inside-js.html</link>
      <description>This is not ajax. Just a try. Makes utilize of DOJO on behalf of the servlet call as well as widgets. I never thought anything like this before. It works.
// Initialize the bean with session scope
&lt;jsp:useBean>
&lt;jsp:setProperty name=&#8221;penc&#8221; property=&#8221;*&#8221;/&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script type=&#8221;java/script &#8221; and rest of the code &#8230;&#8230;
// Hit the server, populate the bean available in session as well as Handle the Response below
function handleResponse()
{
// Fill the Controls (dojit widgets here) with the response available as bean
 dijit.byId(&#8221;accexp&#8221;).setValue(&#8221;&lt;%= penc.getPencilName()%&gt;&#8221;);
dijit.byId(&#8221;pencilmake&#8221;).setValue(&#8221;&lt;%= penc.getPencilName()%&gt;&#8221;);
}
&#8230;&#8230;&#8230;&#8230;&#8230;
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt; &#8230;&#8230;.. &lt;/body&gt;
&lt;/html&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <pubDate>Mon, 29 Sep 2008 07:54:00 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item></channel></rss>