I got this code and there is error, i dont get this error meaning, there are quotes closed tags are closed, like Multiple annotations found at this line: - Attribute "<% } else { %>" has no value - Missing quotes for attribute value
What I find shocking is that people are still using Java code in JSPs at this point. Why are you not employing the JSTL and EL for this?
In any case, I copied the code to my system and it runs just fine on Tomcat 5.5. I suspect that you are not showing us the actual code that is causing the problems. [ September 03, 2008: Message edited by: Bear Bibeault ]
oh this the full code, i took this code from book JSP, so your talking this isn't right way of using jsp? But then you need to recommend some better book
Perhaps it would be best to show us the exact error message that you are getting (be sure to use CODE tags to preserve formatting). I'm still doubting that you are showing us accurate code or error text as the they don't match up,
Here is current layout of folders: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\WebTest\WebRoot - main dir made by eclipse web project, here are jsp files
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\WebTest\WebRoot\WEB-INF - here are classes located, also lib folder, and off curse web.xml
Your WEB-INF must be in the root folder of the web app. You've got it buried one level too deep.
You're just guessing at this point. Please stop and actually read about how to properly structure a web application in the Servlet Specification or the Tomcat docs. [ September 06, 2008: Message edited by: Bear Bibeault ]