JSP BasicsBeginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I was having problems with this and then discovered that with the version of Tomcat that I am using ( 5.0 ), the commons/lib directory does contain the servlet-api.jar, however, when I opened it to check if it contained the jsp directory, it did not. I then found jsp-api.jar in the same directory and I believe this is the archive that contains the required files.
Hi i have both jsp-api and servlet-api in my common lib directory though i am still having problem when i am trying to compile a java file with import javax.servlet.jsp.*. I will greatly appreciate if any one can let me know what i am doing wrong.
I also faced the same problem.
I copied the following jar files in the compile path
javax.servlet.jar
javax.servlet.jsp.jar
jboss-j2ee.jar
servlet-api.jar
I think jboss-j2ee.jar is the one which is needed along with other jar files.
Hope this helps