StackOverflowError

2000-06-02 Thread Liza J Alenchery
Hello people I am using recusrion to fill up a combobox with strings in my JSP program. It works fine when the number of strings is less, but throws a StackOverflowError when the number of strings is 600 or more. I found in the documentation that StackOverflowError means that "an application recu

Extending script timeout.

2000-06-01 Thread Liza J Alenchery
Do I need to extend the timeout property if my JSP does a lot of processing? How do I do that? (equivalent to server.scripttimeout). Also how can I prevent the browser from timing out? thanks in advance. liza __ Do You Yahoo!? Send instant message

Re: Problem with variables.

2000-05-31 Thread Liza J Alenchery
e. It is very > difficult > to get right. > > As a postscript, the syntax <%! var++ %> is incorrect and as far as > I know > won't compile. The <%! %> scriplet tag is for creating class > declarations > and the syntax of the following is incorrect: > > publ

Problem with variables.

2000-05-31 Thread Liza J Alenchery
I have declared a variable in my JSP page as <%! int var = 0 ; %> and somewhere else, I do <% var ++ ; %> and also <%! var++; %> The problem is that when each time I come to the page in the browser, the previous values are held in the integer var. It does not get reset to 0. What is happening he

Add string to string array.

2000-05-30 Thread Liza J Alenchery
How can I create an array of strings and assign a new string to the array in a loop? String[] sArray ; for (int i = 0; i < 10;i++) { sArray[i] = "apple" ; } The code fragment above does not work. But this is what I need to do. Add strings to a string array at runtime. thanks in advance liza

Re: Functions in JSP - Thanks

2000-05-30 Thread Liza J Alenchery
for the answers. liza --- squeijo <[EMAIL PROTECTED]> wrote: > You can do this: > > 1º define de function into tht tags <%! ... %> at the begining of > your jsp > page, like this: > ><%! > String func() { > return "Hello"; > } >%> > > 2º And use the function in your s

Functions in JSP

2000-05-30 Thread Liza J Alenchery
Hi Can I write a function in a JSP file directly? eg: <% void func() { out.println("Hello") ; } func() ; %> If not, what is the reason? I see that I can do the following: <% class myclass { void func() { out.println("Hello") ; } } myclass x = new myclass() ; x.func() ; %> thank

Unable to set up Visual Age with Tomcat.

2000-04-18 Thread Liza J Alenchery
I am trying to run Visual Age and Tomcat. Tomcat runs by itself properly. But when I try to make tomcat run from within Visual Age, it is not working. I followed the steps given at http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocument. Things did not happen the way explained in the

<%@ include file ="filename" %> problem

2000-04-12 Thread Liza J Alenchery
Hi I have a jsp file(file1.jsp) which has a <%@ include file ="file2.jsp" %> in it. I am getting compilation errors saying that the beans that I included in file1 cannot be seen in file2. So I put in file 2. Then I get the error 'Cannot forward as OutputStream or Writer has already been obtain

Re: Request.getParameter() question

2000-04-03 Thread Liza J Alenchery
U get an array of strings. Loop through the array. I think this is the way to do it. Pls correct me if I am wrong. String[] theArray = Request.getParameter("comboname"); for (int i = 0; i < theArray.length; i++) { what u need. } liza - Original Message - From: "Portal

Re: How can I get working Servlets and JSP in my IIS?

2000-03-23 Thread Liza J Alenchery
I installed JRun and JSP works with IIS now. I have not done the configuration mentioned below and it's working fine. Infact I checked the configuration of the default web site as well as the global configurations, but cud not find this jsp mapping. Wonder where it is? Is my IIS doing somethin

Re: JSP on Linux

2000-03-20 Thread Liza J Alenchery
Hi When I 'Reply to' mails that I get from this list, the address of the individual is filled in the 'From'. Any way to change this setting? rgds liza - Original Message - From: "M. Simms" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 20, 2000 5:00 PM Subject: Re: JSP o

Newbie-HELP!

2000-03-20 Thread Liza J Alenchery
Hi I am a Windows programmer who suddenly needs to write some JSP. Pls tell me how to get started. I have a NT Server with IIS 4.0. What r the installations and configuration I shud do. I am trying to see at the sun site, but is finding it confusing. thanks liza __