Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
Bhaskar Singh
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Bhaskar, please do not start multiple posts for the same question.
 
    Bookmark Topic Watch Topic
  • New Topic