I believe most real-world ConnectionPool implementations get away with
their singleton-ness and supposedly garbage-collectable-ness by having a
background thread that keeps track of the static reference. This
background thread is responsible for items like monitoring stats,
reducing the pool time
Brenda,
Hava a look at the JDBC section at http://www.interpasnet.com/JSS
Bonjour (Hello) Brenda Tung, vous avez écrit le (you wrote on) 10:30
11/04/00 +0800 :
>hi everyone,
>
>I would like to ask if there are any online resoucres regarding the
>interfacing of JSP and JDBC. I've got the required
Arun,
The JSP engine should not really care about the encoding of the information
present
within property resource bundles. The specific charset value can also be
specified
an additional resource, of course. For example, data for most of the non
ISO-8859-1 compliant
languages like Korean, Japanes
also try http://www.javaworld.com/
There are several articles there to read.
-
"Manty, George" wrote:
> here is the best free on-line tutorial I have come across:
>
> http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
>
> -Original Message-
> From: Gomez Mesa Francisco Jesu
Hello!
Does anybody know how to build free e-mail and FULL-TEXT use J2EE.
All suggestions, comments, etc, will be greatly appreciated.
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://j
Hello all
I want to install a JSP compatible Web Server in Windows98. Which one is a best
choice? Can anybody tell me? Must I install IIS in Windows NT or Apache for NT?
Thanks in advance.
ayin
===
To unsubscribe: mailto
Hi ! Everybody,
I have a query.How do we ensure session management in JSP pages.
Is the code written in the JSP page or somewhere else.
Do i need to check for the session id when ever i load the page ?
Can anyone suggest some approach or suggest some document to read
regards,
kamlesh
Vyacheslav,
You're right that I could use ListResourceBundles, but, one of the
advantages of
using property resource bundles when the only items to be localized are
string
is that the property files can be handed over to a translator or someone
with no
idea how code should look, and a translated
hi everyone,
I would like to ask if there are any online resoucres regarding the
interfacing of JSP and JDBC. I've got the required info by using JSP and
written the relevant codes for JDBC. My database is MS Access.
Thank you for your kind attention.
Brenda
===
On Mon, 10 Apr 2000, Craig R. McClanahan wrote:
> It's actually the other way around in at least some JVMs -- the garbage collector
> detects no other object references to an instance of your Singleton class (probably
> because there is no such instance, if you're using all static methods).
Hmm.
I've looked through this list and various jakarta sources but I haven't been able to
find the answer to this question.
How do I configure HTTP BASIC Authentication in Tomcat 3.1 Beta (27-Mar-2000) for a
JSP/servlet?
Thanks
==
Wes Biggs wrote:
> On Mon, 10 Apr 2000, Sam Heisz wrote:
> >
> > "JDK 1.1.x specification added the feature of class unloading...
> > where the only reference to the Singleton object is maintained within
> > the Singleton class itself, the garbage collector, in its enthusiasm to
> > dispose of an
JSP crew,
I am about to deploy an application using Tomcat 3.0.
I'm too close to the deadline right now to think about
switching JSP/servlet implementations, however I want
to revisit the issue after launch.
Are any of you running large sites using Tomcat? How
about Resin or Orion? Any thoughts
On Mon, 10 Apr 2000, Sam Heisz wrote:
>
> "JDK 1.1.x specification added the feature of class unloading...
> where the only reference to the Singleton object is maintained within
> the Singleton class itself, the garbage collector, in its enthusiasm to
> dispose of any unused trash, may assume tha
Go directly to the FAQ. Do not pass go, do not collect $200. See the
bottom of this email for further details.
Wes
On Mon, 10 Apr 2000, Faiq Ahmed wrote:
> where can i find some good JSPs
> __
> Get Your Private, Free Email at http://www.hot
Use the request object.
<%
String str = "Some string name";
%>
<% request.setAttribute("String", str); %>
When the Servlet gets called from the JSP page, check the request object:
public void doPost(HttpServletRequest request, HttpServletResponse response)
{
if( request.getAttribute("Strin
Sam Heisz wrote:
> wes> What it may have meant was if Object A is only referred to by
> Object B
> wes> and Object B is only referred to by Object A, they can be garbage
> wes> collected -- I can see where simple implementations of a garbage
> wes> collector wouldn't be able to deal with the circ
Hi All,
I have a jsp page which generates a string. A servlet calls the jsp
page. I want to pass that string to the servlet. How do you do that?
Thanks,
-s
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JS
here is the best free on-line tutorial I have come across:
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
-Original Message-
From: Gomez Mesa Francisco Jesus [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 4:44 AM
To: [EMAIL PROTECTED]
Subject: Introduction, JSP Tutorial?
Govind,
I'm hoping you can help clarify a point about localization that I've been
able
to find little comment about In the last few lines of your JavaWorld
article,
you write:
If you are using something other than the ISO-8859-1 character set, you
must communicate this to th
On Fri, 7 Apr 2000, Sam Heisz wrote:
sam>> What stops the instance from getting garbage collected? I read
that
sam>> starting version something-something-something, the garbage
collector
sam>> is more aggressive and will collect instances of objects that are
only
sam>> referred to by a member vari
where can i find some good JSPs
__
Get Your Private, Free Email at http://www.hotmail.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Som
Rajesh Shah wrote:
>
> > OK, now what failure symptoms are you seeing?
>
> The JSP is presented to the user, the user fills in the detail and it gets
> send to the servlet (the controller), the servlet gets the request object
> and grabs the session instance. When it trys to grab the session insta
> OK, now what failure symptoms are you seeing?
The JSP is presented to the user, the user fills in the detail and it gets
send to the servlet (the controller), the servlet gets the request object
and grabs the session instance. When it trys to grab the session instance it
is always null.
If I r
Rajesh Shah wrote:
> > OK, now what failure symptoms are you seeing?
>
> The JSP is presented to the user, the user fills in the detail and it gets
> send to the servlet (the controller), the servlet gets the request object
> and grabs the session instance. When it trys to grab the session instan
>
> >Also, note that if a user starts a new browser process, that browser will
> >get a new session no matter what you do. In fact, that's how I support
>
> Do you mean for example start once Netscape and then IE ? Because that's
far
No -- session cookies are kept in process memory for the browse
We have done it with lots of futzing around with Oracle's ojsp files and
jservlet patches. JSP is not officially supported in 4.0.8.1 - the ojsp
stuff is something of a beta. Oracle keeps promising great things in
4.0.8.2, but we have yet to see it.
By the way, the ojsp.zip is available at: are
I have been tasked to provide the "commerce" modules for our web application. This
includes transactions to a cyber validator for credit cards like CyperCash and as well
as billing to subscription customers.
Does anyone have a model or examples of Beans, servlets, jsps that I could use as
tem
I'm not sure if this is efficient or even a reasonable thing to do, but
could you could put the subsession id in the path itself and set up a
servlet to translate the path. There are probably some subtle nuances that
you may have to deal with, but here is the general idea:
Set up a servlet that e
WebSphere 3.x uses JSP 1.0. Perhaps upgrading to the latest release might
be an option?
-Original Message-
From: Marc Krisjanous [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 09, 2000 10:25 PM
To: [EMAIL PROTECTED]
Subject: Directives in JSP version 0.91 and JSP version 1.1
Hi all,
I
Hi there:
My system is SDK1.2.2 and JSWDK1.0.1.
I want to install and run my Servlets file. according to JSP FAQ item:
"How do I install Servlets within my web application?
3. Activate the newly installed Servlet by registering (adding) the
servlet in the
WEBAPP/WER-INF/servlets.properties file
I am currently milling around in circles trying to figure out how to process
JSPs with OAS 4.0.8.1. Has anyone successfully run a JSP with OAS on either
Sun or Linux platforms?
Nathan Hoover
R&D Manager
Name Engine, Inc.
===
Rajesh Shah wrote:
> I could only find examples with Tomcat for servlet sessions. The
> JSP->Servlet->JSP demo does not use sessions.
>
> Here are sample code snippets as requested -->
>
> ---
> Here is the Servlet code that I am using:
>
> HttpSession se
Keep in mind, GIF is a proprietary format, so you can't "legally" create a
gif image for use. You would have to license it to use it, and from what I
understand its not cheap.
===
To unsubscribe: mailto [EMAIL PROTECTED] with
It wouldn't be that tough if you use a COM bridge. Check out JIntegra.
> -Original Message-
> From: Nathan Hoover [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 07, 2000 9:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: To access a word file thru a servlet and adding values
> to fields
Orion Server (www.orionserver.com) supports it. Its a 100% written Java app,
so you can run it on Linux just fine. Its free to use for everything except
production, which costs a low $1500 per server (no cpu limitation).
===
I could only find examples with Tomcat for servlet sessions. The
JSP->Servlet->JSP demo does not use sessions.
Here are sample code snippets as requested -->
---
Here is the Servlet code that I am using:
HttpSession session = request.getSession(false);
LynchWu wrote:
> Hi all
>
> Is it possible to retrive rows of data with one tag,
> and then show each column with different tags,
> within one single jsp page?
Yes.
> If yes, how to pass
> the connection information and result set from
> tag to tag, without using any jsp page-wide variables?
>
Cammarano Richard wrote:
> i am currently using a connection pool manager that is designed as a
> singleton where I call ConnectionManager.getInstance() to return the
> single pool instance. At first I was storing the connection manager in
> the servlet context until my coworker pointed out that
Rick MacConnell wrote:
> Does anyone know where the DTD for Custom Tag Libraries can be found? The
> URL in the spec is no longer valid.
I've used the following with success:
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
>
> TIA,
> Rick
Craig McClanahan
===
piyush raj jain wrote:
> i understand that i should not leave any possibilties of bypassing the controller
>servlet .
>
> But when we talk about subcontroller action servlets for an application with multiple
> domains--
> suppose right now i am desigining an integrated application for a company
Rajesh Shah wrote:
> This is a fundamental problem escpecially if you are using the Model 2
> architecture and the servlet is being used as the controller. Has anyone got
> any workarounds?
Tomcat does support sessions being shared across servlets and JSP pages in the same
web application. Do t
Craig,
Thanks. I appreciate your comments. I believe in seperating the presentation
from the business logic.
Kamalesh.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 09, 2000 7:59 PM
To: Loganathan, Kamalesh
Cc: [EMAIL PROTECTED]
Subject: Re:
I'll answer directly into Mike's response. Thanks Mike by the way for
replying so fast
-Message d'origine-
De : Mike McKechnie <[EMAIL PROTECTED]>
À : Sylvain Roche <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date : lundi 10 avril 2000 17:18
Objet : Re: mixing sessions with
Hello, JSP users
I'm looking for a good web application server which enables developers to use JSP 1.1,
Servlet 2.2 and EJB 1.1. Actually, I found severals having good fame but they are all
based on Windows or Unix rather than Linux. What I really want to use is EJB 1.1 on
which I can use sess
Hi,
To generate a chart to client, you need to write a Servlet to generate the chart
image (say, gif).
1. create a non visible Frame (i.e., call setVisible(false) or just don't call
setVisible(true))
2. add a chart to the frame and give the chart data to draw
3. get an ServletOutputStream
4. set
As Jim Haungs is fond of saying, "the only interesting numbers are one and
infinity". Designing a workaround for exactly two sessions could cause
problems when you need to go to three...
Also, note that if a user starts a new browser process, that browser will
get a new session no matter what you
This is a fundamental problem escpecially if you are using the Model 2
architecture and the servlet is being used as the controller. Has anyone got
any workarounds?
-Original Message-
From: Javier Borrajo [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2000 16:05
To: Rajesh Shah
Cc: [EMAIL PROT
I build server-side .jpg images of charts, but instead of using the built-in
image export code from my chart package, I use Sun's image export library
'cus it's faster. That's the com.sun.image.codec.* package, available on
their site.
_3
M
===
> >
> >
Perhaps this has nothing do do with jsp:forward -- maybe the server's having
trouble instantiating your bean class. When the jsp:forward comes first in
the file, the jsp:usebean never gets executed so you don't get the class
cast exception. Have you tried the jsp:usebean all by it
I ahve been using ServletExec for the last three months and have not
encountered any problems. I am currently researching Tomcat and having
difficulties with sessions.
I have a JSP which is a simple registration page. The form element in the
JSP submits to a Servlet which is turn gets the session
Hi,
I don't know how to handle this. I have two servlets which both use sessions
persistence engine. One must use cookies because with multipart forms, jrun
stores the session identifier into the resquest parameters, ie in an object
it cannot access. But for another servlet, my need is to handle t
Hi all,
What I am trying to do is to create a graph at the server end using jcchart
and passing it to the client (HTML page). Does any body has done this
successfully. If yes..then please guide me.
Thanks in advance...
Manish Kumar
Does anyone know where the DTD for Custom Tag Libraries can be found? The
URL in the spec is no longer valid.
TIA,
Rick
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs
Hi all!
Is there anybodyelse out there reading this mailing list that uses WebObjects
ApplicationServer from Apple?
I would like to exchange ideas about the structure and organization of the
system...
For example, are you really been able to integrate JSPs in the WebObjects
architecture? And how
I cannot seem to make Tomcat "find" a bean which I use in the form. Do you
need to add anything to web.xml?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets ca
Hi Oliver:
some times I met the similar problem and very difficult to explain.
I think jsp is very sensitive to some strange conditions?
Any one can teach me?
Xunming
Olivier Mangez wrote:
> I don't understand the behavior of :
>
> If my JSP page looks like this, it works :
>
>html cod
Hi,
I'm an informatic student and I'm want to
learn JSP to develop some Web applications and compare the
performance with the same ASP web applications. Where can
I learn JSP? are there any FREE tutorials? (in spanish or
english). Thanks.
Francisco Jesus Gomez Mesa ([EMAIL PROTEC
I don't understand the behavior of :
If my JSP page looks like this, it works :
html code
<%@ page ... %>
...
If my JSP page looks like this, it fails :
html code
<%@ page ... %>
...
java.lang.ClassCastException
at
E_0003a.work.csi_00025_00025rum.src.csiforum.js
Hi all
Is it possible to retrive rows of data with one tag,
and then show each column with different tags,
within one single jsp page? If yes, how to pass
the connection information and result set from
tag to tag, without using any jsp page-wide variables?
==
Lynch Wu
Web
60 matches
Mail list logo