• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installed tomcat 7 can get html to work, not jsp

 
Steve O Smith
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made a folder called myApp and put a page index.jsp inside. I copied and pasted WEB-INF from ROOT to myApp. The contents of the jsp are the following:



I get this error:
HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

A further message states:
The server encountered an internal error (The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application) that prevented it from fulfilling this request.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you drop the JSTL jar files into WEB-INF/lib?
 
Steve O Smith
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Did you drop the JSTL jar files into WEB-INF/lib?


No, why would I do something useful like that?

But unfortunately that didn't change things. I made the folder lib in WEB-INF and then put jstl-1.2.jar in it and then opened up http://localhost:8080/myApp/ but to no avail.

Do I need to restart the server or something similar?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic