Unable to display the content in array(created in the servlet)using JSP!
posted 11 years ago
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.