First use of the Tomcat framework and Stripes

I recently decided to try Java development, so I installed xampp, tomcat addon and java. I've looked at some of the example JSP pages that came with it, so I know tomcat works at least. However, when I dropped the stripes folder into the same examples directory and tried to access the files, I got the following error.

org.apache.jasper.JasperException: absolute uri: http://stripes.sourceforge.net/stripes.tld cannot be resolved in web.xml or jar files deployed with this app

I am now starting to get started when it comes to using tomcat or jsp pages in general. I may have missed a few simple steps. I've searched the internet for hours and I haven't found a very good tutorial on how to set up and start using the frame. So let me know if you have any data or links to help me solve this problem and start coding.

+2


source to share


2 answers


Check out the Quickstart for Stripes. There is also a sample app included as part of the Stripes download.



Please note that you need to deploy this sample application as a web application in Tomcat (for example, copy the file war

to the Tomcat folder webapps

), you cannot just "dump the bar" into "examples".

+4


source


The specific problem is the missing jar file. As of Stripes 1.5.3, the error is slightly different:

org.apache.jasper.JasperException: Absolute uri: http://java.sun.com/jsp/jstl/core could not be resolved in either web.xml file or jar files with this application



I copied the jstl.jar and standard.jar from the lib examples to my lib application and the application was launched after that.

0


source







All Articles