Solved

Eclipse Version: 3.6.0 'The import javax.servlet.jsp.JspWriter cannot be resolved' error

Posted on 2011-02-14
3
2,271 Views
Last Modified: 2012-05-11
I am running eclipse and all of my .jsp code is uncompiled because of an error stating 'The import javax.servlet.jsp.JspWriter cannot be resolved'.  I am trying to add servlet-api.jar and jsp-api.jar from my Tomcat 6.0 library to my ecipse project, thinking this may be my problem.  Where in the Project am I able to do this?
0
Comment
Question by:cookiejar
3 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 34889659
goto properties --> java build path --> Add library --> web app libraries
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34890892
include jsp-api.jar in the classpath(web-inf \lib)
Check related jar files
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now