Caching Problem in TomCat with Apache.....

2000-10-02 Thread satish mali
Dear Friends, I am having a problem with Tomcat... I have a Apache web server running on Windows NT. and I configured Tomcat for the JSP programing.. The version of Apache 3.1.6 and Tomcat 3.1 When i edit some jsp page on nt server. Chagnes gets reflected. but When edit some changes to

Re: Upload

2000-10-02 Thread Lynch Wu(吳麟之)
Hi Roger Check "MultipartRequest" in http://www.servlets.com/resources/com.oreilly.servlet/index.html -Original Message- From: Roger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 03, 2000 AM 05:26 To: [EMAIL PROTECTED] Subject: Upload Hi everybody, how can I upload a file ( .jpg,.

Re: RecordSet

2000-10-02 Thread Sanjay Vashisht
Passing any parameter to the getString( ) is invalid. You should remove the parameter passed, before retrieving just have a reference of the Metadata interface for recordset and traverse through recordset using rs.next(). If You want to select "Name " only then you have to change the query statem

Re: RecordSet

2000-10-02 Thread Sanjay Vashisht
You cannot pass a parameter to the getString( ) method. Remove the parameter passed, before retrieving just have a reference of Metadata interface for recordset and traverse through recordset using rs.next(). Rgds Sanjay Modassir Sattar wrote: > Hi, > > I am trying to execute a query in a JSP

Offline Question : CHTML

2000-10-02 Thread arun prakash
Does anyone know a good tool for developing CHTML ?? regards arun. __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/ === To unsu

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Chandhan Rangarajan
"SUFI" you are a celebrity now..you are as famous as JSP! -Original Message- From: Manne Fagerlind [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 11:56 PM To: [EMAIL PROTECTED] Subject:Re: To: Sufi "ASK ANYTHING" Malak Tom, I don't think it's just the range o

Re: cannot run jsp in tomcat

2000-10-02 Thread Fabro, Loic
You don't need to use the classpath environment variable! Just put that in your JAVA_HOME: c:\jdk1.3 I don't have any classpath on my computer I just have: JAVA_HOME=C:\Progra~1\java\jdk1.3 TOMCAT_HOME=C:\Program Files\apache\tomcat Everything works fine! __ Loïc Fabro Consultant, A

Re: Please help me with this!

2000-10-02 Thread Jashua Ni
Whatever you declare inside a jsp page without @ is in the scope of page. I would suggest you to look at the jsp specification and tag chart. Jashua Ni -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Yan Z

Upload

2000-10-02 Thread Roger
Hi everybody, how can I upload a file ( .jpg,.gif) using JSP in a HTML form? - Original Message - From: Lorena Carlo <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 07, 1999 11:42 AM Subject: Converting int to String on a JSP page > Hi all, > > Can anybody tell me whi

Re: cannot run jsp in tomcat

2000-10-02 Thread michael Smith
sven, I have already added c:\jdk1.3\lib\tools.jar into my classpath, is that right for this? thanks >From: "Sven van 't Veer" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: cannot run jsp in tomcat >Date: Mon, 2 Oct 2000 17:19:59 -0300 > >michael Smith wr

Re: Please help me with this!

2000-10-02 Thread Andy Purshottam
Look on page 356 of Hall. http://www.coreservlets.com -Original Message- From: Lorena Carlo [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 07, 1999 1:39 PM To: [EMAIL PROTECTED] Subject: Please help me with this! Hi everybody, Can somebody give me an example of declaring a variable

Re: Please help me with this!

2000-10-02 Thread Yan Zhu
session.setAttribute("myvar","test") something like this? Lorena Carlo wrote: > Hi everybody, > > Can somebody give me an example of declaring a variable in request scope > (servlet) in order to see it then in a JSP page?. > > Thanks in advance > > Lorena Carlo > > =

Please help me with this!

2000-10-02 Thread Lorena Carlo
Hi everybody, Can somebody give me an example of declaring a variable in request scope (servlet) in order to see it then in a JSP page?. Thanks in advance Lorena Carlo === To unsubscribe: mailto [EMAIL PROTECTED] with body

Re: cannot run jsp in tomcat

2000-10-02 Thread Sven van 't Veer
michael Smith wrote: > > Hi, > I just insatlled tomcat3.1 in windows 98, I can run the servlet examples at > http://localhost:8080/examples/ , but however I cannot run > the jsp examples, it give me classnot found errors int the tomcat console. > I have added JAVA_HOME and TOMCAT_HOME environmen

Upload

2000-10-02 Thread Roger
Hi everybody, How can I upload a picture using JSP, insuide a simple html form? Thanks Roger G Urdangarin POA- BRASIL === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

Url of Applications

2000-10-02 Thread Alarcon Fabio
Hi everybody Please, can you give some url where I can see sample applicating for user interface designig? Thanks in advance Regards Fabio Alarcon Ortiz Seguro Social de Salud, Lima - Peru Gerencia Central de Desarrollo e Informatica Gerencia de Sistemas Phones : (51 1) 265 6000, 265 7000 Ext

cannot run jsp in tomcat

2000-10-02 Thread michael Smith
Hi, I just insatlled tomcat3.1 in windows 98, I can run the servlet examples at http://localhost:8080/examples/ , but however I cannot run the jsp examples, it give me classnot found errors int the tomcat console. I have added JAVA_HOME and TOMCAT_HOME environmental variables at the autoexec.bat

How to set up env for jsp file under jsdk2.1?

2000-10-02 Thread Dongming Zhang
Hello, Can anyone let me know how to set up environment/property file for running jsp files under jsdk2.1? (For example, I want to use jsdk2.1/examples directory) Thanks Dongming Zhang Schlumberger === To unsubscribe: mai

Re: off-topic

2000-10-02 Thread Cogley, Jonathan
Check your browser VM supports all the objects and methods you are calling ... I have seen similar error messages when calling 1.2 methods in a 1.1 virtual machine. -Original Message- From: Ugur Karakaya [mailto:[EMAIL PROTECTED]] Sent: 02 October, 2000 11:43 AM To: [EMAIL PROTECTED] Sub

Re: Forte and JSP

2000-10-02 Thread Ting Abbey
just click on the "execute" button. or in ie, http://localhost:8080/ > -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Pahules Pete-P94645 > Sent: Monday, October 02, 2000 12:17 PM > To: [EMAIL PROTEC

Re: Direct forward after 5 seconds

2000-10-02 Thread Nick Ouwehand
Hi Jim, Take a look at java.lang.Thread.sleep(), maybe you can use it on your 2nd page. Nick -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jim King Sent: 2-Oct-00 6:14 PM To: [EMAIL PROTECTED] Subject:

Forte and JSP

2000-10-02 Thread Pahules Pete-P94645
Does anyone know how to execute JSPs within Forte and view the results within the internal web browser? Thanks in advance! Peter Pahules === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some

Re: Converting int to String on a JSP page

2000-10-02 Thread sun_king
for better or worse i did this <% Calendar cal = Calendar.getInstance(); int dateToday = cal.get(Calendar.DAY_OF_MONTH); int monthToday = cal.get(Calendar.MONTH) + 1; int yearToday = cal.get(Calendar.YEAR); String date = (dateToday < 10) ? ("0" + String.valueOf(dateToday)):String.valueOf(dateTod

Re: Shopping Cart

2000-10-02 Thread JamesK
I'm interested. Give me your sales terms and pricing. James - Original Message - From: "Carlos Vasquez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 02, 2000 9:07 AM Subject: Re: Shopping Cart > I am building a shopping cart that will run under > WebSphere, Weblogic

Re: SQL Date Arithemtic

2000-10-02 Thread Ajit Bhingarkar
1. First you have to create a proper util.Date object by parsing the date string selected in the table. You can use standard parsers. Refer to java.text. 2. You then have to get the java.util.Calendar object for the Date so created. This class has many util methods to compare, add to, subtract fro

package statement doesn't work in servlet

2000-10-02 Thread dion
Hello all, I have problem with package statement that works well in my beans, but does not work when i put in default servlet directory, in my case c:\jrun\servlets i'm sorry if i post it in the wrong list because currently i'm using jrun as the servlet engine.. for make it simpler, i'll use Hel

Re: Converting int to String on a JSP page

2000-10-02 Thread Jashua Ni
I think the easiest way to do this is like following: ""+(your int variable) -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Rajnish Bhaskar Sent: Monday, October 02, 2000 11:18 AM To: [EMAIL PROTECTED]

Re: iPlanet web server.

2000-10-02 Thread Jashua Ni
Hi all: I have a question regarding iPlanet web server. I have a jsp page as my company's home page. Inside the jsp page, I use request.setAttribute("name", "object"); then I use the following code to include another jsp: javax.servlet.RequestDispatcher rd = getServletContext().getRequestDispatc

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Silvey, Andrew
Why don't we have a vote on this ? Personally I support SUFI. When I open up my pc I find the subject field in my inbox a very useful way of filtering the mails which I am interested in, and the deleted items a very useful way of getting rid of the mails whose subjects I am not interested in. A

Re: Direct forward after 5 seconds

2000-10-02 Thread zhengxi liu
Will, in that case, the second jsp page be able to access the parameters in the original request? - Original Message - From: Manne Fagerlind <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 02, 2000 4:36 PM Subject: Re: Direct forward after 5 seconds > Add the following

off-topic

2000-10-02 Thread Uğur Karakaya
Sorry, We have a problem,and it is important for us. We take this exception on Netscape Browser status Bar, Applet LoginApllet CAN't init: NEW and in Java consol we take these message. We can't understand the problem Can anybody help us? Thank you. Copyright (C) 1996-97 Symantec Corporatio

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Daniel Tripp
Please take this off line. - Dan > -Original Message- > From: Martin Cooper [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 02, 2000 11:15 AM > To: [EMAIL PROTECTED] > Subject: Re: To: Sufi "ASK ANYTHING" Malak > > > No. People like Sufi don't deserve a break. It's people like > them

Re: Direct forward after 5 seconds

2000-10-02 Thread Jim King
Hi all, Thanks Manne, but actually I want to access the parameter in the first page. I guess in this way using "meta" tag I'll not be able to. is there any way to do it using the jsp forward tag? Thanks all... >From: Manne Fagerlind <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Ron Chan
Hi all, what is the point of the subject line if no one follows it. create a forum "anything java" or the like if you like all that free form approach. I refuse to help those who do not seem like they are helping themselves. I tell myself if everyone who knows and ignores these postings, no such

Re: SQL Date Arithemtic

2000-10-02 Thread Dan Lopez
I am selecting smalldatetime field from a table in my db. I would like to know how to compare the date values in the query to certain criteria (eg 48 hours ago, 10 days from now, etc...) that I specify in my JSP code and then display. Please help _

Re: Direct forward after 5 seconds

2000-10-02 Thread Manne Fagerlind
Add the following html tag to the page (I hope I remember the syntax correctly): Should work in all browsers. Regards, Manne -Original Message- From: Jim King [mailto:[EMAIL PROTECTED]] Sent: 02 October 2000 16:53 To: [EMAIL PROTECTED] Subject: Direct forward after 5 seconds Guys, I

Re: Shopping Cart

2000-10-02 Thread Carlos Vasquez
I am building a shopping cart that will run under WebSphere, Weblogic and JRun. Of course each will require some configuratio on the application server. The shopping cart will be completely finalized by the end of this week. If you are interested in purchasing it please contact me and we will d

Re: Converting int to String on a JSP page

2000-10-02 Thread Rajnish Bhaskar
Hi Lorena > Can anybody tell me which function could to convert a variable from int to > String on a JSP page. If you're just printing the variable out, then you don't have to, just do: blah, text blah <%= intVariable %> more text blah And this will work, but if you want to convert the int to a

Re: Converting int to String on a JSP page

2000-10-02 Thread Dan Lopez
I have relatively the same question. If I query smalldatetime from one of my tables, how do I do arithmetic with that date. Do I have to convert the value of the date to an int? --- Duncan Rose <[EMAIL PROTECTED]> wrote: > The same one you'd use anywhere else in Java - > String.valueOf(int

Re: Converting int to String on a JSP page

2000-10-02 Thread Lee Turner
String s = Integer.toString( intValue ); Lee > -Original Message- > From: Lorena Carlo [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 07, 1999 3:43 PM > To: [EMAIL PROTECTED] > Subject: Converting int to String on a JSP page > > Hi all, > > Can anybody tell me which function c

Re: Converting int to String on a JSP page

2000-10-02 Thread Duncan Rose
The same one you'd use anywhere else in Java - String.valueOf(int). As in: ... int var = 1; String stringified = String.valueOf(var); %> Stringified value == <%= stringified %> ... -Original Message- From: Lorena Carlo [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 07, 1999 3:43 PM

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Martin Cooper
No. People like Sufi don't deserve a break. It's people like them that cause thousands of people to have to wade through hundreds of off-topic messages every week. If time is money, how much do you think all that wasted time might be worth? If all the questions on this list were specifically rela

Direct forward after 5 seconds

2000-10-02 Thread Jim King
Guys, I want to do this: after I click ok on the first page, I want to show the result of my request (page 2) then after 5 seconds forward to another page (page 3) using (). Does any one know how to do that? Thanks in advance, __

Converting int to String on a JSP page

2000-10-02 Thread Lorena Carlo
Hi all, Can anybody tell me which function could to convert a variable from int to String on a JSP page. Thanks in advance Lorena === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevan

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Manne Fagerlind
Tom, I don't think it's just the range of subjects that Sufi covers that gets on people's nerves, but also the fact that he never seems to try to find the answers to questions himself. I agree that he should at least read the FAQs and a book about JSP first. And I, too, get irritated when the lis

Re: To: Sufi "ASK ANYTHING" Malak

2000-10-02 Thread Tom Preston
Guys, get over yourselves. Give Sufi a break. If the only questions asked in this forum were JSP specification questions, the list be almost non-existent. SQL, Java, Javascipt, HTML, and app servers are all part of practical jsp programming. >I ran a search on the mail I've received from this

Re: How to force a page to Reload ?? please help!!

2000-10-02 Thread Stefan Bushev
to make the page reload use the javacript and a form like: <% if (1stLoad) { %> foo.submit(); <% } else { ... %> >From: Geeta Kottapalli <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subjec

Re: Jsp With XML

2000-10-02 Thread Dan Lopez
Take a look at Pager Taglib from http://www.jsptags.com -D --- Pranav Bansal <[EMAIL PROTECTED]> wrote: > Hi all, > Could anyone tell me the way for using XML > as middle tier with Jsp > Application? > Let me explain you that what I want to Do. I have a > jsp page at which I have > som

Re: Servlet or JSP

2000-10-02 Thread Manne Fagerlind
Well... if you think the customer is malicious, and he or any of his consultants knows what he's doing, using servlets won't help you. There are excellent decompilers on the market... If you use Java you'll just have to trust your customer... :-) Regards, Manne -Original Message- From:

Re: servlet into jsp

2000-10-02 Thread Manne Fagerlind
Hi Alex, Use a dynamic include: Regards, Manne -Original Message- From: Alejandro López [mailto:[EMAIL PROTECTED]] Sent: 29 September 2000 21:22 To: [EMAIL PROTECTED] Subject: servlet into jsp Sorry I´m a new jsp programmer, this is a simple question. Can somebody tell me how I can

Re: Servlets and JSP,Could they interact together?

2000-10-02 Thread Manne Fagerlind
Yes. However, if I've understood the specs correctly, there is no support for using a RequestDispatcher object to do it (although the engine you happen to be using may support it). Please correct me if I'm wrong, anyone! What you can do is use the sendRedirect() method in the HttpServletResponse

Re: How Do I display Java Gui Objects on a browser with JSP?

2000-10-02 Thread Cogley, Jonathan
Charbel, The only way to run Java code on the client browser is in the form of an applet. So you will need to create an applet and you will also need to ensure that the swing classes are installed on the client... You may want to look at running the Sun VM or getting the user to download the JRE

Re: Shopping Cart

2000-10-02 Thread subramanian Athimoolam
please tell me the correct url. thanks subu _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.

Shopping Cart

2000-10-02 Thread Marcel van Kooy
> Hi all, > > I'm looking for a Shopping Cart system, written in Java and JSP. > Does anyone has an example or knows where I can find this? In the most > JSP sites I couldn't find it. > > Thanx already! > > Regards, > Marcel van Kooy > =

Re: Shopping Cart

2000-10-02 Thread Alan Goodenough
try store.swrt.com this was written using JSP and beans, running on JRUN Alan Goodenough Web Developer Domino The Digital Agency -- Tel: 01865 821821 - Original Message - From: "Marcel van Kooy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Shopping Cart

2000-10-02 Thread Marcel van Kooy
Hi all, I'm looking for a Shopping Cart system, written in Java and JSP. Does anyone has an example or knows where I can find this? In the most JSP sites I couldn't find it. Thanx already! Regards, Marcel van Kooy === To u