<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Newbie help</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-help</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/newbie-help/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nalpolos on Newbie help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-help#p19601</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-help#p19601</guid>
        	        	<description><![CDATA[<p>In Java it would be</p>
<p>response.setContentType("text/xml;charset=UTF-8");</p>
]]></description>
        	        	<pubDate>Wed, 08 Sep 2010 17:07:04 +0300</pubDate>
        </item>
        <item>
        	<title>ikim on Newbie help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-help#p17940</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-help#p17940</guid>
        	        	<description><![CDATA[<p>The error is stupid. I found the error:</p>
<p>response.setContentType("text/html;charset=UTF-8&#8243;);</p>
<p>has to be:</p>
<p>response.setContentType("text/xml;charset=UTF-8&#8243;);</p>
<p>and then magically works. Sorry for the post.</p>
]]></description>
        	        	<pubDate>Wed, 16 Jun 2010 04:48:26 +0300</pubDate>
        </item>
        <item>
        	<title>ikim on Newbie help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-help#p17939</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-help#p17939</guid>
        	        	<description><![CDATA[<p>Hi, all I&#39;m trying to convert the example.php to java. I&#39;m just trying to make and easy test without connecting my servlet to any database so im just sending the xml as text but it isnt working. I&#39;ve<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /><img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /><img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /> try many ways to send the xml file as text but I could get this to work. My code is:</p>
<p>&#160;&#160;&#160; protected void processRequest(HttpServletRequest request, HttpServletResponse response)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; throws ServletException, IOException {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; response.setContentType("text/html;charset=UTF-8");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; PrintWriter out = response.getWriter();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; try {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; out.print("&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;rows&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;page&#62;1&#60;/page&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;total&#62;1&#60;/total&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;records&#62;1&#60;/records&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;row id=&#39;1&#39;&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;cell&#62;1&#60;/cell&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;cell&#62;Mario&#60;/cell&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;cell&#62;29&#60;/cell&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;/row&#62;\n"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; + "&#60;/rows&#62;");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; } finally {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; out.close();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }</p>
</p>
<p>What do im doing wrong? Any advice is welcome. Thanks in advance.</p>
]]></description>
        	        	<pubDate>Wed, 16 Jun 2010 04:10:42 +0300</pubDate>
        </item>
</channel>
</rss>