<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1035211" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1035211</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/java-codin-help#comment-1204322</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhishek Reddy wrote:&lt;/strong&gt; The static field &lt;strong&gt;greeting&lt;/strong&gt; is in an inner class &lt;strong&gt;CommentsExample&lt;/strong&gt;.  This isn&#039;t allowed in Java.  To make it compile, either:&lt;br /&gt;
&lt;ul class=&quot;bb-list&quot;&gt;
&lt;li&gt; Declare CommentsExample as static as well: &lt;code&gt;public static class CommentsExample {&lt;/code&gt;&#039;&lt;/li&gt;
&lt;li&gt; Declare a static field in the &lt;strong&gt;comment&lt;/strong&gt; (top-level) class, not in CommentsExample.&lt;/li&gt;
&lt;li&gt; Don&#039;t declare greeting as static.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;&lt;p&gt;Indent your code, btw, or use [code] tags when posting on the forum so whitespace won&#039;t get lost.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Also, are you sure you need to comment that heavily?  Even for an example... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&#039;m not totally up to snuff on Java 5 but when I tried your information it did compile but I got a runtime exception.&lt;/p&gt;
&lt;p&gt;Exception in thread &quot;main&quot; java.lang.NoSuchMethodError: main&lt;/p&gt;
&lt;p&gt;I&#039;m pretty sure I have my classpath set right. I might be doing something wrong here but figured this info might help.&lt;/p&gt;
&lt;p&gt;Johnny&lt;/p&gt;
 </description>
     <pubDate>Mon, 17 Jul 2006 22:23:44 +0000</pubDate>
 <dc:creator>phiber</dc:creator>
 <guid isPermaLink="false">comment 1204322 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/java-codin-help#comment-1204180</link>
    <description> &lt;p&gt;Static class is a new feature of java 5. i think you should post error message.&lt;br /&gt;
You can get many java tutorials from &lt;a href=&quot;http://www.developerzone.biz/&quot; class=&quot;bb-url&quot;&gt;www.developerzone.biz&lt;/a&gt; and &lt;a href=&quot;http://www.javaworld.com/&quot; class=&quot;bb-url&quot;&gt;www.javaworld.com&lt;/a&gt;.&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2006 14:58:00 +0000</pubDate>
 <dc:creator>jetbrains</dc:creator>
 <guid isPermaLink="false">comment 1204180 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Good Resource found</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/java-codin-help#comment-1204160</link>
    <description> &lt;p&gt;Many tutorials are available at &lt;a href=&quot;http://www.thesitewizard.com&quot; class=&quot;bb-url&quot;&gt;thesitewizard.com&lt;/a&gt; which may help with your script.&lt;br /&gt;
&lt;a href=&quot;http://www.ac-webdesign.net&quot; class=&quot;bb-url&quot;&gt;ac-webdesign.net&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2006 07:41:38 +0000</pubDate>
 <dc:creator>brikz</dc:creator>
 <guid isPermaLink="false">comment 1204160 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/java-codin-help#comment-1203994</link>
    <description> &lt;p&gt;The static field &lt;strong&gt;greeting&lt;/strong&gt; is in an inner class &lt;strong&gt;CommentsExample&lt;/strong&gt;.  This isn&#039;t allowed in Java.  To make it compile, either:&lt;br /&gt;
&lt;ul class=&quot;bb-list&quot;&gt;
&lt;li&gt; Declare CommentsExample as static as well: &lt;code&gt;public static class CommentsExample {&lt;/code&gt;&#039;&lt;/li&gt;
&lt;li&gt; Declare a static field in the &lt;strong&gt;comment&lt;/strong&gt; (top-level) class, not in CommentsExample.&lt;/li&gt;
&lt;li&gt; Don&#039;t declare greeting as static.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;&lt;p&gt;Indent your code, btw, or use [code] tags when posting on the forum so whitespace won&#039;t get lost.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Also, are you sure you need to comment that heavily?  Even for an example... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Jul 2006 02:51:21 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1203994 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
