I have many servlet applications on my Eclipse workspace... all of these apps have a lib folder... all of these lib folders contain those common jars that are used in servlet apps i.e. servlet-api.jar, jsp-api.jar, etc.
I was wondering if this was good practice. Because, these jars are already present in the <Tomcat Home>\lib location. How bout just referencing these from the server's original location? I'm guessing it would NOT cause portability issues, cos all tomcat folder structures have the lib in the same location...
Yes, you don't need to put servlet-api and jsp-api along with other jars that are provided by the implementation in lib folder.
You can directly refer them in your build path, or create a user library with required jars and add the library to projects build path
You can create user library from windows > preferences > java > build path > user libraries