Mike Eghtebas
asked on
jsp tag error...
In the attached file, I have a jsp page giving an error (the error is also included in the attached txt file).
removing code, changing:
<% com.wrox.library.Book myBook = new com.wrox.library.Book("Beg ining JSP Web Development"); %>
Book Title:
<%= myBook.getTitle() %>
to
Book Title:
brings up the isp page but not with the code.
Question: Why am I getting the exception?
Thank you.
Error-html-class.txt
removing code, changing:
<% com.wrox.library.Book myBook = new com.wrox.library.Book("Beg
Book Title:
<%= myBook.getTitle() %>
to
Book Title:
brings up the isp page but not with the code.
Question: Why am I getting the exception?
Thank you.
Error-html-class.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points.
>Also I had out.print missing
No, actually you had
><%= myBook.getTitle() %>
which is fine. That is a JSP expression. <%="this will be printed %>
><% out.println(myBook.getTitl e()); %>
This is a scriptlet. Yes, use the print method.
>Also I had out.print missing
No, actually you had
><%= myBook.getTitle() %>
which is fine. That is a JSP expression. <%="this will be printed %>
><% out.println(myBook.getTitl
This is a scriptlet. Yes, use the print method.
ASKER
Also I had out.print missing
<% out.println(myBook.getTitl