<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JSP + Struts = one bad&#160;day</title>
	<atom:link href="http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Wed, 08 Oct 2008 06:34:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: eater</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-61957</link>
		<dc:creator>eater</dc:creator>
		<pubDate>Thu, 04 Oct 2007 12:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-61957</guid>
		<description>JPS evil - right</description>
		<content:encoded><![CDATA[<p>JPS evil &#8211; right</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stratos</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-5449</link>
		<dc:creator>Stratos</dc:creator>
		<pubDate>Wed, 22 Nov 2006 18:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-5449</guid>
		<description>Struts is so bad its a geeks holiday. I have never
seen anything so bad as STRUTS and JSP pages.


I agree crucify struts. Its unbelievably bad.

  exactly!</description>
		<content:encoded><![CDATA[<p>Struts is so bad its a geeks holiday. I have never<br />
seen anything so bad as STRUTS and <acronym title="Java Server Pages">JSP</acronym> pages.</p>
<p>I agree crucify struts. Its unbelievably bad.</p>
<p>  exactly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bluesockets</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-384</link>
		<dc:creator>bluesockets</dc:creator>
		<pubDate>Tue, 19 Oct 2004 18:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-384</guid>
		<description>i have to say jsp isnt easy unless you have a full depth of understanding of how the tags work, and coming from a java perspective, i dont understand half of what the tags are supposed to do so i throw them out the window and prefer to use plain old java. at least then my ide catches silly syntax errors or mal formed statements. html is a sloppy language with loose enforement on correct syntax and jsp tries to hide behind the guise of html's ease of use, yet the important distinction is you cant turn html looseness into java strict syntax. its like trying to cast an Integer into an int. everything has its purpose, but inherently all xsp server side scripting languages fail to the point where if the developer cant pick up the slack, theres not much that can be done other than googling out an acceptable solution to the hypothetical problem.



</description>
		<content:encoded><![CDATA[<p>i have to say <acronym title="Java Server Pages">JSP</acronym> isnt easy unless you have a full depth of understanding of how the tags work, and coming from a java perspective, i dont understand half of what the tags are supposed to do so i throw them out the window and prefer to use plain old java. at least then my ide catches silly syntax errors or mal formed statements. <acronym title="HyperText Markup Language">HTML</acronym> is a sloppy language with loose enforement on correct syntax and <acronym title="Java Server Pages">JSP</acronym> tries to hide behind the guise of <acronym title="HyperText Markup Language">HTML</acronym>&#8217;s ease of use, yet the important distinction is you cant turn <acronym title="HyperText Markup Language">HTML</acronym> looseness into java strict syntax. its like trying to cast an Integer into an int. everything has its purpose, but inherently all xsp server side scripting languages fail to the point where if the developer cant pick up the slack, theres not much that can be done other than googling out an acceptable solution to the hypothetical problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-383</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Thu, 20 May 2004 09:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-383</guid>
		<description>For some things JSP can be fine - I've used JSP since the first version was released. However it is fundamentally unsited to some tasks due to its reliance on XML as a format. Iteration is ugly but not _that_ bad. Logic branching however is really nasty and shows up just how bad XML is as a syntax for programming languages.

I'm the first to admit that there might not be a perfect solution, however JSP has some fundamental issues which make me believe it might not be it.</description>
		<content:encoded><![CDATA[<p>For some things <acronym title="Java Server Pages">JSP</acronym> can be fine &#8211; I&#8217;ve used <acronym title="Java Server Pages">JSP</acronym> since the first version was released. However it is fundamentally unsited to some tasks due to its reliance on <acronym title="eXtensible Markup Language">XML</acronym> as a format. Iteration is ugly but not <em>that</em> bad. Logic branching however is really nasty and shows up just how bad <acronym title="eXtensible Markup Language">XML</acronym> is as a syntax for programming languages.</p>
<p>I&#8217;m the first to admit that there might not be a perfect solution, however <acronym title="Java Server Pages">JSP</acronym> has some fundamental issues which make me believe it might not be it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawn</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-382</link>
		<dc:creator>Pawn</dc:creator>
		<pubDate>Wed, 19 May 2004 23:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-382</guid>
		<description>Not everyone hates JSP.  I find it quite easy and simple to work with.

...but then again I was feed asp when I was a child.</description>
		<content:encoded><![CDATA[<p>Not everyone hates <acronym title="Java Server Pages">JSP</acronym>.  I find it quite easy and simple to work with.</p>
<p>...but then again I was feed asp when I was a child.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Tirsen</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-381</link>
		<dc:creator>Jon Tirsen</dc:creator>
		<pubDate>Wed, 19 May 2004 07:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-381</guid>
		<description>I think your JSP implementation is equiped with an artificial intelligence fuzzy logic evaluator. It parsed your statement "I hate JSP" and made the decision that regardless of what the boolean expression evaluates to this has to hold true; everyone hates JSP, right?

Is this feature in the JSP spec or is it a vendor-specific extension?</description>
		<content:encoded><![CDATA[<p>I think your <acronym title="Java Server Pages">JSP</acronym> implementation is equiped with an artificial intelligence fuzzy logic evaluator. It parsed your statement &#8220;I hate <acronym title="Java Server Pages">JSP</acronym>&#8221; and made the decision that regardless of what the boolean expression evaluates to this has to hold true; everyone hates <acronym title="Java Server Pages">JSP</acronym>, right?</p>
<p>Is this feature in the <acronym title="Java Server Pages">JSP</acronym> spec or is it a vendor-specific extension?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-380</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Tue, 18 May 2004 15:06:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-380</guid>
		<description>My server restriction is that I'm coding for a websphere version which cannot use the JSTL (ealier version of the servlet API) - not much I can do about that. For development purposes I'm using Tomcat (which uses Jasper internally of course) which reports no error.

As for this being a simple user error, the fact is that JSP as a technology makes such erros very easy to make and not always easy to track down. Simple html is actually very 'loose' unless you are writing proper XHTML and are serving it up as xml as opposed to a text mime type - missing tags get ignored by many browsers. Serving it up as XML forces the browser to make sure its valid XML - in my case Jasper isn't even checking my JSP parts of the page are XML. 

I must admit that this may of been fixed in a later version (as I stated I have to work with an older version) however at the end of the day JSP is an awful technology to work with as time and again we get put in situations where we are using it for tasks it is completely unsuited to - we are trying to use XML as a programming/scripting language, and it is fundamentally unsuited to this task.</description>
		<content:encoded><![CDATA[<p>My server restriction is that I&#8217;m coding for a websphere version which cannot use the JSTL (ealier version of the servlet <acronym title="Application Programming Interface">API</acronym>) &#8211; not much I can do about that. For development purposes I&#8217;m using Tomcat (which uses Jasper internally of course) which reports no error.</p>
<p>As for this being a simple user error, the fact is that <acronym title="Java Server Pages">JSP</acronym> as a technology makes such erros very easy to make and not always easy to track down. Simple <acronym title="HyperText Markup Language">HTML</acronym> is actually very &#8216;loose&#8217; unless you are writing proper <acronym title="eXtensible HyperText Markup Language - HTML reformulated as XML">XHTML</acronym> and are serving it up as <acronym title="eXtensible Markup Language">XML</acronym> as opposed to a text mime type &#8211; missing tags get ignored by many browsers. Serving it up as <acronym title="eXtensible Markup Language">XML</acronym> forces the browser to make sure its valid <acronym title="eXtensible Markup Language">XML</acronym> &#8211; in my case Jasper isn&#8217;t even checking my <acronym title="Java Server Pages">JSP</acronym> parts of the page are <acronym title="eXtensible Markup Language">XML</acronym>. </p>
<p>I must admit that this may of been fixed in a later version (as I stated I have to work with an older version) however at the end of the day <acronym title="Java Server Pages">JSP</acronym> is an awful technology to work with as time and again we get put in situations where we are using it for tasks it is completely unsuited to &#8211; we are trying to use <acronym title="eXtensible Markup Language">XML</acronym> as a programming/scripting language, and it is fundamentally unsuited to this task.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Barker</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-379</link>
		<dc:creator>Jason Barker</dc:creator>
		<pubDate>Tue, 18 May 2004 14:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-379</guid>
		<description>Sorry, typo
If you have an error like that, even simple html won’t work.</description>
		<content:encoded><![CDATA[<p>Sorry, typo<br />
If you have an error like that, even simple <acronym title="HyperText Markup Language">HTML</acronym> won’t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Barker</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-378</link>
		<dc:creator>Jason Barker</dc:creator>
		<pubDate>Tue, 18 May 2004 14:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-378</guid>
		<description>Sam,
- I use Eclipse with Lomboz plugin, it picks up the non-well formed tag. I fail to see how such error could pass the coder's attention, specially the ones who use IDEs.
- What do you mean by server restriction?
- I precompile with weblogic and it gives me compilation error when the servlet (from the jsp) is compiled. What do you use? (out of curiousity).
- I encourage you to post it to struts mailing list, who knows you might be enlightened (or not :)). Even though I agree logic tag should no longer be used.

Andreas,
Are you restricted to using Jasper? If you think it's crap, why use that crap?


Anyway, it just baffles me that such a simple user error drag people to blame/complain about 1) struts, 2) jsp, 3) jasper.
If you have a simple html error like that, even simple html won't work.</description>
		<content:encoded><![CDATA[<p>Sam, &#8211; I use Eclipse with Lomboz plugin, it picks up the non-well formed tag. I fail to see how such error could pass the coder&#8217;s attention, specially the ones who use IDEs. &#8211; What do you mean by server restriction? &#8211; I precompile with weblogic and it gives me compilation error when the servlet (from the <acronym title="Java Server Pages">JSP</acronym>) is compiled. What do you use? (out of curiousity). &#8211; I encourage you to post it to struts mailing list, who knows you might be enlightened (or not :)). Even though I agree logic tag should no longer be used.</p>
<p>Andreas,<br />
Are you restricted to using Jasper? If you think it&#8217;s crap, why use that crap?</p>
<p>Anyway, it just baffles me that such a simple user error drag people to blame/complain about 1) struts, 2) <acronym title="Java Server Pages">JSP</acronym>, 3) jasper.<br />
If you have a simple <acronym title="HyperText Markup Language">HTML</acronym> error like that, even simple <acronym title="HyperText Markup Language">HTML</acronym> won&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Mecky</title>
		<link>http://www.magpiebrain.com/blog/2004/05/17/jsp-struts-one-bad-day/#comment-377</link>
		<dc:creator>Andreas Mecky</dc:creator>
		<pubDate>Tue, 18 May 2004 13:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/17/jsp-struts-one-bad-day/#comment-377</guid>
		<description>I have to agree 100%. JSP are evil but struts is even worse. These struts tags must be written by idiots.
Wherever I can I will use velocity because you CANNOT
put code in your templates. 
Oh, and writing your own jsp tags can be painfull. Mostly because of this damn Jasper. Another jakarta
project that is crap. If you have an error in your 
custom tags then you are doomed since Jasper just
swallows the exception.</description>
		<content:encoded><![CDATA[<p>I have to agree 100%. <acronym title="Java Server Pages">JSP</acronym> are evil but struts is even worse. These struts tags must be written by idiots.<br />
Wherever I can I will use velocity because you CANNOT<br />
put code in your templates. <br />
Oh, and writing your own <acronym title="Java Server Pages">JSP</acronym> tags can be painfull. Mostly because of this damn Jasper. Another jakarta<br />
project that is crap. If you have an error in your <br />
custom tags then you are doomed since Jasper just<br />
swallows the exception.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
