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.
click on your project and go to build path configure updated jre path and Select the library type to add
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With