Hi!

I have two properties in a bean:

    private int pathLevel;
    private int pathlevel;

As you can see the first one has got a capital "L" and the second is all
lower case.

In a JSP page I wrote the following:

    <jsp:useBean id="formHandler" class="de.laudert.beans.Browser"
scope="session"/>
    <jsp:setProperty name="formHandler" property="pathLevel"/>
    <jsp:setProperty name="formHandler" property="pathlevel"/>

    pathLevel = <%=formHandler.getPathLevel()%>
    pathlevel = <%=formHandler.getPathlevel()%>

If I request the page via

    http://172.30.250.219:8082/browser.jsp?pathLevel=1&pathlevel=2

the property "pathLevel" (with capital "L") is _not_ set to 1. But
"pathlevel" (lowercase) is successfully set to 2.

Seems that the capital "L" is the problem here. Anybody?

bestWISHES

Ingo


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to