Is there a way to force URL Encoding for a single URL? Here's my
problem, for most of my site, I'm perfectly happy letting Resin take
care of whether to use Cookies or URL Rewriting to track sessions.
But I have one situation where I need to pass a URL into a PDF
generator so that it can call back
On 2/6/06, VERONICA ROACH <[EMAIL PROTECTED]> wrote:
hello - thank you so much for your response - I now realise what Ihave to do with servlets.I had been using the following assumptions in a non-servletenvironment - read somewhere - cant find which book to blame !! -
if I invoke a new object with
No private is an access modifier, not a replication or synchronization keyword. All that it means is that only the specific class can access the data (not the specific instance). You have to remember that Servlets use a single instance of your servlet class to serve all the requests that come in.
Put a reference to the data that needs to be saved to the database in
the Object that implements HttpSessionBindingListener. Then you
will have access to it when the valueUnbound() method is called.
(*Chris*)On 10/21/05, Ming Li <[EMAIL PROTECTED]> wrote:
I have some data kept in the session obj
That is correct, during init() and destroy() there is only allowed to be one active instance.
(*Chris*)On 10/18/05, Duc Vo <[EMAIL PROTECTED]> wrote:
I believe the answer is "no", by default you only have one instance ofthe servlet running.-Original Message-From: A mailing list for discus
Nope. I always do out of habit and because I consider it cleaner
code, but it is the Servlet Engine's responsibility to close the stream
if you don't.
(*Chris*)On 10/4/05, SUBSCRIBE EJB-INTEREST anonymous <[EMAIL PROTECTED]> wrote:
Hi,I use HttpServletResponse's getOutputStream().println(String)
Although I haven't used it extensively. I believe Struts has a method or doing something similar.
(*Chris*)
On 9/2/05, Zerbe John W <[EMAIL PROTECTED]> wrote:
Hi,An alternative would be to do what the jsp processor does. Write your own piece of code that uses reflection to determine what "sette
The API isn't based around GenericServlet, it's based around Servlet.
(*Chris*)On 9/1/05, Nic Ferrier <[EMAIL PROTECTED]> wrote:
Chris Pratt <[EMAIL PROTECTED]> writes:> Actually, what I remember from the early days of Servlets, it is because the> Servlet API is in
Actually, what I remember from the early days of Servlets, it is
because the Servlet API is interface based, and you can't specify
constructors in a Java interface. The developers decided to use a
method that they can specify in the interface contract.
(*Chris*)On 9/1/05, Nic Ferrier <[EMAIL PRO
Use the static singleton pattern to construct a States object to hold
the static data. Make sure it has some method to allow it to be
reloaded on the fly. Then add an extra web page to your web app
(possibly with higher security) that allows you to reload the States
singleton after you've updated
True redirection in the HTTP sense is not possible with a POST request, but
that does not mean that you can't accomplish the same end result. There are
two options, depending on where you want to "redirect" to.
First, some insight. An HTTP redirect is nothing more than a response to an
HTTP requ
Or you can fake it like most of the web sites do and pop up a window with an
animated gif file in the onsubmit event handler of the and close the
window in the onunload event handler of the tag. That way it pop's
up and stays there until the response is ready to be processed by the
browser, then
Original Message-
> From: A mailing list for discussion about Sun Microsystem's
> Java Servlet API Technology.
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Pratt
> Sent: Friday, September 17, 2004 1:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: General strategy for det
Is there a reason you're not just using request.getServerName()?
(*Chris*)
Original Message ---
David,
One way you could determine the server it is running on is to us
the IP address. You could do this in a servlet of jsp. If this example
doesn't go deep enough (actu
I'd look at the user agent on those lines in the access log. My guess is that you are
being spidered by a bot. They usually make a large number of connections in a short
amount of time to see if anything has changed on your site and update their indexes.
This would not be a problem if it was
When you define a tag in the Tag Library Definition (TLD) file, you have to specify
the that you wrote. So the service() method code includes calls to your
methods.
(*Chris*)
Original Message ---
fit into the compile scheme of servlets?
I note that scriptlet code (<%) g
If it's a form request, use method="POST". If not, you'll have to dig into
the documentation for whatever servlet engine you're using to find out if
it's possible to extend or remove that limit.
(*Chris*)
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Jav
There are two basic methods to accomplish this. The oldest and least used
these days is called bootstrapping. It involved creating small parts of the
OS (usually using an assembler or directly in machine language), then
creating a compiler that could use those new facilities and not much else.
Th
ve the compilation step out and run your not-written
program on the sources, do your tests or whatever and the build?
Let me guess: You want to use servlets for the upload part (just trying
to make this Q servlet related)!?
-mw
Chris Pratt wrote:
>How do you plan to parse a binary, machine langu
How do you plan to parse a binary, machine language, .exe file into a text
file? And what good would it do if you could?
(*Chris*)
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED] On Behalf Of Zouhua Di
Two things to note. Since there is no way to positively no when a user has left your
site, there's no accurate way of knowing how many users are currently viewing your
site. With that said, if you want to count the number of outstanding users whose
sessions have not timed out, make a User obje
5 version?
Shud i make an entry for each servlet that i use to submit in my html?
Vj
- Original Message -----
From: "Chris Pratt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 9:48 AM
Subject: Re: requested resource (/quiz/servlet/quiz) is not
Try going to http://majid:8080/quiz
(*Chris*)
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED] On Behalf Of Majid Nakit
Sent: Sunday, March 28, 2004 7:43 pm
To: [EMAIL PROTECTED]
Subject: [SERVLET-INTER
The best option would be to use a prepared statement like this:
PreparedStatement pst = con.prepareStatement("SELECT
code,fname,lname FROM employee WHERE datestarted = ?");
try {
pst.setDate(1,datestarted);
ResultSet res = pst.executeQuery();
try {
Actually, it completely depends on where you redirect to. If you are redirecting to
another page within your web app, and you have sessions enabled, and either the user
has Cookies enabled or you properly used URL Rewriting to communicate the session then
the session data will be available. Ot
Try %2B123456 instead
(*Chris*)
- Original Message -
From: "Hui, Steven" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 10:48 PM
Subject: [SERVLET-INTEREST] getParameter
> Dear sir,
>
> I am using request.getParameter("phone") to get a vale of "+123456",
gt; wanted a strategy that would have all this code centralized.
>
> ~Manav.
> - Original Message -
> From: "Chris Pratt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 04, 2003 5:35 PM
> Subject: Re: odd oracle error [MA
I have used this pattern over and over with all manner of JDBC drivers and
have not found one that it does not work with. There were issues with
performance in the initial 1.1 JVM's since try/catch blocks had a fairly
severe overhead, but with the newer 1.2+ JVM's it's negligible. I do
recommend
But since you replaced one handle on the stack (the Connection) with a
different handle on the stack (the Wrapper) There should be no additional
stack space consumed. Now as far as Heap Space is concerned, that's a whole
other matter, and would be far more than 4 bytes.
(*Chris*)
- Origina
It's included in a cookie, the url or a request parameter. It's up to the
servlet container you are using what it is named and which one to use. So
you'll probably have to do some investigation on your own to figure it out.
(*Chris*)
- Original Message -
From: "randie ursal" <[EMAIL PR
Try setting the expires header and/or overriding the
HttpServlet.getLastModified() method.
(*Chris*)
- Original Message -
From: "Hélder Sousa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 9:42 AM
Subject: [SERVLET-INTEREST] Servlet question...
Hello
This
Ahh, I think you need to look a little closer at those definitions, I
believe what you'll find is actually this:
Enumeration ServletRequest.getAttributeNames()
Enumeration ServletRequest.getParameterNames()
Enumeration ServletConfig.getInitParameterNames()
Enumeration HttpServletRequest.getHeaderN
Have you tried URLEncoding the String? I believe it would be something
like:
query += java.net.URLEncoder.encode(" AND CATEGORY (" +
categoryQuery + ')');
(*Chris*)
- Original Message -
From: "Lance Prais" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 2
Subject: Re: [SERVLET-INTEREST] about getRemoteHost()
> NO MORE GARBIGE MAIL, PLS
>
> -Original Message-
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: 16. lokakuuta 2002 5:33
> To: [EMAIL PROTECTED]
> Subject: Re: about getRemoteHost()
>
>
> Depend
The task manager shows what memory has not been allocated to any programs by
Windows, it cannot see within a program to know what memory is actually
being used. With that in mind, remember that, at least to Windows, the JVM
is just a program. The JVM has it's own memory management system that
al
Depends whether the Router is set up to do NAT or not. If the Router is
NATing, you will get the address at the Router, if it's not you'll get the
address of the machine.
(*Chris*)
- Original Message -
From: "randie ursal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Octo
Serializable only means that it CAN be saved to disk, not that it will be.
You need to either deserialize/serialize the object in the Servlet's init()
and destroy() methods, or instruct the object to load/save it's state from
those methods. It won't be done for you.
(*Chris*)
- Original Me
While you're absolutely right about the @include file vs jsp:include page
question. I believe you're incorrect about the page attribute not being
rtexprvalue. The documentation I have lists it as being {relativeURL | <%=
expression %>} which looks like an rtexprvalue to me.
(*Chris*)
- Or
The basic mechanism is to set the Content Type and Length, get the
OutputStream from the Request, getBinaryStream from JDBC and loop through
reading from the JDBC Input Stream and writing to the Servlet Output Stream.
(*Chris*)
- Original Message -
From: "Emmanuel Eze" <[EMAIL PROTECTED
That means that you have clicked on the tomcat window and the OS is waiting
for you to finish your selection so that it can copy those characters to the
clipboard. The simplest thing to do when you see that is to give the window
focus and press the escape key.
(*Chris*)
- Original Message
Your Servlet is going to have to get a little fancier. Basically, you have
to look at what's being requested, and serve up the right component. Here's
a start:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.awt.*;
import java.awt.image.*;
import com.sun.image
ber 25, 2002 2:32 PM
Subject: Re: [SERVLET-INTEREST] mime problem
> There is an audio MIME type. Check
>
> http://www.nacs.uci.edu/indiv/ehood/MIME/2046/rfc2046.html
>
> Luis.
>
>
> - Original Message -
> From: "Chris Pratt" <[EMAIL PROTECTED]>
> To: &
Does seem a little oxymoronic, doesn't it.
(*Chris*)
- Original Message -
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 2:26 PM
Subject: Re: [SERVLET-INTEREST] mime problem
> There's no such thing as an audio mime.
>
> Mark
> (
According to
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types (the
first thing returned by Google) it should be audio/mpeg
(*Chris*)
- Original Message -
From: "Peter Maas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 12:56 PM
Subje
t;
> Any relevanet infor. on this is appreciated.
>
> THANKS EXPERTS.
>
> Manoj G. Kithany
>
> >From: Chris Pratt <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology."
>
>
> Yeah, and he's calling super.init( config ) too.
>
> -Original Message-
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: simplest Servlet-JDBC not working
>
>
>
It's a servlet, it doesn't have a main(), so you can't run it using the java
command at the command line. You have to run it under a Servlet Engine.
(*Chris*)
- Original Message -
From: "Manoj Kithany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 9:32
You're on the right track, a Connection Pool is the correct answer to your
question. But the servlet or tomcat (just like most things in computer
science) doesn't do anything you don't tell it to do. You'll have to either
use a Connection Pool from your JDBC driver (if it supports that) or add o
Not sure how you're using the URL, but you might have to HTML/XML encode
those before you URL encode them. Try changing them to & before you
URLEncode the string. Just a thought.
(*Chris*)
- Original Message -
From: "M. Amin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday
It sounds like you encoded the whole URL, rather than just
encoding the values of the query arguments. That won't work, you need to
encode just the query argument values, so that your final URL looks something of
the form:
http://host.domain.com/path/file.html?arg1=Encoded+Value&arg2=Encod
Unfortunately Microsoft disagrees with you. They don't
allow that tight an integration with IIS. Most programmers must choose
between Servlets/JSP and ASP before starting their project and pretty much stick
with the technology that has been chosen. The ability to mix ASP and JSP
on a sing
They use completely separate session management
systems.
(*Chris*)
- Original Message -
From:
Luca Ventura
To: [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 10:36
AM
Subject: [SERVLET-INTEREST] Tomcat and
IIS
Hello
everybody!
I have ins
FilterConfig.getServletContext()
(*Chris*)
- Original Message -
From: "Marc-andre Thibodeau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 9:28 AM
Subject: [SERVLET-INTEREST] Getting ServletContext attributes from a Filter
> Hi,
>
> Is there a way to
Make sure that both your initialization Servlet
(that puts the dbPool into context) and your application JSP are in the same
context (i.e. The same Web Application), then (just for ease of use) you might
try pageContext.findAttribute("dbPool"); or
pageContext.getAttributeScope("dbPool"); to
Depends, do you actually expect your users to have your site up in multiple
browser windows of the same machine so that the session data would actually
be accessed by multiple threads concurrently. It's usually not a problem,
but there are some site types that have to worry about this more than
o
That error means that, if you follow the flow through your
method, you will never reach that statement, no matter which path you
take. Basically, you need to reevaluate your code, not your
concept.
(*Chris*)
- Original Message -
From:
Halil AKINCI
To: [EMAIL PROTECTE
It depends on which server you're running, but generically you want the
compiled classes to end up in the WEB-INF/classes/Starter.class and
WEB-INF/classes/dip/OrdreReader.class directories (based on the package
statements).
(*Chris*)
- Original Message -
From: "Anders Jørvad (RWDK)" <[
One ugly, yet functional way that I've seen this handled is to return a
small html page containing a form with all hidden fields and an onLoad event
handler on the body tag that submits the form. Basically, it requests that
the user's browser do the work for you. Your only alternative is to get
One option might be to use the Filter technique that was just introduced in
the latest Servlet Spec. You could run your Authentication and Registration
system as the same Servlet Filter on each site. Not sure how viable this
is, but it's probably worth a look.
(*Chris*)
- Original Message
One option would be to just add a query parameter to each of the frame
source addresses, something like this:
Then in your servlet you can use request.getAttribute("frame") to find out
which frame to draw.
(*Chris*)
- Original Message -
From: "Fawaz Ahmad" <[EMAIL PROTECTED]>
To: <[
From:
Siddharth
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 10:11
PM
Subject: Re: [SERVLET-INTEREST] MSIE GET
when it should POST
Dose it work on any other browser..? [I hope it
is not]
Siddharth
- Original Message -
From:
Chris
For safety sake you should also check cookies.length > 0 before you
reference cookies[0].
(*Chris*)
- Original Message -
From: "Siddharth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 9:49 PM
Subject: Re: [SERVLET-INTEREST] Cookie help...
> Mike,
>
> C
Has anyone out there experienced a problem where
Microsoft IE sends a GET request (with no parameters) when submitting a form
that clearly states method="post"? We're trying to understand what is
causing this intermittent problem we're seeing on our site. Thanks for any
input. (*Chris*)
Ed,
Maybe you should check the archives, this has been discussed time and
time again. On-topic Announcements are permitted provided they are short
and to the point and only posted to the list once.
(*Chris*)
- Original Message -
From: "Leonard, Ed" <[EMAIL PROTECTED]>
To: <[EMAIL
Most Servlet Runners support the ability to pass in Initialization Arguments
into the Servlet at init() time. You can retrieve the arguments with the
ServletConfig.getInitParameter() method.
(*Chris*)
- Original Message -
From: "Andreas Schlegel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
Try using http://localhost:9090/ to
get the admin applet, if you just enter localhost:9090, it assumes you want to
use the file:// protocol and can't open the applet.
(*Chris*)
- Original Message -
From:
Moloy Biswas
To: [EMAIL PROTECTED]
Sent: Monday, December 27, 1
applet = browser application
servlet = server application
The major conceptual difference is that an applet executes in the context of
the browser, whereas a servlet runs in the context of the web server. This
means that the applet has easy access to the user interface, which isn't
directly acce
Most Servlet Engines consider URL Rewriting a last resort, they first
attempt to use Cookies, and if all else fails they resort to URL Rewriting.
Try turning off Cookies in your browser and see if your servlet engine
starts rewriting the URL's. Some Servlet engines also allow you to force
URL Rew
To be completely correct, you'd have to say that existing browser "don't
save session cookies to persistent storage". Which means that when the
browser is shut down, the session cookies are lost (since they were only in
memory). But they will be kept for the lifetime of the browser.
(*Chris*
Or you could just use the File.length() method of the java.io.File class.
It's much simpler.
(*Chris*)
- Original Message -
From: "Paresh Gheewala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 27, 1999 2:16 AM
Subject: Reply: size of file
> Hi,
> To find the si
In my opinion, it's easier to just use a PreparedStatement and forget all
the escaping. When you use a PreparedStatement, it becomes the JDBC
Driver's job to escape the characters that the database doesn't understand,
so change your code to con.prepareStatement("insert into table (row1, row2,
row
The two ways I know this can happen are if you implemented SingleThreadModel
in your servlet, or if you register the servlet as
com.domain.package.MyServlet.class for some reason, having the .class on the
end causes some servlet engines to always create a new instance of the
servlet.
(*Chris*)
I think there's a JDBC driver for MySQL, but I'm not positive since I don't
use MySQL. You might take a look on their site.
(*Chris*)
- Original Message -
From: "Darko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 3:11 PM
Subject: Re: browser problem
That's normally a ClassPath problem. Make sure the ClassPath accessible to
your Servlet Engine includes the classes.zip or rt.jar file from your JDK or
JRE.
(*Chris*)
- Original Message -
From: "Darko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 2:36
Native threads are almost always faster than Green threads. Plus the
IBM JVM is faster and more stable than the BlackDown, check out http://www.volano.com and look at their
benchmark section. It compares many Intel VM's for Speed and
Stability.
(*Chris*)
- Original Message -
Thin drivers work find with servlets and are much easier to configure.
There has been some talk that the OCI drivers are marginally faster than the
Thin drivers, but I haven't been able to confirm it with our product.
(*Chris*)
- Original Message -
From: "Ravi Shanhar Pandian" <[EMAIL
Actually if you think about it, that's probably wrong also. The calendar
has been changed numerous times over the last two thousand years and so even
2001 won't be exactly 2000 years from year 1. The fact is that this January
1st is being heralded as the "popular" turn of the millennium, just as
My hunch is that you are trying to access an Oracle database using Java2
with the 8.0.4.0.6 JDBC Drivers (that come with Oracle 8.0.5).
Unfortunately those drivers don't support the new security model of Java2.
Try downloading the new Oracle 8.1.6 drivers from www.oracle.com, and make
sure you get
Neither or Both. Depends on your point of view. This is not behavior that
was specified by the Servlet Specification, that has been fixed in the 2.2
Servlet spec where the returned value should be a concatenation of the query
arguments followed by the post parameters. So:
When the servle
How can you do Sessions at all (let alone Load Balanced, Multi-Server
Session) without either Cookies or URL-Rewriting?
(*Chris*)
- Original Message -
From: "Ray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 1999 3:11 PM
Subject: Re: servlet zones in Apache
Have you tried the tag?
(*Chris*)
- Original Message -
From: "Jay Macarty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 1999 11:32 AM
Subject: Re: Displaying HTML Source
> Setting the content type will not work in this case because I am
outputting
> some
Make sure you've set up a System DSN on your NT box and not a User
DSN. This seems to have bitten a number of people on the list.
(*Chris*)
- Original Message -
From:
Pol
Millan
To: [EMAIL PROTECTED]
Sent: Wednesday, December 08, 1999 1:16
AM
Subject: Servl
First of all, you should probably use the JDBC drivers that come with Oracle
(or download them from www.oracle.com), but if you need to use the JDBC/ODBC
Bridge, make sure you use a System DSN and not a User DSN.
(*Chris*)
- Original Message -
From: "Naresh Singh Chhonker" <[EMAIL PRO
There has been a raging debate in the list for a while. Through contacts I
have at Oracle I have learned that the Thin driver is the preferred driver
for all use with Java, but there are those who have heard differently.
(*Chris*)
- Original Message -
From: "Wilson. P" <[EMAIL PROTEC
*200 requests per second when absolutely nothing is
> happening.
> >
> >This is not a particularly good design...
> >
> >> -Original Message-
> >> From: A mailing list for discussion about Sun Microsystem's Java
Servlet
> >> API Tech
being off (again, assuming a stable, non-flooded network). (the other
way,
> even without power failures, is to terminate the browser process
directly).
> ron.
>
> -Original Message-
> From: Chris Pratt <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
This still doesn't catch power failures. So, I guess there is really no
sure way.
(*Chris*)
- Original Message -
From: "Ted Neward" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 8:14 PM
Subject: Re: [Session tracking]
> You *can* get guaranteed notific
Sounds like a CLASSPATH problem. If it's more than that, you might try the
JavaMail-Interest Mailing List.
(*Chris*)
- Original Message -
From: "G.Betul Akin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 1999 8:26 AM
Subject: pop3 servlet problem with Apac
The getDomain method of the Cookie class is supposed to return the domain
that this cookie is registered for. Unfortunately the Cookie specification
doesn't supply this data when it returns a cookie, only when one is being
set. So, this call is really only useful when you're getting ready to set
Try using getValue()
(*Chris*)
- Original Message -
From: Vinay Kulkarni <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 17, 1999 2:03 PM
Subject: Need help on Sessions
> Hi Guys,
>
> I know this is a Servlet Forum. But if I can get any help on sessions, it
> w
Are you getting deprecation warnings with this code? It doesn't seem
to be using any deprecated methods.
(*Chris*)
- Original Message -
From:
Tom
Kochanowicz
To: [EMAIL PROTECTED]
Sent: Tuesday, November 16, 1999 11:26
PM
Subject: Re: Deprecation of
java
We do the same thing on JWS. Basically static variables are static
variables, so there is only one copy of a specified variable (per
classloader) in any VM. Since most Servlet Engines use separate
ClassLoader's for each Servlet that gets loaded this may work fine, but
you'll have to check the im
AM
Subject: Re: Oracle JDBC Type 2 OCI Driver for AIX
> Using thin driver leads to one applet -to- one Oracle session, which loses
> the benefit of connection sharing in using servlet, is that correct? If
> not, pls correct me, thx.
>
> Joe
> ----- Original Message -
>
connection and therefore not releasing it back
> into the
> pool, which forces the pool to create new connections as it's available
> connections dwindle, which eventually leads to the database refusing
> connections?
>
> slightly confused
>
> Karl
>
> Chris Pratt
Why not use the Thin driver, it works anywhere? And is much easier to
configure.
(*Chris*)
- Original Message -
From: Joe Lei <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 14, 1999 6:54 PM
Subject: Oracle JDBC Type 2 OCI Driver for AIX
> Dear wisers
>
> Pls. sug
then sign up for the JavaMail-Interest Mailing List and ask questions,
that's what it's there for.
(*Chris*)
- Original Message -
From: Lalith Jayaweera <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 1999 9:46 PM
Subject: Re: MAILServer Access from a servlet;
I haven't heard of any translators, but someone was talking about a Perl
compiler that compiled Perl code to Java compatible ByteCode.
Unfortunately, I don't have any idea where to find it.
(*Chris*)
- Original Message -
From:
Dennis
To: [EMAIL PROTECTED]
Sent: F
This is really a better question for the JServ-Interest mailing list, but
you need to set up an Servlet entry in the Admin applet before you can set
up a Servlet Alias. Servlet Aliases point at Servlet Entries, not Servlet
Files.
(*Chris*)
- Original Message -
From: Andreas <[EMAIL P
Take a look at JavaMail (and the JavaMail-Interest Mailing List) it can do
what you ask.
(*Chris*)
- Original Message -
From: Lalith Jayaweera <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 1999 9:50 AM
Subject: MAILServer Access from a servlet;
> Hi
> How
o the
> pool, which forces the pool to create new connections as it's available
> connections dwindle, which eventually leads to the database refusing
> connections?
>
> slightly confused
>
> Karl
>
> Chris Pratt wrote:
>
> > Make sure you close every Result
1 - 100 of 497 matches
Mail list logo