Using JSP and JSTL in Eclipse

Using Java Servlets and JavaServer Pages (JSP) within Eclipse is a breeze. Just make sure you create a Dynamic Web Project. Create a new Servlet by rightclicking Deployment Descriptor | Servlets and select New | Servlet.

However, using JavaServer Pages Standard Template Library (JSTL) requires you to add the jstl.jar to the project's build path and to its WEB-INF/lib directory, so that it will be deployed to your app server along with the rest of the code. Unfortunately, I messed up by importing the jar file and saved it without the .jar extension. Doublecheck you do this properly or you will waste time.

Kommentarer

Populære innlegg fra denne bloggen

5 generations of computer languages

DOJO kamptyper [forbedre egen kompetanse]

Generations of text formats