Re: JSP Servlet Error with GNUJSP 1.0.0

1999-11-11 Thread Larry Fluckiger
I had a similar problem. I think what fixed it was removing the spaces from the scratchdir path definition. Try this: servlet.org.gjt.jsp.JspServlet.initArgs=scratchdir=c:/Progra~1/Apache~1/Apac he/htdoc/scratchdir I think the gnujsp author mentioned that he had heard gnujsp won't work with JDK

Re: Indexed properties / iterating through arrays

1999-11-15 Thread Larry Fluckiger
Here's an example from a .jsp file: <%@ page import = "some.package.name.VpnHostsBean" %> ... <% for (int i = 0; i < vpnHosts.getNumHosts(); i++ ) { %> <%= vpnxHosts.getName(i) %> <%= vpnHosts.getAddress(i) %> <% } %> ... Here's part of the ass

Re: JSP Books

1999-11-16 Thread Larry Fluckiger
David Geary wrote: > I am working on a JSP > book, and I would love to hear from members of this list privately via email > as to your experiences with JSP and what you would like to see covered in > the book. Let me state publicly, rather than privately, what I want to see in a JSP book. There

Re: JSP 2.0 sunexamples.beans.* located in what jar file?

1999-11-17 Thread Larry Fluckiger
Rick Sample wrote: >Is there some way/tool that I can tell what JAR file these classes/beans are in? I don't know where those classes are, but you can use jar to list the classes in a .jar file, as follows: jar tvf On Unix, combine it with grep: jar tvf | grep sunexamples.bean

Re: class not found: org.apache.jserv.JServ in Apache Web Server

1999-11-23 Thread Larry Fluckiger
Jia-yu Sun wrote: > When I start Apache web server, I got "class not > found: org.apache.jserv.JServ" in error.log. The > setting in jserv.properties looks correct: Since your path names have spaces, try enclosing them in quotes, as follows: wrapper.bin="c:\program files\javasoft\jre\1.1\bin\jre

Re: <%=numresponses/numrequests*100 %>

1999-11-29 Thread Larry Fluckiger
Nicholas Barrington wrote: > Float f = 4 / 8; > Integer i = f * 100; > Integer i = ((float)(4 / 8)) * 100; This code won't compile. Even if the java compiler could compile it, it would still produce the wrong answer for the same reason. This is because 4 / 8 is still 0, so f would contain 0.0, an

Re: Indexed Properties

1999-12-16 Thread Larry Fluckiger
Casey Bragg wrote: > Does anyone know how to use indexed properties? > > I want the elements of my HTML form to be able to set > properties in a bean > without having to specify the exact name of the property. > [...] I posted a response to a similar question last month. In that posting, I sugges