File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes jsp bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp bean " Watch "jsp bean " New topic
Author

jsp bean

brutus tcr
Greenhorn

Joined: Nov 09, 2005
Posts: 1
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

Joined: Jan 10, 2002
Posts: 61206
    
  66

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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

Joined: Nov 15, 2004
Posts: 1026
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.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp bean