I am implementing a project in struts in which I am getting an error in a JSP page.
I have already configured Tomcat 6, the JRE and JDK 6 in Eclipce IDE.
The code is:
%request.getContextPath()%
The error is:
The method getContextPath() from the type HttpServletRequest refers to the missing type String
How can I resolve this error?
You haven't added the JRE libraries to your IDE. Add it.