> 1) Does JSP offer an improvement over ND templates in terms of performance
> and development time, or it's a better choice simply because Sun was able
> to make it a standard ?
I do not know the performance difference.
Given my knowledge in ND/ASP and JSP I would say it is easier to develop a
few simple html pages using ND then JSP.
There is currently not much giu help for the buttons/listboxes/repeat
objects etc in JSP.
JSP is more of a standard issue.
JSP does fit into the overall picture of java more then the ND structure.
> 2) I understand that JSP pages are easier to develop then concatenate
> strings in servlets. But aren't servlets a better alternative to JSP when
> it comes to html reuse (can inherit).
That depend on what you mean by html reuse.
1. If you have say a column of system buttons on the left margin you can put
all the html (+ jsp ) code in one file and just include them into your jsp
page. This means you can maintain one file for all the pages that use this.
2. In theory you can put logics to include differnt files into your jsp
pages but I am not sure that is worth the effort. This is knd of simular to
inheritence in effect but not as cool. From a pure theoretical point of view
jsp/asp are not great standards. Unfortunately they can save a lot of time
compare to the better theoretical solutions. It is simular to the reason
why powerbuilder and vb are the most popular language used in application or
client server system then C++/Java and other better language. The reason is
you can develop applications faster in those languages using the gui
development tool.
3. One other issue is the fact that very few people out there who can do
good servlet code and also know or want to do a lot of gui html stuff. HTML
stuff are very browser dependent and it is more art then programming. It
takes different skills and personality to do a good job. Mixing it up with
client side scripting is even worst.
>
> Thanks
>
> ----------
> From: peter cheung[SMTP:[EMAIL PROTECTED]]
> Reply To: peter cheung
> Sent: Friday, December 17, 1999 12:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ND] JSP, JHTML vs ND Templates
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]