• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp bean

 
brutus tcr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to insert and display the string of array from bean class by using jsp set and get property
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"brutus tcr",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by brutus tcr:
How to insert and display the string of array from bean class by using jsp set and get property


Or array of string?
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the return type of the Bean Property is other than a String (OR) primitive type you cannot use bean standard action tags. You got to use either scriptlets which is ugly is JSP Page the only other option would be EL Expressions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic