Re: tomcat dos window size....

2002-07-24 Thread Asif.Raj
i am using windows2000 Professional. but this will work on 2000Advanced Server as well just right click on the window's Title Bar and go to Properties. go to the Layout tab and set whatever window size you want. After that when you click OK, it asks you a question as to save the changes or apply

Re: Easy (?) Servlet Question

2002-07-24 Thread Gang Zhang
I guess there are two easy ways. If you don't want to move the files to your web tree, you can map it with a virtual directory . Or you can just save the file to your web directory directly. You can use getRealPath("/") to get the web root directory. Gang - Original Message - From: "

Re: Easy (?) Servlet Question

2002-07-24 Thread Anoop Kumar V
why dont u just copy the file into one of ur context paths..or else declare this directory which contains the file as oneof ur context paths in server.xml.. i am talking about tomcat configuration.-anoop-Original Message-From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED]]Sent: Thursd

tomcat dos window size....

2002-07-24 Thread nitin vishwanath kanaskar
hi all... i use tomcat 3.2.3 as my servlet engine on windows. the dos window for tomcat in which all print statements, exception stack are displayed is too small in size when some exception is thrown , so it becums difficult to debug the code. anybody knows how to increase the size of dos window f

Re: newbie question: Little help

2002-07-24 Thread nitin vishwanath kanaskar
> > Hi, > > > > I have the problem with running a simple servlet on an Apache >Server with > > Tomcat 3.3.1 > > I wrote the servlet in Visual Age for Java 3.5 and exported >the .CLASS file > > into the proper directory on Apache. I then try to test it out >by calling > > the servlet from an HTML p

Re: newbie question: Little help

2002-07-24 Thread nitin vishwanath kanaskar
>>Hi, >> >>I have the problem with running a simple servlet on an Apache >>Server with >>Tomcat 3.3.1 >>I wrote the servlet in Visual Age for Java 3.5 and exported the >>.CLASS >>file >>into the proper directory on Apache. I then try to test it out >>by calling >>the servlet from an HTML page. An

Re: can servlet know servers' ip?

2002-07-24 Thread Nelson William
You might consider buying a book on servlet programming. Try Java Servlet Programming by Jason Hunter. rgds thank u. this is the one that i look for serdar - Original Message - From: "Denis Kranjcec" <[EMAIL PROTECTED]> To: <[EMAIL PROT

javac.Main has been deprecated

2002-07-24 Thread Luis A
Hi,   I am trying to follow a J2EE tutorial, and I am using the J2EE server, not Tomcat. When I call my JSP, comes this error message:   org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.An error occurred at line: 26 in the jsp

Re: Easy (?) Servlet Question

2002-07-24 Thread Gu, David
I think you need set up the http server, to publish your local folder as a web application. -Original Message- From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 4:55 PM To: [EMAIL PROTECTED] Subject: Re: Easy (?) Servlet Question Yes, that's what

Re: Easy (?) Servlet Question

2002-07-24 Thread Reinhardt Christiansen
Yes, that's what I'm trying to do. I can't figure out how to turn my file name in the file system, c:/GuestbookServlet/work/guestbook/EMCDL43828.zip, into an http:// URL. I assume that I need to look at something like the context path and/or my web.xml file to determine the exact value of my U

Re: Easy (?) Servlet Question

2002-07-24 Thread Wil Moore
http://developer.java.sun.com/developer/TechTips/1999/tt0216.html#tip1 -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of Henry Reardon Sent: Wednesday, July 24, 2002 12:09 PM To: [EMAIL PROTE

Re: Easy (?) Servlet Question

2002-07-24 Thread Gang Zhang
Since your servlet can see that file, you can use a scheme such as: request on: http://host/servlet/YourServlet outputs something like this: thefilename And when the user click on that link, your servlet will get the parameter action and filename, so you can go ahead and use the outputStre

Easy (?) Servlet Question

2002-07-24 Thread Henry Reardon
I think this should be easy to answer. I've spent HOURS looking in books and online for this but I can't find it; maybe someone here can help I have successfully created a temporary file in the servlet temporary directory. (In my case, the temporary directory is c:/GuestbookServlet/work/gue