Chen, Gin wrote:
> This is kind of a funny issue. If you do not have a package for a
> particular class, you have to add the class file to the lib directory of
> WEB-INF (create one if you dont have one). If it does have a package,
> then it is safe to put into the classes directory. You do not h
Tim,
Do you know if this is true just for Tomcat (or even specific versions of
Tomcat) or is it true for all servlet containers?
-jmc
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For diges
directory structure under the WEB-INF/classes directory.
(*Chris*)
- Original Message -
From:
Chen,
Gin
To: [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 9:24
AM
Subject: Re: [JSP-INTEREST] JSP
Beans
This
is kind of a funny issue. If you do not
first.
IMHO,
You should follow standards and put all classes into a logical
package.
-Tim
-Original Message-From: Chris Pratt
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 16, 2002
12:22 PMTo: [EMAIL PROTECTED]Subject: Re: JSP
Beans
Make sure that the jar file containing
AM
Subject: [JSP-INTEREST] JSP Beans
Hello ,
I am using Tomcat 4 and I have
placed all my bean classes in the web-inf/classes
directory.
However when I use them in my JSP
as beans , the following error is
thrown D:\Tomcat\work\localhost\pim\calendar$jsp.java:464
Hello ,
I am using Tomcat 4 and I have placed all my bean classes in
the web-inf/classes directory.
However when I use them in my JSP as beans
, the following error is thrown
D:\Tomcat\work\localhost\pim\calendar$jsp.java:464: Class org.apache.jsp.printCalendar not found. If I place
> JSP Beans and JavaBeans are one and the same.
In the context of JSP's and Servlets the terms, Beans, JavaBeans,
ServletBeans and JSP Beans are one in the same.
There is no such thing as ServletBeans and JSP Beans.
FYI: The original JavaBeans spec was intended for pluggable GUI compone
Servlet Beans? Not sure what those are. JSP Beans and JavaBeans are one and
the same. On a JSP page, you use JavaBeans for various purposes. These are
the same JavaBean classes you use in servlets, or for whatever other purpose
you may need.
> -Original Message-
> From: A mailin
JSP Beans are nothing but Srevlet Beans
- Original Message -
From: "Steve Bang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:57 AM
Subject: JSP Beans vs. Java Beans
> Is the term "JSP Beans" useful? I've noticed
Thanks for the correction, Richard! Your explanation is great!
-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP Beans vs. Java Beans
Steve,
I would say that the term 'JSP Bean' is
ool and are not stored in
serialized form. Beans in JSP pages are typically used as value objects to
store related pieces of data or to encapsulate functionality in a reusable
package. JSP beans don't use any of the classes in the java.beans package
as the other JavaBeans might use. Jav
no difference. beans is beans.
EJB -- now those are different.
-Original Message-
From: Steve Bang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 9:58 AM
To: [EMAIL PROTECTED]
Subject: JSP Beans vs. Java Beans
Is the term "JSP Beans" useful? I've noticed
Is the term "JSP Beans" useful? I've noticed that in several JSP books, the
authors use this term. One book even had an index reference for JavaBeans
that said "See JSP Beans." Yet, when I search Sun's site for the use of the
term, it doesn't exist. Is thi
I have installed on my Linux system Java 2 enterprise edition version
1.4(beta) and Java 2 1.3.1 standard edition. I have to write a JSP that
uses a bean to manage session informations, but everytime I load the JSP
the server sends me an error page saying he can't find the class files
of the bean.
Really ? Cool ... maybe that's what I need ...
Do you know where can I download It ?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INT
ges specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bayu Nurcahyono
> Sent: Tuesday, June 12, 2001 10:27 AM
> To: [EMAIL PROTECTED]
> Subject: Jsp + Beans...
>
>
> Hello All...
>
> I'm New in Jsp and this mailing List... First I want to Introduce my
[EMAIL PROTECTED]
-> Subject: Re: Jsp + Beans...
->
->
-> yes that is possible.
->
-> you should note that JavaBeans used from JSPs would *NOT*
-> normally have
-> any GUI portion - i.e. you would simply be calling the get /
-> set methods
-> on properties (using the Jav
yes that is possible.
you should note that JavaBeans used from JSPs would *NOT* normally have
any GUI portion - i.e. you would simply be calling the get / set methods
on properties (using the JavaBean 'pattern' - and i use the word pattern
lightly!) and calling methods on the beans.
For an AWT a
Hello All...
I'm New in Jsp and this mailing List... First I want to Introduce my self,
I'm bayu from Indonesia.
I want to design beans so it can be used for =
1. jsp with :
2. awt app for win32 ..
Is that possible ?
Thanks
Bayu
Hi,
We are trying to collect around 36 Radio-Button field values from a fom in a
JSP page.
These fields are across three pages, so the purpose is to collect all values
for insertion
into a Database.
Obiously, the issue here is session/user tracking, and we are trying to
acomplish this using
a Ja
I'm getting a strange result when trying to work with Beans and I'm hoping
someone can point out what I'm doing wrong.
I'm writing a simple test bean, one private string var and the constructor
initializes that string. My jsp declares the bean, and then calls the
getVariable() method that simply
ssage -
From: Srinivasan Kannan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 07, 2000 7:51 PM
Subject: help me out - problem in JSP/Beans using Apache web server and New
Atlanta ServletExec
> hi friends,
> I have a problem in jsp. The problem is
PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: help me out - problem in JSP/Beans using Apache web server an
> d New Atlanta ServletExec
>Date: Thu, 7 Dec 2000 10:25:25 -0500
>
>Try specifying the classpath in the properties file, and start your apps
>se
.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Srinivasan Kannan
Sent: Thursday, December 07, 2000 3:21 PM
To: [EMAIL PROTECTED]
Subject: help me out - problem in JSP/Beans using Apache web server and
New Atlanta
Try specifying the classpath in the properties file, and start your apps
server.
Srikanth
-Original Message-
From: Srinivasan Kannan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 9:21 AM
To: [EMAIL PROTECTED]
Subject: help me out - problem in JSP/Beans using Apache web
hi friends,
I have a problem in jsp. The problem is i
call a bean from my jsp page but when i run it, it's
giving me an error as that bean not found. i'm new to
jsp and bean, i don't have any problem in compiling
the bean.But i don't know the exact place as to where
i should put my jsp
Hi Prasad,
I'm using JSP to deliver both my HTML & WML.
First, I check the browser type:
if (request.getHeader("Accept").indexOf("wml")!= -1)
browserType = 1;//wap browser
else
browserType = 0;//standard browser
//then I process some JSP + deliver the html stuff
//then I show
Resending the same message as the server sent me rejection notice. If you
got the same message earlier please ignore this one.
Thanks
Prasad
Guys,
I have a problem with how to use Bean tages in JSP to generate WML page.
i have a JSP which works fine when I generate HTML pages. Now I want to d
Don't understand this error :
Can't find resource key "BeanUtils.NoGetter" in base name
allaire/jrun/jsp/resource.properties
java.util.MissingResourceException: Can't find resource key
"BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
at allaire.jrun.util.RB.getString(
Hi, I just installed JRUN web application and Apache, do I have two option
on where to put my files (JSP and Beans), I know that I can create a web
aplication in JRUN and put my files in the directories created, but how
about if I want to put everything in Apache, before I was usinf just jsp
files
Use request.setAttribute("name",newattributevalue);
In the back end servlet
use request.getAttribute("name")
krishnan
-Original Message-
From: Manju [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 7:30 PM
To: [EMAIL PROTECTED]
Subject:JSP-B
Of Naresh Thawani
> Sent: Tuesday, August 15, 2000 9:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP-Beans-Servlets
>
>
> Use set and get to restore session values and resubmit
>
> -Original Message-
> From: Manju [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August
Use set and get to restore session values and resubmit
-Original Message-
From: Manju [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:00 AM
To: [EMAIL PROTECTED]
Subject: JSP-Beans-Servlets
Importance: High
Hi
I am fairly new to JSP and servlets and am facing the following
Hi
I am fairly new to JSP and servlets and am facing the following problem
My JSP page uses a Bean. The form elements in the html page reflect the bean
attributes. On submitting the form, the bean attributes hold the values as
entered by the user in the form.
Now i populate values for the other a
> Jason Wyatt wrote:
> >
> > Hi,
> >
> > I am using JBuilder 3.5 Enterprise & am having a problem with
> > JSP's introspection, ie using setProperty<... property="*" ...> to
> > set fields of the same name in a bean.
> >
> > I have two jsp pages, one to display a page (the 'view' page) and
> > ano
Jason Wyatt wrote:
>
> Hi,
>
> I am using JBuilder 3.5 Enterprise & am having a problem with
> JSP's introspection, ie using setProperty<... property="*" ...> to
> set fields of the same name in a bean.
>
> I have two jsp pages, one to display a page (the 'view' page) and
> another to read the for
Hi,
I am using JBuilder 3.5 Enterprise & am having a problem with
JSP's introspection, ie using setProperty<... property="*" ...> to
set fields of the same name in a bean.
I have two jsp pages, one to display a page (the 'view' page) and
another to read the form which is generated from the view
wrote:
>>
>> Hello,
>> I’ve a problem with Tomcat 3.1 and JSP Beans.
>>
>> The following code doesn’t work in Tomcat 3.1 but works in Suns JSP
>> severs 1.0
>>
>> Code :
>> ***
Stefan Magin wrote:
>
> Hello,
> I’ve a problem with Tomcat 3.1 and JSP Beans.
>
> The following code doesn’t work in Tomcat 3.1 but works in Suns JSP
> severs 1.0
>
> Code :
>
>
> type
Hello,
I’ve a problem with Tomcat 3.1 and JSP Beans.
The following code doesn’t work in Tomcat 3.1 but works in Suns JSP
severs 1.0
Code :
Hello
Tomcat bring this error message
"Joseph B. Ottinger" wrote:
>
> On Thu, 30 Mar 2000, Glenn Nielsen wrote:
>
> > But we have not found a way yet to pass an object from one bean to
> > another. For example, say they use one bean that performs a query
> > of a database to generate a Vector containing a result set. And
> > need to
On Thu, 30 Mar 2000, Glenn Nielsen wrote:
> But we have not found a way yet to pass an object from one bean to
> another. For example, say they use one bean that performs a query
> of a database to generate a Vector containing a result set. And
> need to pass that Vector object on to another be
"Craig R. McClanahan" wrote:
>
> Glenn Nielsen wrote:
>
> > I am currently researching JSP in the hopes of pushing out to 100's of
> > web publishers (non programmers) the ability to generate dynamic content
> > using a web publishing tool like Web Sphere Studio without having to
> > write any Jav
Glenn Nielsen wrote:
> I am currently researching JSP in the hopes of pushing out to 100's of
> web publishers (non programmers) the ability to generate dynamic content
> using a web publishing tool like Web Sphere Studio without having to
> write any Java code (scriptlets) in their JSP. So that
I am currently researching JSP in the hopes of pushing out to 100's of
web publishers (non programmers) the ability to generate dynamic content
using a web publishing tool like Web Sphere Studio without having to
write any Java code (scriptlets) in their JSP. So that they can just
drag beans into
"Scott
Stirling" To: <[EMAIL PROTECTED]>
Subject: Re: JSP, beans, Notes & Chinese
2000.03.23
12:05
Contact:
Company:
Too vague. What do
I'm trying to build a JSP/bean setup which gets simplified Chinese (GB )
from a Notes database. Here is the setup:
English Notes running on English NT server
web page encoding gb2312
Direct access to database through the Notes Java API.
The problem is that it returns garbage. I have tried playin
great if you can point me where i am doing mistake.
Thanks... R. Bala
-Original Message-
From: Lee Collins [SMTP:[EMAIL PROTECTED]]
Sent: Friday, March 17, 2000 3:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Need Urgent Help needed regarding JSP & Beans
Vinay,
Did you specify a
still i have "userid" as INIT-NAME and not NEWNAME.
It will be great if you can point me where i am doing mistake.
Thanks... R. Bala
-Original Message-
From: Lee Collins [SMTP:[EMAIL PROTECTED]]
Sent: Friday, March 17, 2000 3:53 AM
To: [EMAIL PROTECTED]
Subject:
what is the scope of the bean?
Dennis Huang
-Original Message-
From: Vinay Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 March 2000 7:54
To: [EMAIL PROTECTED]
Subject: Need Urgent Help needed regarding JSP & Beans
HI Guys,
I need some urgent help.
I have a 3 JSP pages. In
7;t know what the default is but it seems like scope='session' is what
you want.
Lee
>From: Vinay Kulkarni <[EMAIL PROTECTED]>
>Reply-To: Vinay Kulkarni <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Need Urgent Help needed regarding JSP & Beans
>Dat
are you specifying in your usebean tag what the scope of the bean is? if
not, i think the default is 'page'.
bradley mclain
>From: Vinay Kulkarni <[EMAIL PROTECTED]>
>Reply-To: Vinay Kulkarni <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Need Urgent
OTECTED] <[EMAIL PROTECTED]>
Date: Friday, March 17, 2000 8:48 AM
Subject: Need Urgent Help needed regarding JSP & Beans
>HI Guys,
>
>I need some urgent help.
>
>I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
>bean. The bean is used to set & get
scope="session" in the useBean tag.
- Original Message -
From: "Vinay Kulkarni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 16, 2000 3:54 PM
Subject: Need Urgent Help needed regarding JSP & Beans
> HI Guys,
>
> I need s
Hi vinay,
This is a prblem regarding the scope of the bean/jsp
page.
In the second jsp page you need not instantiate the
bean again. Using the "id" attribute you can always
manipulate the bean in the second jsp page.
hope this should suffice.
get back for more info.
manoj
--- Vinay Kulkarni <[E
]]On Behalf Of Vinay Kulkarni
> Sent: Thursday, March 16, 2000 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Need Urgent Help needed regarding JSP & Beans
>
>
> HI Guys,
>
> I need some urgent help.
>
> I have a 3 JSP pages. In all the three JSP pages I am instantiating
HI Guys,
I need some urgent help.
I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
bean. The bean is used to set & get a value.
Now From the 1st page I set some value by calling a set method from the
bean. Now when I go to the second or third page & try to get the value
servlet.properties files look? The following is the directory structure :
jswdk101
WebApplication
jsp
login
login.jsp
web-inf
jsp
beans
login
LoginBean.java
Where everything is a directory except for the
packages is more flexible an allows for
more expressive interfaces. I can manage to slap the import tag in myself.
> -Original Message-
> From: mat Lanana [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 20, 1999 1:08 PM
> To: [EMAIL PROTECTED]
> Subject: JSP &
What are the advantages of using JavaBeans in JSP files
over importing Java -server side- code into JSP files ?
e.g.<%@ import="MyApplication.*" %>
Has the lattest any impact on performance?
Can everything be built as a Bean?
Thanks.
__
Ge
Cheonsu, By definition bean constructors take no arguments. However, you
should be able to use the jsp:setProperty tag in conjunction with the
jsp:useBean tag to do what you want to do.
Say for instance that you have a FooBar class with a constructor that
takes string and date arguments:
publi
If i want to initialize Constructor arguments.
how to use bean tag ?
ay, August 21, 1999 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP beans and external classes
>
> >Are there any implementations of JSP that don't require the webserver to
> >be restarted every time a change is made to an external bean or class?
> >This
Resin (http://www.caucho.com)
Are you planning on hosting JSP pages? I've wondered about the security problems of
hosting JSP. If each customer has her own JVM, then things are pretty easy. And thin
servers are getting cheap enough that giving a server per host is becoming reasonable.
Other
>Are there any implementations of JSP that don't require the webserver to
>be restarted every time a change is made to an external bean or class?
>This is a _major_ problem...
WebSphere.
Bob Foster
Symantec Internet Tools http://www.visualcafe.com/
==
Are there any implementations of JSP that don't require the webserver to be restarted
every time a change is made to an external bean or class? This is a _major_ problem,
and I hope it's fixed in Jakarta. I can't imagine hosting JSP pages if I have to deal
with customers requesting I restart
ED]>
Date: Monday, June 14, 1999 4:39 AM
Subject: JSP Beans & Sessions
>Hi All,
>
>I've been working with JSP for about a week now & so far so good!.
>
>(Like a large number of people) I'm most interested in using JSP to create
>dynamic pages with contents prov
Derek Conniffe wrote:
> Hi All,
>
> I've been working with JSP for about a week now & so far so good!.
>
> (Like a large number of people) I'm most interested in using JSP to create
> dynamic pages with contents provided via. a database connection.
>
> I
Hi All,
I've been working with JSP for about a week now & so far so good!.
(Like a large number of people) I'm most interested in using JSP to create
dynamic pages with contents provided via. a database connection.
I've written the JSP Beans which handle the database conn
99 8:45 PM
> > To: A mailing list for discussion about Sun Microsystem's Java Servlet
> > API Technology.
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: JSP - beans - configuration quesions
> >
> >
> >
> >
> > hi paul
dear all,
well I have just started jsp , well I had some confusions regarding the
instantiation of jsp page and the Beans for different sessions.
Thanks
Mustafa Zafar
===
To unsubscribe, send email to [EMAIL PROTECTE
hi paul -
with regards to item 1:
the default.cfg file is a means by which to configure service
options prior to startup. that other means is command line
(eg. startserver -help). the options are:
server.portthe port the http service will be
ts in get methods.
Bob Foster
Symantec Internet Tools http://www.visualcafe.com/
__ Reply Separator _____
Subject: Re: How to access JSP beans from each other ?
Author: Drew Cox <[EMAIL PROTECTED]> at Internet
Date:5/4/99 3:21 PM
We
something equivalent.
Thanks for you suggestions,
Drew Cox
Barrack Consulting
> -Original Message-
> From: Scott Ferguson [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, 4 May 1999 13:45
> To: [EMAIL PROTECTED]
> Subject: Re: How to access JSP beans from each other ?
&g
This is one of the cool things about JSP 1.0. Beans are stored in their
corresponding scope variable.
So, application scope beans are stored in the 'application' implicit
variable. You can then pass the application object (or the pageContext) to
the bean.
<%
test.doSomethingCool(applicati
I hope l'm missing something simple, but how do you get a reference to a
JSP bean defined with USEBEAN from within another JSP bean ?
Specifically, l would like to do some simple DB connection pooling by
creating an "application" scope bean "DBConnection", that loads the JDBC
driver & creates a c
David Mossakowski wrote:
> How to make a connection to a database reusable? I do not want a bean
> to load the driver for each session. It would be great if I could have
> a ConnectionServlet that I could pass a request from a bean let's say.
> Or would it be easier to call servlet from JSP? H
Greetings,
How to make a connection to a database reusable? I do not want a bean
to load the driver for each session. It would be great if I could have
a ConnectionServlet that I could pass a request from a bean let's say.
Or would it be easier to call servlet from JSP? How can this be done?
78 matches
Mail list logo