Set up a pool using the DriverAdapterCPDS class in dbcp commons. And use a
SharedPoolDatasource also from dbcp. There is example in the dbcp javadocs
for the same.
--
From: andy susanto [SMTP:[EMAIL PROTECTED]
Sent: Sunday, August 08, 2004 7:56 AM
To: [EM
: "Get the resource, Use the resource and release the
resource".
Regards,
Partha
--
From: Andy Susanto [SMTP:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 2:46 PM
To: [EMAIL PROTECTED]
Subject: Re: problem
hai,
gt;> Sent: Thursday, August 05, 2004 12:28 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: problem
>>
>> hai,
>>
>> i am not running another Tomcat. i develop internal application that
>> use
>> one server, one Tomcat,on
Sent: Thursday, August 05, 2004 12:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem
>
> hai,
>
> i am not running another Tomcat. i develop internal application that
> use
> one server, one Tomcat,one application(inside hp proliant
>
.
--
From: Andy Susanto [SMTP:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: problem
hai,
i am not running another Tomcat. i develop internal application that
use
one server, one Tomcat,one
hai,
i am not running another Tomcat. i develop internal application that use
one server, one Tomcat,one application(inside hp proliant machine),Client
use the application every day its oke that error message do not exist. But
This Time error message appear. When i look log file i found that error
seems like you already have a tomcat running while trying to start a another
tomcat
terminate all your java processes and than restart tomcat.
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED] Behalf Of
Try this,
File f = null;
f = new File(pdfFolder+"/tech.pdf");
if (f.exists()){
ServletOutputStream out = response.getOutputStream ();
response.setContentType( "application/pdf" ); // MIME
type for pdf doc
response.s
Or
Replace "attachment;" with "inline;" in
response.setHeader("Content-Disposition","attachment; filename=arswww.pdf");
-Mamta
-Original Message-
From: Mathias Höggren [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 4:06 PM
To: [EMAIL PROTECTED]
Subject: SV: problem of
Title: RE: problem of open a pdf file on client browser through servlet
Or replace it by
response.setHeader("Content-Disposition","inline; filename=arswww.pdf");
If you do "attachment", IE (other browsers?) give you the option to open the file/save it out
EMAIL PROTECTED]
Subject: Re: Problem sending .exe file through servlet to client
Why are you wrapping the output stream with a "buffered" output stream?
I believe that most containers buffer the output stream anyway and automatically
flushes when your servlet returns to the container
JC,
Sorry, I forgot to add that to the list, but I have tried that as well.
Jon Felmey
Progeny Systems Corporation
(703) 368-6107 x196
-Original Message-
From: Jean-Christophe CHARVY [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 09:09
To: [EMAIL PROTECTED]
Subject: RE: Problem
nt: Friday, July 11, 2003 9:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem sending .exe file through servlet to client
Have you tried explicitly flushing the BufferedOutputStream out?
> -Original Message-
> From: Felmey, Jonathan [SMTP:[EMAIL PROTECTED]
> Sent: 11 July 2003 0
Have you tried explicitly flushing the BufferedOutputStream out?
> -Original Message-
> From: Felmey, Jonathan [SMTP:[EMAIL PROTECTED]
> Sent: 11 July 2003 02:51
> To: [EMAIL PROTECTED]
> Subject: Problem sending .exe file through servlet to client
>
> I am trying to send an install
Hi Jon,
Try this : response.setContentType( "application/octet-stream" );
Hope this helps,
JC
-- Entête Initiale ---
De: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
A : [EMAIL PROTECTED]
Copie
When you run the command from your unix shell javac will pick up the class
path from an environment variable set for that shell.
I suspect that you need to explicitly set the classpath either as part of
the command with a "-cp " or use the form of
Runtime.exec(String[],String[]) that lets you set
> I couldn't connect my servlet from my swing
> interface.I want to send two parameters(userid and
> password) from swing interface(it is a login dialog
> box) to my servlet.Iam using Tomcat server4.0 and I
> also put entry of my servlet in web.xml file.Can any
> one plz guide me how I can slove t
of a jsp, tomcat is not
parsing the jsp tags and is outputting it as it is.
Hope somebody can give some light.
Thanks
Regards,
Partha
-Original Message-
From: Gang Zhang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: problem
ember 11, 2002 1:07 AM
Subject: Re: problem with chinese output in jsp/tomcat 4.1.12
> Hi,
> Thanks for the mail. I tried this but still the output into the browser is
> looking like:
>
> <%@ page contentType = "text/html; charset=big5"%>
>
>
>
> New Docum
Hi,
Thanks for the mail. I tried this but still the output into the browser is
looking like:
<%@ page contentType = "text/html; charset=big5"%>
New Document
this is a chinese output:
<%if("1".equals(request.getParameter("sel1")))
out.println("??");%>
<%out.println("hi from partha"
ot;version".
John Zerbe - Mellon Financial Corp. Information Technology Solutions - Middleware Team
Phone:
412-234-1048 E-Mail:[EMAIL PROTECTED] AIM: 153-1315
-Original Message-From: Raghupathy, Gurumoorthy
[mailto:[EMAIL PROTECTED]]Sent: Tuesday,
November 05, 2002 9:
Try creating a file ( createNewFile ), and call
ServletContext.getRealPath() on this file. You will find out where a
file gets created by default for this web app.
-- padhu
Piotrek wrote:
Hi all
I have the following problem:
I need to read/write a file for a servlet, both are in my
WEB-INF/c
try
getServletContext().getRealPath("/WEB-INF/classes/");
this
will give you the fill path to the directtory ...
Regards
guru
-Original Message-From: Piotrek
[mailto:[EMAIL PROTECTED]]Sent: 05 November 2002 08:07To:
[EMAIL PROTECTED]Subject: Problem with
files
Hi all
Did
you use the localhost? Have you tried the directory under
C:\Apache_Tomcat\work\localhost\_. I guess that one probably the "current
directory" though I did not try it.
Otherwise, you may have to use an absolute
path
Regards
John
-Original Message-From: Piotrek
[mailto:[EMA
> -Original Message-
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: problem with <@include file %>
>
> While you're absolutely right about the @include file vs
> jsp:include
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
> "raju" == raju punith <[EMAIL PROTECTED]> writes:
raju> thanks ..guru ..i will correct the spelling and try
raju> again.
raju> --- "Raghupathy, Gurumoorthy"
raju> <[EMAIL PROTECTED]> wrote:
>> i think there is a spelling mistake ...
>>
>> the string was applPath
thanks ..guru ..i will correct the spelling and try
again.
--- "Raghupathy, Gurumoorthy"
<[EMAIL PROTECTED]> wrote:
> i think there is a spelling mistake ...
>
> the string was applPath
> and in
> <@include file="<%=appPath%>"%>
>
> try to correct your variable name
>
> guru
>
> -Or
Actually the problem rests in that the include directive is processed when the JSP
page is
translated into a servlet class, not at request/run time. The relative URL given as
the parameter
of the directive must be resolved at translation,and therefore must be a constant
value string.
In your ca
Try <%= instead of <% for the assignment. (And I hope you already tried
this instead of wasting our time)
-Original Message-
From: raju punith [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:23 AM
To: [EMAIL PROTECTED]
Subject: problem with <@include file %>
Hi everyon
i think there is a spelling mistake ...
the string was applPath
and in
<@include file="<%=appPath%>"%>
try to correct your variable name
guru
-Original Message-
From: raju punith [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 05:23
To: [EMAIL PROTECTED]
Subject: problem with
> -Original Message-
> From: raju punith [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 9:23 PM
> To: [EMAIL PROTECTED]
> Subject: problem with <@include file %>
>
>
> Hi everyone,
>
> following is my jsp snippet .
>
>
>
>
> Home Page
>
>
> <% String appl
Peter,
Cool, thanks!
Paul
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
Smiley (EEI)
Sent: Wednesday, August 21, 2002 8:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem
Hi,
You cant use request.getParameter("yourVarName")with a multipart-form.
You need to use the MultipartRequest object
to retrieve your values
i.e. MultipartRequest multi = new MultipartRequest(request, tempDir, 2000 *
1024);
then you should be able to retrieve your parameter w
Your TOMCAT_PATH is not correctly set.
should be:
set
TOMCAT_HOME=c:\jakart~1.4\tomcat
Regards,
- Original Message -
From:
Rajasekhar
Kakani
To: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 12:16 PM
Subject: problem deploying TOMCAT
Hi
You have to increase your
environment space.
At the moment I am using win2k
and I can't remember exactly where to set. But if you right click on Tomcat's
startup.bat in Windows Explorer and choose properties, it is in there where you
can chaneg your environment space setting.
try to enclose you PATH and CLASSPATH with double qoute e.g.
set
CLASSPATH=%CLASSPATH%;"c:\j2sdk1.4.0\lib\tools.jar";"c:\j2sdk1.4.0\lib\dt.jar"
On Tue, 2002-07-16 at 04:16, Rajasekhar Kakani wrote:
> hi all
>
> iam having problems deploying the tomcat web server.i downloaded
>(jakarta-tomcat-3.
Hi !
I guess u seem to be using Windows 95 or 98. The out of environment space
message can be turned off by rightclicking on the left hand corner of your
DOS window and setting your memory property to 4096.
This should solve your problem.
Thanks
Seema
- Original Message -
From: Rajasekha
Sorry Guys,
It was parser.jar afterall. You were right.
I think I have found have found better solution to
your problem.
Here it goes.
**
1. Download tomcat3.2.4 from http://jakarta.apache.org
2. Then unzip and keep it in a folder.
3. You will i
Hi All,
Yes, tomcat does not depend on jaxp.jar. But after a while I have found out
that it is "parser.jar" that is the culprit.
It needs parser.jar and does not load properly if it is removed.
So when both parser.jar and xerces.jar are there in the lib directory,
tomcat includes parser.jar befor
tomcat does not depend on jaxp.jar. So even if you delete jaxp.jar TC will
still work.
-Original Message-
From: Neel Mukherjee [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 1:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem faced when both xerces.jar and servlet.jar are in
Cla
I think you are using tomcat 3.2.3 or 3.3.x.
As that guy Vikram had pointed out the problem is not
due to conflict between the servlet.jar and
xerces.jar.
Look at the tomcat/lib folder. This contains both
jaxp.jar and xerces.jar. Now Tomcat uses jaxp.jar to
parse all it's input xml files like serv
I
faced the similar problem. The probable solution to your problem
is
1.firstly, replace your servlet.jar with the latest
one.
OR, if the problem still persists
2.If
you do not have j2ee.jar, download version 1.3 from the internet and keep it in
the classpath.
This
error is thrown be
r u
sure your jar file is being conflicted with servlet.jar, coz thats only
concerned with the servlets and not with XML. I had a similar problem, but it
was with jaxp.jar and xerces.jar. The problem arises since the jar files have
some common classes in them. When your server starts, all the ja
Unless somebody has come out with a new specification for cookie
handling that I'm not aware of this information is incorrect. Browsers
*should* carry cookies across http/https boundaries unless the cookie
comes with a "Secure" attribute. If the "Secure" attribute is included
the cookie should onl
Hi,
I'm not sure, but if both the secure and insecure servers are the same
one, you can try to disable the use of cookies for session-ids.
This way, the selection of the session-id to send is not left to the
browser.
If it does not work, you could try to use an alternative to the user
session.
Web Browsers (IE andNN) do not cary sessions across http / https boundries.
If you dump out the session id, which is a cookie sent by the browser with
every page request then you will see that it differes between the http and
https pages. This is for security reasons.
Or to put it another way ht
Not sure these two http 8080 and https 8443 are using the same container. If
they are not, then, the session cannot be shared.
Also, depending on what is stored in the session and what it
is used for, there might be alternatives to solve the problem.
- Original Message -
From: "Chanel Tie
H i
You can get the value in the
variable "valInSelect".
What you have to do is ?
declare a form variable as hidden say
"listedValues" and then assign the "valInSelect" to
"listedValues".
Now in your servlet you can get the valu
Thanks for the help. Now I am able to put the values as a CSV, but
I am having trouble passing it to the servlet.
In JAVA code, I tried the following but it did not work
String value = request.getParameter("valInSelect");
System.out.println("value = "+value);
value is printed out as "null". Wha
Hi
I have
attached Pasted the code which solves your
problem.
Logic: On Click of the button, call a javascript
function.
In
the function,
Iterate through the select box and find out if the values are selected. If
selected added it to a variable.
Post
the source code.
-Original Message-From: Chanel Tien
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 05, 2002 6:01
PMTo: [EMAIL PROTECTED]Subject: Re: Problem
with getting an array valueI have a text box for putting
a value, a "add" button for adding thi
I have a text box for putting a value, a "add" button for adding this value
to the list (multiple select),
and a "remove" button for removing value(s) from the list. I
guess the question is how do
I convert the content of this list to an array so I can pass it to
the servlet...or...I am not sure
Hlet's seeI think...I thinknope. Sorry, I'm not telepathic,
so I guess you'll have to post your code.
Mark
-Original Message-
From: Chanel Tien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 4:54 PM
I tried to use getParameterValues() to get a value from a
On Wed, 5 Jun 2002, Chanel Tien wrote:
> Hi,
>
>I tried to use getParameterValues() to get a value from a mutiple
> select list; however, it's returning me null.
> Does anyone have an example of passing an array from html form to
> Servlet? Any comments are appreciated:)
> Thanks.
Are you s
Some
things to bear in mind
Restart the servlet engine after recompiling code
Access
servlets via /[context]/servlet/[your_servlet] unless they are registered
under a different path in web.xml
Post
the web.xml here?
-Original Message-From: A mailing list for
discussion about
Here's an HTML snippet of a test page that we've used successfully. The
DoPost method of course needs to parse the input string once it arrives.
http://localhost:8080/servlet/ method=post>
9137944670
-Original Message-
From: Venkatesan Krishnamoorthy [mailto:[EMAIL PROTECTED
Venki,
There is no problem posting an XML string from a page to a servlet. I've
done it before. You must not be reading the correct request
parameter. Post your code.
The only issue I have seen is that you can't output your XML within an HTML
page w/o escaping the '<' and '>' characters. Outputti
PROTECTED]
Subject: Re: Problem sending a pdf file from servlet
I am just curious, on what all the versions of IE,Netscape and Acrobat
Reader versions did you test this code.
Thanks,
Dinesh
-Original Message-
From: A mailing list for discussion about Sun Microsystem's Java Servle
Qamar
Sent: Thursday, April 25, 2002 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem sending a pdf file from servlet
Here is what I do, and it seems to work for me:
response.setHeader("Content-disposition",
"attachement; filename=\""
Here is what I do, and it seems to work for me:
response.setHeader("Content-disposition",
"attachement; filename=\""
+ document.getName()
+ ".pdf\"");
response.setContentType("application/pdf");
ServletOutputStream blobStream = response.ge
ECTED]
Subject: Re: Problem sending a pdf file from servlet
see Micro$oft Internet Explorer <6 bug Q293792
seems there is'nt a good workaround yet...
-Mensaje original-
De: Ken Barron [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Enviado el: miércoles 24 de abril
Title: RE: Problem sending a pdf file from servlet
see Micro$oft Internet Explorer <6 bug Q293792
seems there is'nt a good workaround yet...
-Mensaje original-
De: Ken Barron [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles 24 de abril de 2002 16:18
Para
Thanks Eric - I'd basically come to the same solution myself.
Seems to be yet another example of IExplorer not following the HTTP spec
very closely ?!?
If anyone has any other workarounds please let me know - I'd prefer to
avoid generating the files on the server if I can.
Ken
__
I believe this related to a known issue with Internet Explorer where it
ignores the first response content and sends a second request...
although I only know that to happen with certainty when hitting a
doPost() as opposed to a doGet(). This problem has been nagging us (and
our customers) for seve
Hi
I think the problem is that iPlanet will not allow u to open one more
Output stream apart from the stream it is using for Jsp Out object.
For Jsp the implicit Object "out " is using the output stream aready.
So i think u can use a loop for checking whether the user has clicked the
download
Let's
see your code.
Mark
-Original Message-From: S Srinivas Nayak
[mailto:[EMAIL PROTECTED]]Sent: Friday, April 19, 2002 5:15
AMTo: [EMAIL PROTECTED]Subject: Problem
downloadin a excel file in jsp
Hi all
I have a typical problem in
downloading a excel file in jsp .
Jose,
How you can call two servlets from an HTML page? At one time you can call only one
servlet and then that servlet can call another. If parallely two servlets executes
then obvoiusly some time you will get right result and some time wrong but how two
servlets gets executed simultaneously
sleep(1000), then it always runs well.
- Mensaje original -
De: reunionf
Para: [EMAIL PROTECTED]
Enviado: martes, 16 de abril de 2002
15:24
Asunto: Re: problem with session
objects
José,
Before closing the first PrintWriter, you have to
do a "setattribut
José,
Before closing the first PrintWriter, you have to
do a "setattribute", to store your session object.
Franck
- Original Message -
From:
Robin Mannering
To: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 2:56
PM
Subject: Re: problem wi
Jose,
Could
you post the code in your HTML page, I'm curious as to how your calling two
servlets from the same page.
Robin
-Original Message-From: José Enrique Zarco
[mailto:[EMAIL PROTECTED]]Sent: 16 April 2002
13:39To: [EMAIL PROTECTED]Subject: problem
with session
Hello,
I think Jason Hunter gave an answer to a question like
this some weeks ago. I don't know if it is exactly
your problem, but you may check in the archives.
Hope this helped,
Vincent
>i am using oreilly classes for uploading of files via
servlets.Problem
>is when i try to upload a file ...
1/ Please note that you put a ";" at the end of your second Sql query ...
2/ Try to replace "res.sendRedirect("WTSTopSecret");" by
"res.sendRedirect("http://www.google.com";);"
to verify that your alias "WTSTopSecret" is well mapped.
3/ In all cases, don't forget to close your ResultSet and Stat
Hello Thierry!
TB> I had sometimes this problem and I put directly the servlet.jar in the
TB> path not only the path itself where servlet.jar is I know it's not
TB> the normalway but
It normal! If you look at Tomcat startup scripts you'll see that the
.jar files are added to the classpath s
Hi
I had sometimes this problem and I put directly the servlet.jar in the
path not only the path itself where servlet.jar is I know it's not
the normalway but
Thierry
graghavan
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
Hey!
This could be a browser problem. I.E. 5.0 has a bug. You
can find out easily if this is your problem by installing I.E. 5.5,
and test again.
Sans adieu,
Danny Rubis
Izar Beltz wrote:
> Hi
>
> I'm using WebLogic 4.51 and I've a problem with the execution of a servlet.
>
> I have an optio
Try pointing directly to the jar file:
%CATALINA_HOME%\common\lib\servlet.jar
I hope this helps.
- Original Message -
From: "graghavan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 1:38 PM
Subject: problem compiling a servlet
> i have problem compiling
Hi Michael,
Just stop trying autoexec.bat
Try this..
OPen catalina.bat file which is in bin directory of ur
tomcat4.0.1.
set java_home=c:\jdk1.3 Before the statement
if not "%JAVA_HOME%" == "" goto gotJava
save it.and try again.
Thanks
Suresh
--- Michael De Vorms <[EMAIL PROTECTED]>
wrote
Hi,
Set your environment variable JAVA_HOME to c:\jdk1.3;... also,Check the path
if it is set to jdk bin or not...
Regards,
aruniima
-Original Message-
From: Michael De Vorms [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 11:03 AM
To: [EMAIL PROTECTED]
Subject:
Hi Michael,
Just Place the follwoing command in ur
autoexec.bat file
set java_home=c:\jdk1.3
and save it and restart windows.
Try the aboue
thanks
suresh
--- Michael De Vorms <[EMAIL PROTECTED]>
wrote:
> Hello I have downloaded jakarta-tomcat-4.0.1 and
> when I install it, It tells
> me it
First, dump JRun and get JBoss. Second, can you access the JSP from the
browser without the servlet? The JRun stack trace is pretty useless beyond
the IOException. If you can access the JSP from a browser, then JRun is
okay; post your relevant servlet and JSP code.
Cheers!
Mark
-Original
Hi,
open
$JRUN_HOME/lib/global.properties
look for this line
jsp.jikes.compiler={jrun.rootdir}/bin/jikesw +E -g -noward -d %d %f
and change to
jsp.jikes.compiler="{jrun.rootdir}/bin/jikesw" +E -g -noward -d %d %f
Warren
- Original Message -
From: "Usha" <[EMAIL PROTECTED]>
To: <[EMAI
"file://" will only work if the resource is on the same machine as the
browser or accessible through file system calls (i.e in is on a file
server, not http server). If you are running the browser on
intranet.netgear.com then you can try this:
file://$TOMCAT_HOME/webapps/reportsArchive/par/Produ
Thanks for the code example.
Colin
- Original Message -
From: "Rohan Shrinivas Desai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 12:29 AM
Subject: Re: Problem with the back button in the HTML
when ever u open a page an entry is
any help to u ..
regards,
Rohan
-Original Message-
From: Endre Stølsvik [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 1:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with the back button in the HTML
On Thu, 27 Dec 2001, Milt Epstein wrote:
| On Wed, 27 Dec 2000, Mahmood
On Thu, 27 Dec 2001, Milt Epstein wrote:
| On Wed, 27 Dec 2000, Mahmood Shahzad wrote:
|
| > Hi All,
| >
| > I have to present the values submitted by a user on an HTML page
| > when the user presses the back button available in HTML. Do someone
| > have any solution.
| >
| > Browser side cash is
EMAIL PROTECTED]
Subject: Re: Problem loading oracle jdbc driver in servlet under Tomcat
On Wed, 2 Jan 2002 16:28:39 -, Brian Moynihan <[EMAIL PROTECTED]>
wrote:
>The classpath is set up correctly as the standalone java application can
>access the database.
>
The problem is that the
On Wed, 2 Jan 2002 16:28:39 -, Brian Moynihan <[EMAIL PROTECTED]> wrote:
>The classpath is set up correctly as the standalone java application can
>access the database.
>
The problem is that the servlet container is not able to find the classes. There is a
difference between the way the sta
[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Problem loading oracle jdbc driver in servlet under Tomcat
>Date: Wed, 2 Jan 2002 16:28:39 -
>
>Thanks for your reply Bill, however ...
>
>The classpath is set up correctly as the standalone java application can
>access t
: Re: Problem loading oracle jdbc driver in servlet under Tomcat
Thanks for your reply Bill, however ...
The classpath is set up correctly as the standalone java application can
access the database.
As regards a valid uid and pwd, this does not apply as the driver is not
loading, therefore we do
own ideas so far ...
-Original Message-
From: Lindsay, William (USPC.PCT.Hopewell)
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 3:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem loading oracle jdbc driver in servlet under Tomcat
It could either be
- the CLASSPATH
-
It could either be
- the CLASSPATH
- a Firewall between Apache and Oracle
- Valid UID, PWD
- Oracle install (We use the ThinClient driver which doesn't require SQL*NET (Client
Side DLL's or .SO files))
What is the println producing ?
Bill Lindsay
Retirement Group - VP
Online Services
-Ori
2 PM
>
> Please respond to "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc:(bcc: Shahzad Mahmood/CresSoft)
>
> Subject: Re: Problem with the back butt
05:22:32 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:(bcc: Shahzad Mahmood/CresSoft)
Subject: Re: Problem with the back button in the HTML
Shahzad:
(If
On Wed, 27 Dec 2000, Mahmood Shahzad wrote:
> Hi All,
>
> I have to present the values submitted by a user on an HTML page
> when the user presses the back button available in HTML. Do someone
> have any solution.
>
> Browser side cash is off and I m using HTTPS.
> Thanks in advance
Check the ar
Shahzad:
(If I understand your question correctly), maybe you can use a jsp instead of an
HTML page and when the user submits the form, save all the values in session
variables. Then your jsp can be coded with logic like the foll. psuedo-code:
if(session var val is nonull) value presented in the
What do you mean by "the back button available in HTML?" Are you referring
to the browser "Back" button or a JavaScript button where you have coded
history logic? If the former, you are out of luck; if the latter, there are
several ways from passing form parameters in the URI to using an HTML
"s
prshevde wrote:
>
> The .class file is copied to webapps/examples/servlets directory.
>
Try webapps/examples/WEB-INF/classes instead. There should
be some information about that in your book. If not, check
out the documentation pointed to by the links at the
bottom of this message.
--
Christop
clude in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
-
> Purav wrote:
>
> I dun think so you need a super.init(config) call in
> the new servlet API.
>
>
> public void init(ServletConfig config)
>throws ServletException
> {
>super.init(config);
> }
>
The super.init(config) call is definitely required
in this case.
HttpServ
1 - 100 of 569 matches
Mail list logo