Problem Subclassing Tag

2003-04-12 Thread Adam Sherman
I'm getting:

JasperException: No getter method for property name of bean
org.apache.struts.taglib.html.BEAN
My tag is actually a subclass of org.apache.struts.taglib.html.OptionsTag.

I don't mess with the name property or define it in my tld. (My tag sets
up the parent tag without any parameters.)
So, first, what is BEAN?

And, second, what is causing my error?

Thanks for your input.

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Re: Dreamweaver type application

2003-04-12 Thread Steven J. Owens
On Thu, Apr 03, 2003 at 05:18:13PM -0800, Ed Ventura wrote:
 Yeah, the java programmer here redid the site that I created in
 dreamweaver with his own code and it worked fine. Of course he
 changed the jsp pages to be template pages instead.

 It's really hard to know what could have been happening, without
seeing the code or an exception stack trace or anything.  Quite likely
the Dreamweaver-generated code was doing something the brute-force way
and that brought the server down.  For example, if you were selecting
a bunch of rows and displaying them, depending on how many rows are
returned by your select, you could easily overwhelm the memory of the
system and bring the JVM crashing down.

 Not to say that's what was happening, but it's the sort of thing
that could easily happen.

Steven J. Owens
[EMAIL PROTECTED]

I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt. - Me at http://darksleep.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Request For Architecture Suggestions

2003-04-12 Thread Steven J. Owens
On Thu, Mar 27, 2003 at 11:45:08PM -0500, Mark Kamoski wrote:
 I have just been assigned to build a simple and small portal site in JSP. I
 am rather new to JSP.

 You might want to check out the Jakarta project's Jetspeed, which
is supposed to be oriented towards portal building.  I haven't worked
with it, though I've heard the odd comment about it.  At the very least,
reading about it will give you some ideas.

http://jakarta.apache.org/jetspeed/


Steven J. Owens
[EMAIL PROTECTED]

I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt. - Me at http://darksleep.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Problem Subclassing Tag

2003-04-12 Thread David M. Karr
 Adam == Adam Sherman [EMAIL PROTECTED] writes:

Adam I'm getting:
Adam JasperException: No getter method for property name of bean
Adam org.apache.struts.taglib.html.BEAN

Adam My tag is actually a subclass of org.apache.struts.taglib.html.OptionsTag.

Adam I don't mess with the name property or define it in my tld. (My tag sets
Adam up the parent tag without any parameters.)

Adam So, first, what is BEAN?

Adam And, second, what is causing my error?

You'd have better luck asking this on the struts-user list.

The value of org.apache.struts.taglib.html.BEAN is what is used if the name
attribute is not specified.  As the documentation for the options tags says,
if you don't specify it, it will use the name of the ActionForm bean specified
in your form tag.

The error message states there is no name property on the specified bean.

--
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com