Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1606

Re: Catching Thrown Exceptions

From markspace <-@.>
Newsgroups comp.lang.java.help
Subject Re: Catching Thrown Exceptions
Date 2012-02-23 10:13 -0800
Organization A noiseless patient Spider
Message-ID <ji5vkc$90t$1@dont-email.me> (permalink)
References <6693b355-c89b-4855-b6d3-0ed7e532cc88@c21g2000yqi.googlegroups.com> <a29b4926-7e8e-4753-94f8-7f8da93bcd7a@a15g2000yqf.googlegroups.com> <ji1c14$7fe$1@news.albasani.net> <7a6d6bf2-2622-451f-8347-d4cc6694d6f4@j8g2000yqm.googlegroups.com>

Show all headers | View raw


On 2/23/2012 9:20 AM, Davej wrote:


> It has been said that if there is more HTML than code a JSP is
> the proper thing to use... Do you disagree with this?


Yes. I'd like to see where you got this recommendation.

Mixing code in JSP has been taboo for some time now, like about 10 
years.  You need a more flexible front end template system that allows 
you to separate concerns more and doesn't require you to mix code in the 
view templates.  Struts 2, Spring, JSF, probably a few more, any of 
those would be preferable to JSP and code mixing.

JSPs are OK but they're a pretty old technology at this point.  It 
should only be used for very simple websites and legacy systems. 
Systems under active maintenance should be incrementally upgraded to 
something more modern.

C.f.: <http://en.wikipedia.org/wiki/Separation_of_concerns>


Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-20 22:36 -0800
  Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-20 23:33 -0800
  Re: Catching Thrown Exceptions Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-02-21 07:58 -0500
  Re: Catching Thrown Exceptions Roedy Green <see_website@mindprod.com.invalid> - 2012-02-21 10:12 -0800
  Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-21 11:56 -0800
    Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-21 16:14 -0800
      Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-23 09:20 -0800
        Re: Catching Thrown Exceptions markspace <-@.> - 2012-02-23 10:13 -0800
        Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-23 14:34 -0800
        Re: Catching Thrown Exceptions Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-23 14:47 -0800
        Re: Catching Thrown Exceptions Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-23 20:45 -0400
    Re: Catching Thrown Exceptions Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-02-22 14:02 +0200
      Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-22 08:00 -0800
  Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-21 12:35 -0800
    Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-21 16:17 -0800

csiph-web