| Author |
Display firstName and lastName in banking example
|
Jeremy Taylor
Greenhorn
Joined: Mar 18, 2004
Posts: 8
|
|
What's the trick to displaying firstName and lastName in the Jakarta Struts Banking example. If you login as 123, your firstName and lastName should be set to John Doe. How do you display that? I've used code from the store front example app, but it's doesnt work. Here is the code I'm using. <logic:present name="UserContainer" property="userView" scope="session"> <b>Welcome <bean:write name="UserContainer" property="userView.firstName" scope="session"/></b> </logic:present> [ May 20, 2004: Message edited by: Jeremy Taylor ]
|
 |
Nicholas Cheung
Ranch Hand
Joined: Nov 07, 2003
Posts: 4982
|
|
Which example you are referring to? Where can I get the whole example? In addition, could you tell us what is the error? or problems you are encountering? Nick [ May 20, 2004: Message edited by: Nicholas Cheung ]
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
|
 |
Jeremy Taylor
Greenhorn
Joined: Mar 18, 2004
Posts: 8
|
|
Nick, It's the banking example app in Chapter 3 in the "Programming Jakarta Struts" book. The app isn't throwing an error, it just isn't displaying the firstName. Here is the link to the banking app. The login is hard coded to 123/456. http://examples.oreilly.com/jakarta/banking.war http://examples.oreilly.com/jakarta/banking-dev.zip [ May 20, 2004: Message edited by: Jeremy Taylor ] [ May 20, 2004: Message edited by: Jeremy Taylor ]
|
 |
 |
|
|
subject: Display firstName and lastName in banking example
|
|
|