From: "Luis Javier Beltrán" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 10:40 PM
Subject: Re: Use of beans
> Hola Martin,
>
> I thought that as tag values 'a' would be just the same as "a", as they
are
> str
la ayuda,
LJ
- Original Message -
From: "Martin" <[EMAIL PROTECTED]>
To: "A mailing list about Java Server Pages specification and reference"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 8:45 AM
Subject: Re: Re: Use
Dear Sir/Madam,
Our Domain (psl.polarinc.com) has been changed to pil.polarinc.com.Pl send your emails
on changed
address as pil.polarinc.com instead of psl.polarinc.com
For example: if you want to send your email to
nk(username)as [EMAIL PROTECTED],now you pl send
on [EMAIL PROTECTED]
Inconven
x27;A'
what could it be??
LJ
- Original Message -
From: "Ritesh Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 2:02 AM
Subject: Re: Use of beans
> Hey Luis,
>
> Can you print here what all jsp:setProperty
Hey Luis,
Can you print here what all jsp:setProperty tags are you using for setting
properties in Bean C?
Ritesh
- Original Message -
From: "Luis Javier Beltrán" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 3:52 AM
Subject: Use of
Hello,
>
>
>
>
try using value="a" instead of param="a". Also ensure that the beans 'a'
and 'b' are still in scope on the page where you are setting the property.
the default scope is page. if you are using the above setProperty on
another
> Subject: Use of beans
>
>
> Hi everybody,
>
> I have 3 different forms that should save information in 3
> different tables in a database. For that task, I've created 3
> beans to hold the info. These beans, reflect the structure of
> each table. Ass
Hi everybody,
I have 3 different forms that should save information in 3 different tables
in a database. For that task, I've created 3 beans to hold the info. These
beans, reflect the structure of each table. Assuming the tables are similar
to this:
Table A Table BTa
t lies within us - Emerson
> -Original Message-
> From: karthikeyan.balasubramanian
> [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to access remote beans
>
> You might want to explore RMI.
>
&
You might want to explore RMI.
Which does similiar job like the one you mentioning.
Karthikyan B
- Original Message -
From: "Ritesh Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 11:34 AM
Subject: Re: how to access remote
Hi Ramesh,
The bean that you are trying to instantiate is a JavaBean. These beans are
always used local to the JSP page. I have never seen a syntax anywhere close
to the one you are trying to give. Can you explain what you mean by 'remote'
beans ?
Regards,
Ritesh
- Origin
Hi everybody,
This is a question from a newbie! Can i run a jsp program on one machine that accesses
a remote bean.
I mean:
if the following is the line i am using in my jsp program to access a bean that is
existing on my machine
can i access a remote bean in some way like
http://xxx/com.xxx
ember 02, 2002 2:37 PM
Subject: Invoking scoped beans from other beans and servlets
> Hi everyone,
>
> Is there a way to get some properties from a session-scoped bean from
> another bean or servlet??
> I need to get some session-related information in several parts of an
> ap
Hi everyone,
Is there a way to get some properties from a session-scoped bean from
another bean or servlet??
I need to get some session-related information in several parts of an
application and I have a session bean that holds such info.
Thanks in advance
Luis Javier
==
ackground).
Some clever things to be discovered there :)
Of course, I don't agree with Hans Bergsten on
all of the topics. Mostly about details. Personally,
for example, I think that Strut's ActionForms
(which are beans | value objects after all)
are basically a good thing and n
ook a bit, it has one
chapter that describes in detail how to use a listener to initialize
app resources, a filter to perform access control, Struts for Controller
logic, beans for the Model, and JSP for the View.
For more about my JSP book, see <http://TheJSPBook.com/>
Hans
--
Hans Bergste
Hi,
I have been going through a lot of stuff about how an application can be built using
MVC architecture. But , I didnt get a good site which explains a basic example using
the above structure and interacts with a database.There is a site
...www.stardeveloper.com , which explains how to use th
Hope that helps
>
> Amit
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vijayanand
> Sent: Tuesday, September 24, 2002 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: Advantage of Taglib over
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 6:13 PM
Subject: Advantage of Taglib over Beans in JSP
hi all,
I would like to know what is the advantage of using Taglibs(Custom Tags)
than using Beans in jsp. Is there any advantage in performance issues. Can
any
, need I say more :)
Hope that helps
Amit
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Vijayanand
Sent: Tuesday, September 24, 2002 4:14 PM
To: [EMAIL PROTECTED]
Subject: Advantage of Taglib over Beans in
hi all,
I would like to know what is the advantage of using Taglibs(Custom Tags) than
using Beans in jsp. Is there any advantage in performance issues. Can any one give me
an idea on this.
thanks & regards
vijayanand.R
(),,,()
( (. .) .-'''''
So if I make my own classes , it is compulsary to
place it in a package , incase i do not wish to...
normally i would make a package depending upon the
functionality of the classes.
Secondly, where do I place my taglib classes and the
tld file...
please help
Purav
_
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
Ravindra wrote:
> Dear All,
>
> I want to talk to a perl master in our jsp group out there ?hurry.I badly
> need a help on perl
what about trying a perl mailing list?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
I don't know the perl list id
- Original Message -
From: "Panagiotis Konstantinidis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 3:02 PM
Subject: Re: Beans invokes method on JSP??
> Why don't you look to a Perl l
ssage -
>From: "Christian Kurze" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, December 26, 2001 4:52 PM
>Subject: Beans invokes method on JSP??
>
>
>> Hi,
>>
>> is it possible, that a bean can invoke a method on a JSP when
Dear All,
I want to talk to a perl master in our jsp group out there ?hurry.I badly
need a help on perl
Varna...
- Original Message -
From: "Christian Kurze" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 26, 2001 4:52 PM
Subject: Beans
Hi,
is it possible, that a bean can invoke a method on a JSP when a
PropertyChangeEvent is thrown on a special field of the bean? How could I
implement it? Maybe the BeanContext is helpful? I already know the method of
pushlets, as described in JavaWorld 03-2000
(http://www.javaworld.com/javaworl
Title: Message
Yes, you're right.
I've just described the common case of using beans
from tag hanler. These beans can be commonly be used both by JSPs and tag
hanlers.
BTW, The code, which instaciates bean in tag
handler, is the same, what JSP Compiler produces whet it comes
acro
-Original Message-From: Yuri Grument
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 25,
2001 1:26 PMSubject: Re: Accessing Beans from
TagLibs
Hi, Puray
Tomcat includes all classes located in
web-inf/classes and all jars located in web-inf/lib into CLASSPATH avai
uot;+"dates.JspCalendar",
exc); } pageContext.setAttribute("clock", clock,
PageContext.PAGE_SCOPE);}
Regards, Yuri
- Original Message -
From:
Purav
To: [EMAIL PROTECTED]
Sent: Tuesday, December 25, 2001 9:12
AM
Subject: Accessing Beans from
TagLibs
Title: JSP-INTEREST Digest - 23 Dec 2001 to 24 Dec 2001 (#2001-367)
Hello,
I am using Tomcat 4.
I want to instantiate my Beans in my taglibs.
The Beans are located in web-inf/classes
directory and taglibs are located in web-inf/lib directory
In JSP page I can use the jsp:useBean
Antony,
The pageContext bit won't work because the method doesn't exist (I was just guessing
it might).
Instead, it looks like there's a better way to do the whole thing. You can use the
method:
Enumeration PageContext.getAttributeNamesInScope(int scope)
to get the attribute names at each l
hi everybody,
i have posted a few emails a while ago about the big5 charset support in JSP
pages.
Fortunately the problem is solved, i appreciae those who helped me.
Now, i have a new version of this problem , and it seems it is a little bit
more
complicated than the previous one. The problem is:
Thanks for the reply Chris. I just ran your code and it works fine, except for the
Enumeration enum = pageContext.getAttributeNames();
while( enum.hasMoreElements() ) {
out.println( enum.nextElement() + "" );
}
My jsp page is hanging on the pageContext.getAttributeNames() line. Any
The beans are just stored in the appropriate scoping object (i.e.
pageContext, request, session, or application). You can get at them using
.getAttribute("beanname"). Or you can get a list of the
names of all the objects stored as attributes on one of those objects using
.getAttr
Hi
How can I print out a list of all the beans available to a jsp page. Ie
I want to include in my jsp page a small section of code which prints
out all the beans that this page can access.
Cheers
Tony
===
To unsubscribe
Title: RE: Dev. app. for beans
Make
sure you have argument as "$(FileName)" and initial directory as "$(FileDir)".
Have Capture output clicked as well.
-Original Message-From: Praveen Potineni
[mailto:[EMAIL PROTECTED]]Sent: Friday, November 09, 2001
10:55 AM
Title: RE: Dev. app. for beans
HI Jean,
The procedure was easy as you have said but i
couldn't get it to compile the .java file properly. Do we have to set
PATH..
I got this:
Normal termination and got the output as if PATH is
not set properly.
Any clues...
Thanks
Praveen
- Ori
Title: RE: Dev. app. for beans
Go to
tools, preferences, then under tools / User tools, you can add group and tool
items to your menu and once you do that, you can add "Compiling Java" under the
menu text, and under the command you give it "C:\jdk1.3.1_01\bin\javac.exe",
th
Title: RE: Dev. app. for beans
How do u configure Editplus to handle compilation
of .java source files. How do u create shortcut to java.exe.
Thanks in advance
Praveen
- Original Message -
From:
Jean-Francois Pinero
To: [EMAIL PROTECTED]
Sent: Friday, November 09
Title: RE: Dev. app. for beans
Good old EditPlus, it's like notepad but you can create shortcuts to javac.exe and the such so I can compile them. Nothing fancy.
-Original Message-
From: Henrik Johansson [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 8:29 AM
To: [
Henke,
Most commercial IDEs have bean development capabilities. JBuilder
and Visual Cafe seem to be the most popular among them. They can help you
develop any type of beans. Java Beans and EJBs as well. If your new to
developing beans, I would suggest you start with that application that
Hi!
What app are you using when developing beans?
/Henke
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTERES
SriHari wrote:
>
> Hi All
>
> I am using tomcat 3.2.3
> I tried converting Tomcat as NT service
> i am able to run all my jsp file (with out beans)
> but i am getting error that the class definition is not found when i am
> running jsp files which contain beans
>
>
Hi All
I am using tomcat 3.2.3
I tried converting Tomcat as NT service
i am able to run all my jsp file (with out beans)
but i am getting error that the class definition is not found when i am
running jsp files which contain beans
If i run the same application using startup(Manuall) it is
Beans not avaliable when running as NTService
Hai All
I have installed Tomcat as nt service
I am able to run the examples jsp files and jsp files in my Project
My Problem is that i am unable to access my java Beans which i am calling in
the Project jsp's when i am running Tomcat as a NT Se
Hai All
I have installed Tomcat as nt service
I am able to run the examples jsp files and jsp files in my Project
My Problem is that i am unable to access my java Beans which i am calling in
the Project jsp's when i am running Tomcat as a NT Service
The same code Works Fine when Tomc
the last user.. and my logoff page use methods like removeValue to delete
beans and invalidate to remove the session..
what could be bad?
Help me please
atte
Christian Hamann L.
Pdta: Sorry if my english is not very well
===
To
Steve,
I can see your dilemma regarding introducing JavaBean development into your
organization. Using beans might seem to add an unnecessary level of
complexity and an additional learning curve. I can tell you that writing
beans is easy and doesn't require a full IDE, although ther
Thanks for responses from Richard and Hans! Based on your comments and
comments from others, using beans is beginning to appear to almost always
being the best solution. And yet, as Richard said, "It depends." In my
post, I did not have emphasize that it seems that using request para
hearing I might want to use a
> POST method rather than a GET, in order to preserve the Unicode characters
> properly. It seems that the simplest would be to use the
> request.getParameter method. So, when would I use beans instead?
>
> I'm just learning JSP and how to hand
urn as the response. The request processor class might then create
beans or otherwise maintain the session in order to supply the necessary
data to the view JSPs. You might want to check out the Jakarta Struts
architecture as an example of the Request-Controller architecture. In
struts, a class
e the Unicode characters
properly. It seems that the simplest would be to use the
request.getParameter method. So, when would I use beans instead?
I'm just learning JSP and how to handle these issues, and am quite puzzled
by what I'm reading (see comments below). There really doesn
> 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
Steve,
I would say that the term 'JSP Bean' is useful and would disagree with
Jann's statement that 'beans is beans'. The beans that are typically used
in JSP pages are used on the server side and not on the client side. They
are not typically configured using a GUI t
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
To make a long story short, the major difference is that with taglibs, all of the Java
code is "hidden" from the JSP developer inside the tag handler code. With Java Beans,
on the other hand, the basic interface is to use XML syntax to set and get properties,
but the JSP developer
What is the difference between a BEAN and a custom TAGLIB?
I know in your JSP code, you call them differently, but you pass them both
parameters and they do a bunch of the code in the background.
So what's the difference? Which is better?
thank you for your time!
[ t r o y ] Newbie (former AS
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 3:03 PM
Subject: Stuck with beans
> Hello all,
>
> I've started to write my first beans/JSPs and have come across a problem
> that I am stuck on.
>
> I've wrote the bean and can get values o
> <%response.setContentType("text/html");%>
>
> value="<%=request.getParameter("id")%>" />
I could guess the name of your attribute isn't actually "setXML", and
therefore the bean do not have a method called "setSetXML".
will try to use the method
"setXyz".
(Rename setXML to setXml and) Try s
Hello all,
I've started to write my first beans/JSPs and have come across a problem
that I am stuck on.
I've wrote the bean and can get values out and display the HTML fine, but
what I want to update a var in the bean by passing a value in the query
string called id - eg the li
hi all,
I have developed something similar
generic beans for search/update/insert/delete
but instead of using the metadata I have used an auxiliary table to
allow to personalize the screens, fields that appear in each one ...
this table also obtains the data of the metadata
this table also
I'm writing something similar that starts from XML table definitions -
creating SQL table definitions, beans, table list/edit/view JSP pages and
servlets. I realized I was writing a lot of repetitive code whenever I
added a new database table, so instead of cranking away on SQL/JSP/Java
fil
At 7/18/01 07:54 PM (Wednesday), Keith Kwiatek wrote:
>In my pursuit of mastering JSP/JDBC/Java I wrote a utility that interrogates
>an oracle database table and then generates the correlated JSP forms and
>JDBC beans to search/update/insert/delete rows from the database table. By
>
Hello,
In my pursuit of mastering JSP/JDBC/Java I wrote a utility that interrogates
an oracle database table and then generates the correlated JSP forms and
JDBC beans to search/update/insert/delete rows from the database table. By
pointing the utility at a few related tables you can quickly
y, July 11, 2001 9:18 AM
Subject: Re: Custom Tags or Beans
| I forgot that most people in this list are not in my time zone, so I got
the
| low-down on Tags Vs Beans myself.
|
| I found http://java.oreilly.com/news/jsptips_1100.html 'Choosing Between
| Beans and Custom Actions' had a f
I forgot that most people in this list are not in my time zone, so I got the
low-down on Tags Vs Beans myself.
I found http://java.oreilly.com/news/jsptips_1100.html 'Choosing Between
Beans and Custom Actions' had a fair discussion about it, also this lists
archive had some debate
I'd like to hear the for and against arguments for which is better...
"Write your won JSP custom tags or create your own JavaBean".
To do things like get Data from a database, format db data in XML etc.
Glenn
PS: I've never seen CFML before, does it look like JSP custom tags?
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.
: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 8:52 AM
Subject: Re: [JSP-INTEREST] Autosetting properties of beans within JSP (list
problem)
> It's not a list problem.
>
> The problem is with Microsoft Outlook/Microsoft Exchange. For some
reason,
> this product pai
ngs. :(
I've had to jump out to Eudora to send this message, which is the only
alternative I came up with.
Jay
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Autosetting properties of beans with
, 2001 6:48 AM
Subject: Re: [JSP-INTEREST] Autosetting properties of beans within JSP
> Robin:
>
> As long as you write to <[EMAIL PROTECTED]>
> all your mails will arrive. You will recieve the one
> you wrote and some mailing failures.
>
> As you can see Mattia
> Robin:
>
> As long as you write to <[EMAIL PROTECTED]>
> all your mails will arrive. You will recieve the one
> you wrote and some mailing failures.
And remember that your from/reply adress (in you mail program) must be
the EXACT one you registered with.
/Mattias Jiderhamn
===
Robin:
As long as you write to <[EMAIL PROTECTED]>
all your mails will arrive. You will recieve the one
you wrote and some mailing failures.
As you can see Mattias answer you, this is a good one.
You have to be really 'cautioned' with your case.
Follow the directions offered by Mattias.
And mo
> The line I was trying to use is:
>
>
>
> Since this hasn't worked I have had to explicitly set the parameters
> individually with lines like:
>
> Book.setUsername(request.getParameter("Username"));
I'm not sure in this matter, put sometimes the JSP/Servler API can be a
bit poky. Try to use low
Hello Atilo,
I have just recently joined this list but for some reason my posts keep
getting returned to me. Would you please let me know if you could assist me
with my problem below and even post it to the list.
Thank you,
Robin Porter
I have been trying to autoset the properties of a bean wi
Thanks a lot ( excelent information )
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
Sent: Thursday, June 14, 2001 3:31 PM
To: [EMAIL PROTECTED]
Subject: Re: How to get rid of objects ( beans
Hello,
I have a JSP page which uses a bean. I want the bean to be able to read the web.xml
deployment descriptor parameters. As far as I know I need a ServletContext to access
this. Is this true? Or is there a way to access parameters without passing the
ServletContext into the bean.
Thanks i
, 2001 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get rid of objects ( beans) when the user abandons
> the sit e
>
>
> Thanks guys,
> let me see if I understand correctly,
> That means if I create objects in a servlet and put them in a
> session using
> t
what happens.
>
> thanks
>
> chris
>
> -Original Message-
> From: Shawn Zhu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get rid of objects ( beans) when the user abandons
> the site
>
>
>
Can you describe in more detail as to what the problem using beans is.
Source code and any error output would also be helpful.
As for jsp's and javascript, you can include javascript in a jsp file just
like you can include html tags. One thing to note is that with javascript,
you ha
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
Hi Friends,
I have tried to use JSP with JavaScript its working, but can anybody tell me
the limitations of JSP with JavaScript.
Also I have problems in using Beans in JSP while using
tag though I am trying to run sample codes available from the books. Can
anybody enlighten me?
Thanks in
OTECTED]]
> Sent: Wednesday, June 13, 2001 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get rid of objects ( beans) when the user abandons
> the site
>
>
> If the user leaves your site, and before the session times
> out he/she comes
> back, the session object (your wo
-Original Message-
From: Shawn Zhu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 4:49 PM
To: [EMAIL PROTECTED]
Subject: Re: How to get rid of objects ( beans) when the user abandons
the site
If the user leaves your site, and before the session times out he/she comes
back, the
> Sent: Wednesday, June 13, 2001 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get rid of objects ( beans) when the user abandons
> the sit e
>
>
> Thanks guys,
> let me see if I understand correctly,
> That means if I create objects in a servlet and pu
:12 PM
To: [EMAIL PROTECTED]
Subject: Re: How to get rid of objects ( beans) when the user abandons
the sit e
You can't get rid of objects as such because that's what GC is doing for
you. All the object u are creating in your JSP will follow the same GC rule
as other object created in
Just to strengthen Justy's comments,
If you are using JDK1.3 it doesn't hurt you to create beans per request
(even in case of lots of beans) because all these objects die young and they
are garbage collected by copying collector in object nursury itself which is
designed for very hi
You can use the bean page scope to specify that the bean should exist for
the current page only. The gc will take care of a bean that is no longer
accessible. Note that each time the page is requested then an instance of
the bean is created.
Justy
- Original Message -
> HI all,
> My que
You can't get rid of objects as such because that's what GC is doing for
you. All the object u are creating in your JSP will follow the same GC rule
as other object created in any method. For beans you can specify the scope
mechanism to control how long you want to keep the reference
1 - 100 of 610 matches
Mail list logo