?
Solved

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

Posted on 2011-02-14
3
Medium Priority
?
2,668 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
2 Comments
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

569 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