× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: beans and JSPs and stuff...
  • From: "Nathan M. Andelin" <nathanma@xxxxxxxxx>
  • Date: Tue, 27 Feb 2001 21:09:16 -0700

Joe,

Your examples, a combination of HTML and class references (widgets) in a JSP
are most interesting.  They raise a few questions in my mind.

I see a lot of client-side Java Script included in web pages these days.
The script frequently references HTML components by name (i.e.
document.form.field.value).  Browser script may validate or even change HTML
component properties at runtime.  Do your widgets return HTML components
with names that are known to the JSP author at design time?  How can a
script author reference widget generated HTML?

I see a lot of parallels between class instantiation and DLL loading.  When
a JSP references a large number of widgets, how do you prevent load overhead
for each widget instantiated?

It looks like the primary purpose of widgets is to dynamically generate
client code (HTML, etc.).  Are they not, in effect mini-CGI components in
and of themselves?

Thanks in advance,

Nathan.

Since
<snip>
[HTML]
[HEAD][TITLE]My Data Table[/TITLE][/HEAD]
[BEAN name="widget" type="DataTableWidget"][/BEAN]
[BODY]
[%= widget %]
[/BODY]
[/HTML]
<end snip>


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.