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
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
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
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
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
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
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