aspose file tools*
The moose likes JSP and the fly likes Unable to display the content in array(created in the servlet)using JSP! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Unable to display the content in array(created in the servlet)using JSP!

Bhaskar Singh
Greenhorn

Joined: Jul 23, 2005
Posts: 15
First of all I would like to apologize for the previous posting! I am using Sierra and Bates Head First Book.
I like to display ,the strings created in a string array in a servlet, in a JSP page. Here's the code straight from the book:
In the servlet:


The JSP code:


Problems:
1)The only thing it is displaying is Music is :;instead of Music is :zero1;. However, the code compiles fine!
FYI: I am using JBuilder 2005.
It would be a great if you could advise me some necessary/additional steps that I have to take to display it correctly so that I can go onto other examples in the book.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61768
    
  67

Bhaskar, please do not start multiple posts for the same question.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to display the content in array(created in the servlet)using JSP!