aspose file tools*
The moose likes JSP and the fly likes First (Semi-real) JSP and Error Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "First (Semi-real) JSP and Error Message" Watch "First (Semi-real) JSP and Error Message" New topic
Author

First (Semi-real) JSP and Error Message

Elton Hughes
Ranch Hand

Joined: Jun 19, 2003
Posts: 72
Hello All,

I and learning about JSP and Servlets. I am using the book "Beginning JSP 2" from Apress as my guide. The servlet container I am using is Tomcat 5.0.28. I have been following the examples in the book and things are going well. As an experiement I decided to modify an example in the book an access our MS SqlServer database. Unfortunately, I am getting the following error:

org.apache.jasper.JasperException: /Grant201Active.jsp(1,5) Invalid directive

Here is my program (with IP, user, and password x'd out):



Any thoughts?

Thank you for your time and patience.

Elton
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1018
You have misspelled "taglib"

Also if you have Tomcat5, you should be using JSTL1.1, and have a web.xml that is version2.4. Check the FAQ entries
http://faq.javaranch.com/view?JstlTagLibDefinitions
http://faq.javaranch.com/view?ServletsWebXml

Elton Hughes
Ranch Hand

Joined: Jun 19, 2003
Posts: 72
Hello Stefan,

Thank you!

LOL, I think I was looking at it too long. Sometimes the silliest of errors are the hardest to see with a tired set of eyes.

Thanks!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: First (Semi-real) JSP and Error Message