= com.mypackage
= MyBean
also work?
Regards,
Wilson (newbie)
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 4:34 AM
Subject: Re: JavaBean problem
Percival Bragg wrote:
I am a bit confused about creating packages for
javabeans. I am working thru a book titled JSP
Weekend Crash Course which mentions nothing about
compiling the bean into a package or using an include
statement in the JSP page. Is the book incorrect or is
this also a viable
Thaks for your help on this problem.
--- Erik Price [EMAIL PROTECTED] wrote:
Percival Bragg wrote:
I am a bit confused about creating packages for
javabeans. I am working thru a book titled JSP
Weekend Crash Course which mentions nothing about
compiling the bean into a package or
Users List [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 4:34 AM
Subject: Re: JavaBean problem
Is the bean in an actual defined package or the default package (no
package). It *must* be in a package. So, instead of
WEB-INF/classes/MyBean, it would be something like
WEB-INF/classes
I have just created and compiled my first JavaBean
into tomcat-install\webapps\ROOT\WEB-INF\classes and
am tying to access it from a jsp page in
tomcat-install\webapps\ROOT directory. I am getting
jsp compile errors because the jsp page cannot find
the class defined in the JavaBean.
Any help
Is the bean in an actual defined package or the default package (no
package). It *must* be in a package. So, instead of
WEB-INF/classes/MyBean, it would be something like
WEB-INF/classes/com.mypackage.MyBean
Now import the com.mypackage.MyBean bean into your jsp. Things should work
better
= MyBean
also work?
Regards,
Wilson (newbie)
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 4:34 AM
Subject: Re: JavaBean problem
Is the bean in an actual defined package or the default package (no
package
rendering to a taglib so that I don't need the Java
doing the iteration.
Again thanks for the help.
- Rich
-Original Message-
From: Greg Trasuk [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 11:40 AM
To: 'Tomcat Users List'
Subject: RE: Strange javabean problem
Hi
to a taglib so that I don't need the Java
doing the iteration.
Again thanks for the help.
- Rich
-Original Message-
From: Greg Trasuk [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 11:40 AM
To: 'Tomcat Users List'
Subject: RE: Strange javabean problem
Hi folks:
Rich, you've
Hi Folks,
I'm using Tomcat 4.01 with Jbuilder 6. I've got a strange problem.
It seems that if I try to dump data from a Java bean using the
jsp:getProperty tag I don't get the data. However, if I reference
the value of the bean directly in a scriptlet it works fine.
greetings all,
i
21, 2002 7:45 PM
To: [EMAIL PROTECTED]
Cc: Rich Sneiderman
Subject: RE: Strange javabean problem
Hi Folks,
I'm using Tomcat 4.01 with Jbuilder 6. I've got a strange problem.
It seems that if I try to dump data from a Java bean using the
jsp:getProperty tag I don't get the data. However
Users List
Subject: RE: Strange javabean problem
I can't believe we're the only people who have ever seen this problem.
I'm still having the problem but I got to the same place differently.
I load the data from a data base in a servlet. The servlet reads from
the database it creates
Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 7:59 AM
To: 'Tomcat Users List'
Subject: RE: Strange javabean problem
You are not creating a bean named emp for the jsp:getProperty.
You need to use jsp:useBean first (I believe) or use
information technology to
solve business problems on your plant floor.
http://stratuscom.ca
-Original Message-
From: Rich Sneiderman [mailto:[EMAIL PROTECTED]]
Sent: February 22, 2002 12:15
To: Tomcat Users List
Subject: RE: Strange javabean problem
Sorry about that. I should have
Hi Folks,
I'm using Tomcat 4.01 with Jbuilder 6. I've got a strange problem. It
seems that if I try to dump data from a Java bean using the
jsp:getProperty tag I don't get the data. However, if I reference the
value of the bean directly in a scriptlet it works fine.
Here's a code snippet:
: Tuesday, February 19, 2002 6:51 AM
|To: [EMAIL PROTECTED]
|Subject: Strange javabean problem
|
|
|Hi Folks,
|
|I'm using Tomcat 4.01 with Jbuilder 6. I've got a strange problem. It
|seems that if I try to dump data from a Java bean using the
|jsp:getProperty tag I don't get the data. However, if I
: Strange javabean problem
Hi,
I'm not sure at all if this is the problem but let's see:
do you use jsp:useBean tag for the emp page bean? AFAIK that tag is
responsible for creating the object in page's context.
hope this helps
Janos
|-Original Message-
|From: Rich Sneiderman [mailto:[EMAIL
According to JSP specs if you're attemting to initialize a bean property from a
request parameter that does not exist or is defined as an empty value then
jsp:setProperty command has no effect: the tag is just ignored. More exactly
(from the JSP 1.1 spec):
If the param is not set in the
.
jsp:setProperty name=myBean property=fieldOne VALUE= /
Thanks!
Mike
-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:36 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP / JavaBean problem
firstly - right list. unfortunately I dont have
: Dmitri Colebatch [SMTP:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 2:27 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP / JavaBean problem
Mike,
Yeah - I see the problem. I reckon the easiest way would be to make a
clearProperty tag that does it for you, or maybe a custom
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Hi, I'm new to this list, and hope this is the appropriate forum. Kick me
over to a developer forum if not...
I am developing JSPs with JavaBeans and have run into an issue with blank
input fields on the form. An empty string, , is NOT passed to the setter
method on my beans. I have
firstly - right list. unfortunately I dont have a direct answer for you,
although do see what you're asking. what might help you though is something
like struts (http://jakarta.apache.org/struts). it handles the sorts of
issues that are (by the sounds of it) at the base of your problem
Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:36 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP / JavaBean problem
firstly - right list. unfortunately I dont have a direct answer for you,
although do see what you're asking. what might help you though is something
like struts
29 matches
Mail list logo