facebook

Problem with the Struts Example Tutorial

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #210511 Reply

    soltrinox
    Member

    Problem with the Struts Example Tutorial

    I followed it very closely…anyone ever see problems with this tutorial getting the value submitted as a null value or the object java namespace of the “name” session object.

    I was wondering if any has this issue before or currently with

    Resin 3.0.8
    Eclipse 3
    Myeclipse 3 beta
    Jdk 1.4.1

    Any ideas why this is happening?

    #210512

    Riyad Kalla
    Member

    Hmm, sounds strange. I wonder if it is something subtle… are these problems reproducable for you or does it work sometimes and sometimes not?

    #210731

    soltrinox
    Member

    Well the example is always giving me back a null value.

    I have used the the request like this

    request.getSession().getAttribute(“email”);

    and then returned it from the Action forward like this

    return mapping.findForward(“success”);

    is there a way for me to output everything in the session from my jsp, since my login.do seems to come up with a null value for the session value email.

    #210735

    Riyad Kalla
    Member

    IIRC the email or name I believe it was from the demo was stored in the request, not the session… try removing the “getSession()” part of that code.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem with the Struts Example Tutorial

You must be logged in to post in the forum log in