Hi GNUJSP users on this list.

I don't think the majority of listeners will be interested
in GNUJSP specific configuration, bugs etc.
If you hav problems or questions regarding
GNUJSP which are of no general interest to this list, please
ask them on

        [EMAIL PROTECTED]

.
Now to your question:
        You didn't wrote what version of gnujsp you are using.
        Please use a current gnujsp cvs snapshot if its 1.0b6.

>I have a LoginServlet where after authenticating my user I do this:
>
>HttpSession session = req.getSession(true);
>User u = new User(id, password);
>session.putValue("user.id", u.getId());
>session.putValue("user.email", u.getEmail());
>session.putValue("user.phone", u.getPhone());
>session.putValue("user.groups", u.getGroupsAsString());
>
>then I redirect the request to the main JSP page where I have a
>scriptlet like this:
>
><%
>String id = (String)session.getValue("user.id");
>String email = (String)session.getValue("user.email");
>String phone = (String)session.getValue("user.phone");
>String group = (String)session.getValue("user.groups");
>out.println("<tr><td bgcolor=\"#E0E0E0\"
>width=\"25%\"><b>"+id+"</b></td>");
>out.println("<td bgcolor=\"#E0E0E0\"
>width=\"25%\"><b>"+email+"</b></td>");
>out.println("<td bgcolor=\"#E0E0E0\"
>width=\"25%\"><b>"+group+"</b></td>");
>out.println("<td bgcolor=\"#E0E0E0\" width=\"25%\"><input type=text
>value=\""+phone+"\"></td></tr>");
>%>
>
>All these values appear as null in the JSP page. What am I doing wrong?
>I am using Apache 1.3.9, JServ 1.1 and GNU JSP 1.0.
>
>Thanks,
>
>Anirban
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST"
.
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html

Ciao,
        Carsten Heyl
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to