Thibaut Lassalle wrote:

User currentUser = (User) request.getSession().getAttribute(ControllerConstant.USER); currentUser.getLastName();//nullPointerExeption if user not logged.

*shudder*

what is the taglib i have to use in my jsp in this case ?
is that the most efficience way to do it ?

In a nutshell, you'll probably want to define an ActionForm to capture form data, populate the form with the data from the database, and use the struts-html tags to create the form.

I think you should look at some of the basic Struts examples.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to