Tomcat As NT service

2001-08-27 Thread SriHari
Hi there where can i find tomcat as a NT. service patch(download) so that i can install tomcat services as a NT.service I am using Tomcat 3.2.3 Cheers SriHari === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Comparison of App. servers

2001-08-27 Thread Kishor K
Hi, Can any of u provide links to any articles with a comparsion of FREE App. servers supporting JSP such as JBOSS,Tomcat,JRun,Resin etc. kishor If it ain't broke, don't fix it _ Do You Yahoo!? Get your free @yahoo.com address

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Jason Au
hi I want to know where did you found this code? because I want to know more about this. Is it have more setting can set throw response? Jason - Original Message - From: Irawan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 9:51 AM Subject: Re:

Re: Tomcat As NT service

2001-08-27 Thread ivy chen
you can find the download tip in %tomcat_home%\doc\NT-Service-howto.html - Original Message - From: SriHari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 11:38 PM Subject: Tomcat As NT service Hi there where can i find tomcat as a NT. service patch(download)

jsp cache problem

2001-08-27 Thread Senthil Raja V
Hi all. Iam using tomcat standalone server. my jsp page once executed is retained unchanged even other user logs in. that means the page is not refreshed i have used % response.setHeader(Expires, Mon, 26 Jul 1990 05:00:00 GMT); // Date in the past response.setHeader(Cache-Control

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Irawan
Jason, I got these lines of code from one of my colleague in prev department. I would say that you can set all the header that normally can exists in the html code, since the idea is setting the header information when you are about to send the resulting html page to the browser. What else are

Re: Tomcat As NT service

2001-08-27 Thread BENARD Christophe, DDE 34/SG
Hi, Try this link : http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/bin/win32/i38 6/jk_nt_service.exe HTH Chris -Message d'origine- De: SriHari [mailto:[EMAIL PROTECTED]] Date: lundi 27 août 2001 08:38 À: [EMAIL PROTECTED] Objet: Tomcat As NT service Hi there

Re: Comparison of App. servers

2001-08-27 Thread Eko Prasetiyo
Kishor K wrote: Hi, Can any of u provide links to any articles with a comparsion of FREE App. servers supporting JSP such as JBOSS,Tomcat,JRun,Resin etc. try www.theserverside.com -- %@ page import=anti.ferrari.pro.NastroAzzuro % % out.println(Eko Prasetiyo); //Fasilkom UI -

forward / sendRedirect

2001-08-27 Thread Dinesh Somasundram
Hi All, I have a page. In the middle of the page, if a certain condition is true, I want to go to a different page. If I use response.sendRedirect(), I keep getting Response has already been committed. If I use jsp:forward I keep getting Cannot forward as OutputStream or Writer has already been

jar file in Tomcat configuration

2001-08-27 Thread SriHari
Hi I am using Tomcat3.2.3 i want my beans or/classfiles to be in a jar file how will my jsp application recognise my classfiles i am placing the classin tomcatt/WebApps/application/web-inf/Classes wher should i place my jar file and how to configure tomcat about the class files is there any

[ANN] JSOS ver. 2.50 - the first set out-of-the-box Java servlet filters

2001-08-27 Thread Dmitry Namiot
Coldjava announced the major new release of Java Servlets Office Suite (JSOS). 45 out-of-the-box components on the base of Java Servlets and Java Server Pages can be used for fast assembly of web sites and services on the base of J2EE. JSOS is a largest servlets collection over the Net and

JSP Iterator Tag

2001-08-27 Thread Joel Carklin
Hi, I'm looking for a Tag which will iterate over a collection, which is supported by JSP1.1 I tried using the jsptl-jr taglib which is part of the jakarta Tag Lib, but as was pointed out to me, my server OrionServer doesn't understand JSP 1.2 syntax. I changed the syntax in the tld file to

Re: forward / sendRedirect

2001-08-27 Thread Hans Bergsten
Dinesh Somasundram wrote: Hi All, I have a page. In the middle of the page, if a certain condition is true, I want to go to a different page. If I use response.sendRedirect(), I keep getting Response has already been committed. If I use jsp:forward I keep getting Cannot forward as

Re: forward / sendRedirect

2001-08-27 Thread Dinesh Somasundram
Dear Sir, That's right. I am using the jsp:include before the redirect. The reason is that in the include, I need to pass a parameter. Is that a way to pass the parameter if I were to use the include page directive? Thanx, Dinesh, S. -Original Message- From: A mailing list about Java

Re: forward / sendRedirect

2001-08-27 Thread Hans Bergsten
Dinesh Somasundram wrote: Dear Sir, That's right. I am using the jsp:include before the redirect. The reason is that in the include, I need to pass a parameter. Is that a way to pass the parameter if I were to use the include page directive? No matter if you use the include action or the

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Senthil Raja V
Hello Jason. I used the following response.setHeader methods inside my jsp page. still the page is not getting refreshed. but for me At 02:38 AM 27/08/2001 -0500, you wrote: Jason, I got these lines of code from one of my colleague in prev department. I would say that you can set all the header

Session.getValue

2001-08-27 Thread Dinesh Somasundram
Hi All, Correct me if I am wrong. I remember reading somewhere session.getValue is deprecated. If it is then should I be using request.getParameter instead? Thanx, Dinesh, S. === To unsubscribe: mailto [EMAIL PROTECTED]

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread JavaSoft
yah .. you are correct, i have tried it by my self too but still no changed. The page still cant refresh automaticly. ==thx,a Java Addicted - Original Message - From: Senthil Raja V To: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 3:59 PM Subject: Re:

Re: Session.getValue

2001-08-27 Thread Nauman Rafique
Hi, I think you need to use session.getAttribute( ) Nauman - Original Message - From: Dinesh Somasundram [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 3:55 PM Subject: Session.getValue Hi All, Correct me if I am wrong. I remember reading somewhere

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Senthil Raja V
Hi. Actually if I use setHeader no cache what is happening ? Is the files are not stored in C:\WINDOWS\Temporary Internet Files ? In my case i am not using any redirects but using encodeUrl and opening files in separate single window. The page opened in separate window is retained unchanged, ie

How to know is the browser is killed

2001-08-27 Thread Cosyns xavier
Hi all, Is there a way in JSPto find out if someones kills his browser? Thanks in advance, Cosyns, xavier [EMAIL PROTECTED]

signoff JSP-Interest

2001-08-27 Thread Vadlmudi Harischandra
==To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at:

Re: JSP Iterator Tag

2001-08-27 Thread Lance Lavandowska
javax/servlet/jsp/tagext/IterationTag is an interface specified in the JSP 1.2 spec, so as you can guess Orion doesn't support it. The Jakarta-Struts project has an iteration tag you might want to try. Lance Lavandowska www.Brainopolis.com - Original Message - From: Joel Carklin [EMAIL

Re: forward / sendRedirect

2001-08-27 Thread James Childers
Delivered-To: [EMAIL PROTECTED] Date: Mon, 27 Aug 2001 16:03:34 +0700 From: Dinesh Somasundram [EMAIL PROTECTED] Subject: forward / sendRedirect To: [EMAIL PROTECTED] Hi All, I have a page. In the middle of the page, if a certain condition is true, I want to go to a different page. If I

Re: getting the options in a dropdown from the database

2001-08-27 Thread Margaret Fisk
Just a thought, but you should query the database into an array and then get the Select results from the array. -Original Message- From: Usha Rani [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:20 AM To: [EMAIL PROTECTED] Subject: getting the options in a dropdown from the

Re: jar file in Tomcat configuration

2001-08-27 Thread Jann VanOver
Tomcat will see your jar files if you put them in WEB-INF/lib It will see your class files if they are put in proper package hierarchy in WEB-INF/classes. (ie. package org.apache.Stuff will be found in WEB-INF/classes/org/apache/Stuff.class) No need to change classpath values anywhere. That IS

Re: tomcat-apache setup

2001-08-27 Thread Jann VanOver
The Tomcat User mailing list is a better place for this -- and before you ask, search the archive. This is a VERY frequent question there. Tomcat User Archive http://mikal.org/interests/java/tomcat/index.jsp The Tomcat User Mailing http://jakarta.apache.org/site/mail.html -Original

Re: Using DATE and CALENDAR objects...

2001-08-27 Thread Saraiva Ivan
Yes, you can! Look at http://www.oracle.com and you'll see some examples. It's just wok on Oracle 8i database or newer. I hope this help you. Ivan. - Original Message - From: Christian Hamann L [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 10:43 PM Subject: Re:

getting the options in a dropdown from the database

2001-08-27 Thread Usha Rani
Hi, i would like to get the select list box directly from the database.How can I do that. Thanx === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body:

Copying files in java

2001-08-27 Thread Alireza Nahavandi
Hi All, Does anybody know how to copy a file to another folder using Java? Thank you, === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set

Re: Copying files in java

2001-08-27 Thread Allamsetty, Venkata
u can use Runtime.exec(OS specific command for copying files); -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 2:00 PM To: [EMAIL PROTECTED] Subject: Copying files in java Hi All, Does anybody know how to copy a file to another folder

Re: Copying files in java

2001-08-27 Thread Rick Reumann
Or you could try something like (note: error handling in this quick example isn't ideal and also if your file is a simple txt file there are other ways to do it more efficiently ) import java.io.*; public class FileMove { public static void main( String[] args ) { try {

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Irawan
Once you set the cache to no, it is up to the browser to honor the request I believe. Also in your case, what I would check is to make sure that the code is working correctly. So you are saying that all the data/content are exactly the same as the other user? Have you try using 2 different

Re: response.sendRedirect() problem to Irawan

2001-08-27 Thread Irawan
Did you add the no cache to the page open in the separate window also? If the new page open in the other window is also a jsp/servlet, then you also have to add the code there. The code to set the page to no cache is specific only for that particular page. When the page set to 'no cache' then

how to insert a row in table?

2001-08-27 Thread lf q
hi,this is Jtable example.someone help me to modify it,and finish these job, one:when i press 'insert' in keyboard then the table will insert a row; two:when the focus at last row,when i press 'down' key in keyboard,then the table will add new row append the last row. best regards,thanks

how can i print a part of my page?

2001-08-27 Thread lf q
hi,I'm new user of this list. How can i print a page?but except some content I don't want print,such as 'button'? thanks very much!!¦bºô¸ô¤W¨Ï¥Î§ó¦h¥\¯à¡C¤U¸ü§K¶O MSN Explorer: http://explorer.msn.com.tw: http://explorer.msn.com.tw

Re: Tomcat As NT service

2001-08-27 Thread Andrew Bruno
Here's some more info: http://www.geocities.com/andrewbruno/ntservice/index.html ~ab -Original Message- From: ivy chen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 August 2001 8:27 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat As NT service you can find the download tip in

Re: Printing a JSP Page

2001-08-27 Thread Ashish Shrestha
Smita Kotnis wrote: Hi all, Is it possible to save a JSP page as HTML, in to a folder on click of a button within that JSP? If possible how to do this? I am having a JSP page contaning some data, on click of a button of that JSP, the whole file should be stored as HTML. I appriciate

Re: getting the options in a dropdown from the database

2001-08-27 Thread Dinesh Somasundram
You might want to check DBTags lib from Apache. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Usha Rani Sent: Monday, August 27, 2001 10:20 PM To: [EMAIL PROTECTED] Subject: getting the options in a

Getting Headers

2001-08-27 Thread Dinesh Somasundram
Hi All, I found this piece of code that gets all the headers for a page. It's cool. However, I am wondering wether is there any way to get all Parameters that was passed to a page. Any ideas??? Thanx, Dinesh, S. //--- html headtitleShow All the Headers/title/head body %

Re: Getting Headers

2001-08-27 Thread crook
try this: % for(java.util.Enumeration e = request.getParameterNames();e.hasMoreElements();) { String parameter = (String)e.nextElement(); out.print(parameter + = + request.getParameter(header) + br); } % i didn't test it of course! ;) :crook -Original Message- From: A

Re: Getting Headers

2001-08-27 Thread Andrew Bruno
Here's another way, and it works :) :ab html head titleShow All Parameters/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 % java.util.Enumeration e = request.getParameterNames(); while (e.hasMoreElements()) {

404 errorpage customization

2001-08-27 Thread SriHari
Hi Where should i place the below xml information to redirect the 404/500 and other general errors to a custom page I am using Tomcat 3.2.3 i have tried it in server.xml config file with in contextmanager tag Pl specify where Tomcat finds the eror/404.jsp file .. error-page

offtopic : to truncate a double

2001-08-27 Thread Rajinder Sandhu
Hi all, i have variable double x = 34.8976 ; i want only 2 digits after decimal. Is there any method returning double and gives value x = 34.89 ??? Cheers!! Raj === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: getting the options in a dropdown from the database

2001-08-27 Thread Senthil Raja V
Hi Usha. i did'nt understand actually what you want. can you please tell it clearly. u need select list box directly from the database or contents of the select box. but here is the code that will bring the contents for the select list box from database. select %while(rst.next()) {% option

Re: getting the options in a dropdown from the database

2001-08-27 Thread Andrew Bruno
This link shows a simple example http://www.mycgiserver.com/~andrewbruno/howto/jsp/implementdropdownlist. txt :ab -Original Message- From: Senthil Raja V [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 August 2001 2:52 PM To: [EMAIL PROTECTED] Subject: Re: getting the options in a

Re: offtopic : to truncate a double

2001-08-27 Thread Senthil Raja V
Hi. you can check out the following methods in math class. round(double a) Returns the closest long to the argument. round(float a) Returns the closest int to the argument. Hope this helps you. rgds Senthil At 09:53 PM 27/08/2001 -0700, you wrote: Hi all, i have variable double x = 34.8976

Re: Getting Headers

2001-08-27 Thread Dinesh Somasundram
Thanx, Dinesh, S. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Bruno Sent: Tuesday, August 28, 2001 10:57 AM To: [EMAIL PROTECTED] Subject: Re: Getting Headers Here's another way, and it works

Help

2001-08-27 Thread Dinesh Somasundram
Hi All, I know this might be a little silly, but I was wondering, is there an execute kind of a statement in JSP. For example I have a variable and I want to initialise the content of the variable i.e. String myParam = NAME; String myParam; -- the myParam here is supposed