Hi All,
Firstly apologies for my ignorance but I have tried Googling this issue to no avail and most resolutions seem to relate more to JSTL and Tomcat rather than JSTL and Glassfish.
Anyway, I am currently in the process of learning JSP (JSLT & EL) using Netbeans 6.9.1 and Glassfish 3 and have encountered an issue that I cant seem to resolve.
When I add the following line into my JSP page:
I get the following error message displayed in Netbeans:
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the JAR files deployed with this application
As ive already mentioned, most resolutions to this point to JSTL and Tomcat e.g. check your JSTL version and then download the relevant JSTL JAR files and put them in the WEB-INF/lib directory. However when I try and adopt this same approach with Glassfish, I dont seem to see a WEB-INF/lib directory, only a WEB-INF directory where I have put my .jsp files.
Nevertheless my questions are as follows:
1) As im using annotations, I havent created a web.xml file, which I assumed would be OK with the version of JEE im using. Does JSTL need a web.xml file to be present and configured to work correctly?
2) I cant seem to figure out how to locate the version of JSTL I am using within Glassfish. Can someone explain how I go about finding out what version of JSTL im using?
3) What is the directory path within Glassfish / Netbeans where I need to put my JSTL JAR files if I need to download them again?
4) Lastly, anyone got any idea how to solve this issue? :)
Any help with my questions & issues would be very much appreciated!
Regards
JP