on 1/15/01 1:32 AM, "ingo schuster" <[EMAIL PROTECTED]> wrote:

> At 18:51 01/13/01, Santiago Gala wrote:
>> Jon Stevens escribió:
>> 
>>> This is a perfect example of why JSP sucks.
>> 
>> +1024 on that one.
> 
> True, it was a quick hack, just copied the code out of Error.java. But
> you'll admit that generating the error screen ecs based isn't better.

How many times do I need to repeat that using ECS as a screen generation
tool has been deprecated? So, yes, I admit using ECS isn't better, but if
you are going to come up with another solution, you should do it right.

> Usually I would process everything in the calling code, place a JavaBean in
> the request and only read this bean in the JSP. However using a JavaBean is
> no option for the _error_ page, as when the error occurs, it might be
> already too late to execute a respective action...

Yep.

> I tried to clean it up a bit but I dont like those many <open code> <close
> code> tags either.

Neither do I. 

Again, this is why JSP sucks and tools like Velocity are better suited to
doing sites than JSP.

> BTW, I wanted to rename error.jsp to Error.jsp to make
> sure that there won't be trouble with unix file systems, but deleting a
> file and adding it with uppercase letters didn't work in CVS. So I renamed
> the file to ErrorGeneral.jsp meaning that it'll display all errors that
> don't have their specific error screen.

Hmmm...that should work.

> Even if JSPs won't stay the standard tempalting system, we should continue
> to support it - it's still some sort of an industry standard...

Lots of things are industry standards, however, that doesn't mean that you
should support it. This is a big beef of mine personally.

M$'s ASP is an "industry standard" yet you don't use that! Why should you
use JSP then? :-)

> Yes, it's currently HTML specific. But so is the Login page, Edit Account
> and basically all other screens except the Home screen. If we are honest,
> Jetspeed (and turbine) are both still biased towards HTML. But a mechanism
> like the one used for the layout JSP would easily allow to have error pages
> specific to the output format.

Yes, I don't mind being biased towards HTML. I'm still wary of people who
think that they are going to surf the web entirely from their kitchen
toaster or their cell phone. :-) None of those ideas have really caught on
because not enough people are really interested in doing so. Imagine trying
to get your mother to check on the status of her toast via a computer. :-)

thanks,

-jon



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to