Re: problem

2004-08-10 Thread Partha Ranjan Das
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

Re: problem

2004-08-05 Thread Partha Ranjan Das
: "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,

Re: problem

2004-08-05 Thread Andy Susanto
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

Re: problem

2004-08-05 Thread Andy Susanto
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 >

Re: problem

2004-08-05 Thread Partha Ranjan Das
. -- 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

Re: problem

2004-08-04 Thread Andy Susanto
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

Re: problem

2004-08-04 Thread Guy Katz
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

Re: Problem with Uploading file from Servlet to Client machine.

2004-02-11 Thread Yuri Singidas
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

Re: problem of open a pdf file on client browser through servlet

2004-02-09 Thread Sharma, Mamta (Cognizant)
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

Re: problem of open a pdf file on client browser through servlet

2004-01-29 Thread Fabro, Loic
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

Re: Problem sending .exe file through servlet to client

2003-07-11 Thread Felmey, Jonathan
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

Re: Problem sending .exe file through servlet to client

2003-07-11 Thread Felmey, Jonathan
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

Re: Problem sending .exe file through servlet to client

2003-07-11 Thread Zerbe John W
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

Re: Problem sending .exe file through servlet to client

2003-07-11 Thread Adrian Janssen
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

RE: Problem sending .exe file through servlet to client

2003-07-11 Thread Jean-Christophe CHARVY
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

Re: problem exec javac from servlet

2003-03-25 Thread Adrian Janssen
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

Re: Problem with swing-servlet communication??

2003-01-29 Thread Michael Weller
> 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

Re: problem with chinese output in jsp/tomcat 4.1.12

2002-12-11 Thread Partha Ranjan Das
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

Re: problem with chinese output in jsp/tomcat 4.1.12

2002-12-11 Thread Gang Zhang
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

Re: problem with chinese output in jsp/tomcat 4.1.12

2002-12-10 Thread Partha Ranjan Das
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"

Re: Problem with files

2002-11-05 Thread Zerbe John W
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:

Re: Problem with files

2002-11-05 Thread Padhu Vinirs
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

Re: Problem with files

2002-11-05 Thread Raghupathy, Gurumoorthy
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

Re: Problem with files

2002-11-05 Thread Xu, John
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

Re: problem with <@include file %>

2002-10-07 Thread Karr, David
> -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

Re: problem with <@include file %>

2002-10-07 Thread Chris Pratt
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

Re: problem with <@include file %>

2002-10-06 Thread David M. Karr
> "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

Re: problem with <@include file %>

2002-10-06 Thread raju punith
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

Re: problem with <@include file %>

2002-10-04 Thread M. E. Zawadzki
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

Re: problem with <@include file %>

2002-10-04 Thread Galbreath, Mark
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

Re: problem with <@include file %>

2002-10-04 Thread Raghupathy, Gurumoorthy
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

Re: problem with <@include file %>

2002-10-03 Thread Vikramjit Singh
> -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

Re: Problem with ENCTYPE="multipart/form-data"

2002-08-21 Thread Paul McCall
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

Re: Problem with ENCTYPE="multipart/form-data"

2002-08-21 Thread Peter Smiley (EEI)
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

Re: problem deploying TOMCAT

2002-07-17 Thread michael
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

Re: problem deploying TOMCAT

2002-07-15 Thread Tinnapat Chaipanich
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.

Re: problem deploying TOMCAT

2002-07-15 Thread Renz
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.

Re: problem deploying TOMCAT

2002-07-15 Thread Seema Kumar
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-15 Thread Neel Mukherjee
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-15 Thread Seema Kumar
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-15 Thread Vikramjit Singh
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-15 Thread Neel Mukherjee
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-14 Thread Faizy . Chaudhary
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

Re: Problem faced when both xerces.jar and servlet.jar are in Cla sspath

2002-07-14 Thread Vikramjit Singh
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

Re: Problem with user http session

2002-06-13 Thread Dennis Sosnoski
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

Re: Problem with user http session

2002-06-13 Thread Rodrigo Ruiz Aguayo
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.

Re: Problem with user http session

2002-06-13 Thread Adrian Janssen
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

Re: Problem with user http session

2002-06-12 Thread will suto
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

Re: Problem with getting an array value

2002-06-06 Thread Balasubramaniyan K
 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

Re: Problem with getting an array value

2002-06-06 Thread Chanel Tien
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

Re: Problem with getting an array value

2002-06-05 Thread Balasubramaniyan K
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.

Re: Problem with getting an array value

2002-06-05 Thread Galbreath, Mark
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

Re: Problem with getting an array value

2002-06-05 Thread Chanel Tien
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

Re: Problem with getting an array value

2002-06-05 Thread Galbreath, Mark
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

Re: Problem with getting an array value

2002-06-05 Thread Milt Epstein
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

Re: Problem accessing servlets in Weblogic

2002-04-30 Thread Mike Whittaker
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

Re: Problem posting XML string

2002-04-29 Thread Adams, Dick W
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

Re: Problem posting XML string

2002-04-26 Thread Richard Yee
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

Re: Problem sending a pdf file from servlet

2002-04-25 Thread Asif Qamar
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

Re: Problem sending a pdf file from servlet

2002-04-25 Thread Dinesh Villuri
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=\""

Re: Problem sending a pdf file from servlet

2002-04-25 Thread Asif Qamar
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

Re: Problem sending a pdf file from servlet

2002-04-24 Thread Dinesh Villuri
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

Re: Problem sending a pdf file from servlet

2002-04-24 Thread Rodenas López, José Luis
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

Oggetto: Re: Problem sending a pdf file from servlet

2002-04-24 Thread Ken Barron
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 __

Re: Problem sending a pdf file from servlet

2002-04-24 Thread Eric Hanson
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

Re: Problem downloadin a excel file in jsp

2002-04-19 Thread Rajesh Nair
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

Re: Problem downloadin a excel file in jsp

2002-04-19 Thread Galbreath, Mark
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 .

Re: problem with session objects

2002-04-16 Thread Bhushan_Bhangale
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

Re: problem with session objects

2002-04-16 Thread José Enrique Zarco
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

Re: problem with session objects

2002-04-16 Thread reunionf
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

Re: problem with session objects

2002-04-16 Thread Robin Mannering
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

Re: problem uploading files to tomcat

2002-04-05 Thread Vincent BUI
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 ...

Re: Problem with my Login servlet

2002-03-26 Thread Laurent Comte
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

Re: problem compiling a servlet

2002-01-25 Thread Anthony Tagunov
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

Re: problem compiling a servlet

2002-01-24 Thread Thierry Boutevin
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]

Re: Problem with servlet execution

2002-01-24 Thread Danny Rubis
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

Re: problem compiling a servlet

2002-01-24 Thread Paul Fischer
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

Re: Problem installing Tomcat...

2002-01-22 Thread suresh chaluvadi
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

Re: Problem installing Tomcat.

2002-01-21 Thread [Aruniima Chakrabarti]
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:

Re: Problem installing Tomcat.

2002-01-21 Thread suresh chaluvadi
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

Re: Problem with JRun!!!!!

2002-01-18 Thread Mark Galbreath
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

Re: Problem with JRun!!!!!

2002-01-17 Thread Warren MIra
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

Re: Problem with file URL

2002-01-07 Thread Cervenka, Tom
"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

Re: Problem with the back button in the HTML

2002-01-04 Thread Colin Capriati
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

Re: Problem with the back button in the HTML

2002-01-04 Thread Rohan Shrinivas Desai
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

Re: Problem with the back button in the HTML

2002-01-04 Thread Endre Stølsvik
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

Re: Problem loading oracle jdbc driver in servlet under Tomcat

2002-01-03 Thread Ramu, Ganesh (MED)
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

Re: Problem loading oracle jdbc driver in servlet under Tomcat

2002-01-02 Thread Gokul Singh
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

Re: Problem loading oracle jdbc driver in servlet under Tomcat

2002-01-02 Thread Rajinder Pal Singh
[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

2002-01-02 Thread Chen, Gin
: 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

Re: Problem loading oracle jdbc driver in servlet under Tomcat

2002-01-02 Thread Brian Moynihan
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 -

Re: Problem loading oracle jdbc driver in servlet under Tomcat

2002-01-02 Thread Lindsay, William (USPC.PCT.Hopewell)
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

Re: Problem with the back button in the HTML

2001-12-28 Thread Geeta Ramani
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

Re: Problem with the back button in the HTML

2001-12-27 Thread Mahmood Shahzad
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

Re: Problem with the back button in the HTML

2001-12-27 Thread Milt Epstein
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

Re: Problem with the back button in the HTML

2001-12-27 Thread Geeta Ramani
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

Re: Problem with the back button in the HTML

2001-12-27 Thread Mark Galbreath
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

Re: Problem in running a servlet on tomcat3.1.1

2001-12-21 Thread Christopher K. St. John
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

Re: Problem in running a servlet on tomcat3.1.1

2001-12-20 Thread prshevde
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 -

Re: Problem in running a servlet on tomcat

2001-12-20 Thread Christopher K. St. John
> 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   2   3   4   5   6   >