storing counter information

2001-03-20 Thread Alex A. Almero
given this simple jsp counter, is there a way to store the counter information to a file/db so that it can be retrieved on server restart. code: % Long hitCounter = (Long)application.getAttribute("hitCounter"); if (hitCounter == null) hitCounter = new Long(0); hitCounter = new

Forward tag

2001-03-20 Thread Hardeep Singh
I had posted this urgent problem, but since i have not got any reply, i am resending it. Hi, I have a jsp within a war having context root CRM. This jsp has to forward to another jsp in another war haveing context root FFC02000. The name of the jsp is FFC020001.jsp. I am writing the tag as:

Re: Strange behaviour

2001-03-20 Thread CHAKCHOUK, Anis
hi, you have some problems with your index values! -Message d'origine- De : David Cate [mailto:[EMAIL PROTECTED]] Envoy : lundi 19 mars 2001 20:12 : [EMAIL PROTECTED] Objet : Strange behavior I am using JDK 1.3 with JRUN 2.3.3 build 157. Just using ref implementation for J2SDKEE.

Re: Are taglibs working in tomcat4 ?????

2001-03-20 Thread Mayuresh Kadu
Try changing the line taglib-location/WEB-INF/tlds/taglib16.tld /taglib-location to taglib-location./WEB-INF/tlds/taglib16.tld /taglib-location ^--- *Additional Mayuresh -Original Message- From: A mailing list about Java Server Pages specification

Re: JavaWebServer Performance tuning???

2001-03-20 Thread CHAKCHOUK, Anis
hi, yes thers some settings to modify for boost your j web server. see the documentation on line at http://machine_name:adminport thank's. -Message d'origine- De : naren t [mailto:[EMAIL PROTECTED]] Envoy : lundi 19 mars 2001 23:47 : [EMAIL PROTECTED] Objet : JavaWebServer Performance

Re: off topic (how a form can be submitted automaticaly from another form)

2001-03-20 Thread Mayuresh Kadu
html body form name="f1" ... onSubmit="document.f2.submit(); return true" !-- Form1 -- /form form name="f2" !-- Form1 -- /form /body /html Hope this helps

Re: error while getting into examples

2001-03-20 Thread Mayuresh Kadu
I would recommend reinstalling Tomcat and check whether u have any other server software's attached to port 8080 and 80 (perhaps proxy, PWS, etc ?) Mayuresh -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf

Re: uri problem in tld.....

2001-03-20 Thread Mayuresh Kadu
Do not specify the path in uri in short uriC:\javawebserver2.0\classes\anurag\HelloTag.class/uri would change to uriHelloTag.class/uri where C:\javawebserver2.0\classes\anurag should be added to the CLASSPATH variable. Mayuresh -Original Message- From: A mailing list about Java

taglibs and javawebserver2.0

2001-03-20 Thread anurag dewan
hi, Are taglibs supported by javawebserver2.0??? -anurag Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie

Re: taglibs and javawebserver2.0

2001-03-20 Thread CHAKCHOUK, Anis
hi, yes. -Message d'origine- De : anurag dewan [mailto:[EMAIL PROTECTED]] Envoy : mardi 20 mars 2001 10:13 : [EMAIL PROTECTED] Objet : taglibs and javawebserver2.0 hi, Are taglibs supported by javawebserver2.0??? -anurag Do

Re: Forward tag

2001-03-20 Thread Thai Thanh Ha
A WAR file is a structure for deploying a web application. And you can't jsp:forward to another web application (another WAR file means another web application). Use response.sendRedirect() instead Regards, Thai -Original Message- From: Hardeep Singh [mailto:[EMAIL PROTECTED]] Sent:

Refresh problem

2001-03-20 Thread PETRAKI Meropi
Hello, I have the following problem: I created a jsp (basic.jsp with three frames). Through the basic.jsp i open other jsps using the JavaScript command: var w = window.open ("","","resizable,width=600,height=600,scrollbars=yes"); w.location = "../jsps/second.jsp?id="+val; In the

Re: Are taglibs working in tomcat4 ?????

2001-03-20 Thread Dmitri Namiot
It is a strange xml parser in your Tomcat 4. Do they think xml attribute value depends on its position? Like info before attribute is "info" and after that is nothing? __ Get your own FREE, personal Netscape Webmail account today at

off topic -- urgent

2001-03-20 Thread sandarbh
hi all, please tell what will be the format of string to be inserted into oracle so that time is also stored example 17-mar-2001 12:34:01 insert into date1 values('what is to be written here for duplicating the above information') sandarbh

Re: off topic -- urgent

2001-03-20 Thread Damien O' Dowd
Hi You need to use the TO_DATE function and specify a time format in the mask otherwise a default time of midnight is inserted. I hope this helps. insert into date1 values(TO_DATE('17-mar-2001 12:34:01', mm-dd- hh24:mm;ss)) From: sandarbh <[EMAIL PROTECTED]> Reply-To: A mailing list about

Re: stumped on this redirect

2001-03-20 Thread Rick Reumann
The length from getContentLength() is coming back fine. What is interesting is I had a friend run this on ServletExec 3.1 and it redirected fine in his dev environment. I'm running on ServletExec 2.2 (where it's not working) and wondering if that could be the problem? On 19 Mar 2001, at 20:30,

Re: off topic -- urgent

2001-03-20 Thread sandarbh
thanks damien it worked just fine sandarbh - Original Message - From: Damien O' Dowd To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 1:33 PM Subject: Re: off topic -- urgent Hi You need to use the TO_DATE function and specify a time format in the mask otherwise a default time of

Re: off topic -- urgent

2001-03-20 Thread Daryani Santosh
The following is valid syntax for inserting a date and time value into a oracle date column insert into test values ('5',to_date('3-17-01 10:12:13','mm/dd/yy hh:mi:ss')) Test is a table with 2 columns a varchar and a date column Santosh sandarbh [EMAIL PROTECTED] on 03/20/2001

where to put jar

2001-03-20 Thread Peter Choe
i have a database connection pool jar file that i want to use for my web applications. so, i placed the jar file in $TOMCAT_HOME/lib. but when i run my web application, it doesn't seem to use the jar file. do i need to set the classpath to read the jar file? i thought that if it is in the lib

Re: iplanet directories's structure ???

2001-03-20 Thread Samuel Opoku-Boadu
Hello, This is interesting . I am working currently with developing JSP using Forte for Java on a BEA Weblogic platform and having a few difficulties. Could someone, please, give a hint on the Web Application Structure below for BEA Weblogic 6.0 Application Server sufi malak wrote: In tomcat

Implementing Security in Jsp

2001-03-20 Thread Zahid Rahman
I am looking for an article(s) that shows specifically what steps or code examples be used in order to prevent outside interference and security over the network when using JSP. If you have come across such information can you please pass me the link. Regards, zahid

Re: where to put jar

2001-03-20 Thread Ferguson, Allan (calanais)
Not sure but ... You can edit your CLASSPATH environment variable to include the file or place a copy of the JAR file in the lib/jre/ext/ directory of your java SDK the Java VM should find it. Allan. -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001

file download with different name ?????

2001-03-20 Thread sufi malak
In my page downloads, I have lot of liks for files to be downloaded bu the user like: A HREF="download/file1.zip"Download without jspsmart/A And then when the user download a file and update it, he will go back to a page for uploading that file. right now everything is working fine, BUT if TWO

Re: Are taglibs working in tomcat4 ?????

2001-03-20 Thread Martin Cooper
It's not strange. The parser is complaining because the document does not conform to its declared DTD. That's what it's supposed to do. -- Martin Cooper - Original Message - From: "Dmitri Namiot" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 4:33 AM Subject: Re:

Re: file download with different name ?????

2001-03-20 Thread Clayton Nash
It's called version management -- one option is to lock files once they have been downloaded by one user until that user uploads a new version, or store each file as a version on your site. Clayton - Original Message - From: "sufi malak" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

AW: where to put jar

2001-03-20 Thread Michael Jager
Tomcat usually sets the classpath dynamically, so any jars in the $TOMCAT_HOME/lib-directory should be included in the classpath. But that does not allways work under Windows, depending on your TOMCAT_HOME-directory. If you are working under Windows and you do not get a message like "Including

where should be the files be?

2001-03-20 Thread Tom Horn
Do "I" need to compile the tags prior having them called from the *.tld file OR should they be automatically compiled by the loader prior loading their classes? ** If automatically, how is it done or what do I need to do? ** should there be class path or path to java? ** where or in what file do

Re: Are taglibs working in tomcat4 ?????

2001-03-20 Thread Hans Bergsten
Mayuresh Kadu wrote: Try changing the line taglib-location/WEB-INF/tlds/taglib16.tld /taglib-location to taglib-location./WEB-INF/tlds/taglib16.tld /taglib-location ^--- *Additional Mayuresh I'm afraid you're wrong. There are three spec compliant

To check the field

2001-03-20 Thread Carol Geng
All, Anyboyd would like to share how easy to check the field which is string but only 1 or 1.0 or 2.1 such data can be entered. I could do it if I put the data field as number(10,1) something, but it can not be retrieved from the perl script. So I put the data field as varchar2 (oracle db),

Relation between HTTPServer AppServer

2001-03-20 Thread Sushil Singh
Hi, I am having some basic question between how the request is being handled by the HTTP Server and AppServer. Let's say in order to access MyServlet, I am using URL: http://servername/servlet/MyServlet Now my question is that, initially request will go to the HTTPServer, then how HTTP Server

Re: To check the field

2001-03-20 Thread Balkrishna R.Parab
We do this using Java Script as follow function isCurrency(userEntry) { var decimalPoint = /\./; var digitsAfterDecimal = /\..{1,2}$/; if (decimalPoint.test(userEntry) == true){ if (digitsAfterDecimal.test(userEntry)==false)

Re: off topic -- urgent

2001-03-20 Thread iZone Infotech
'2001-MAR-17 12:34:01' should work. But I suppose there is a setting in Oracle for this purpose. br/dantus - Original Message - From: sandarbh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 6:29 PM Subject: off topic -- urgent hi all, please tell what will be

I-Planet

2001-03-20 Thread Vinay Talwar
I am at present running my jsp on i-planet, I am trying a example of use bean , can any body pls let me know in which directory should I keep my bean classes. Thanks in advance Vinay Talwar [EMAIL PROTECTED] [EMAIL PROTECTED]

Caching a JSP Page

2001-03-20 Thread OK Prakasan
Hi All, I would like to prevent the browser from caching a JSP page. Please give me a solution to achieve this. Thanks in Advance Prakasan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: Caching a JSP Page

2001-03-20 Thread ???
All you have to do is to add these below meta http-equiv="pragma" content="no-cache" meta http-equiv="cache-control" content="no-cache" -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of OK Prakasan Sent: