Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 21st, 2006, 02:36 AM
Authorized User
 
Join Date: May 2006
Location: banglore, karnataka, India.
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default <jsp:useBean> action problem

hi i have written the following code

Code:
<jsp:useBean id="obj" scope="session" class="employee.EmpDetails" />

<jsp:getProperty name="obj" property="iEmpCode" />
<jsp:getProperty name="obj" property="strEmpName" />
.
.
.
.
<jsp:getProperty name="obj" property="iDepCode" />
<jsp:getProperty name="obj" property="strDepName" />
the problem i am facing is that the employee code and name is displayed and some other data but some other data say the department code and name are not displayed.

if i use scriplets i see that all the data can be obtained but using the <jsp:getProperty/> tag i face some probelem

The code above is just an example. i have not included the actual code.

Thanks for ur help
Reply With Quote
  #2 (permalink)  
Old August 21st, 2006, 04:23 PM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Seems like you have a typo somewhere ... there shouldn't be anything tricky, except for perhaps capitalization.

Jon Emerson
http://www.jonemerson.net/
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help. mr_newreq.jsp:78: jsp:useBean can't f batken JSP Basics 0 February 22nd, 2006 09:56 PM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 07:01 AM
a problem in book<<beginning asp.net using vb>> luoware ASP.NET 1.0 and 1.1 Basics 3 December 8th, 2003 09:32 PM
<jsp:setProperty /> pedersen JSP Basics 3 September 30th, 2003 08:03 AM



All times are GMT -4. The time now is 05:12 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.