jaggiebunnet
Programmer
Hi there,
I am new to struts and java and so was working through an example on setting up a basic struts application with a book from Wrox called Beginning JSP 2.0
Everything is fine and compiles etc but when I try to run the index.jsp page I get the error:
org.apache.jasper.JasperException: This absolute uri ( cannot be resolved in either web.xml or the jar files deployed with this application
I have reread the book and there are no jarsI am missing when I copy them from struts and there is no mention of putting anything in the web.xml as i have seen in other examples.
Can anyone help - the full code of index.jsp is below:
<%@page contentType="text/html"%>
<%@taglib prefix="template" uri="<%@taglib prefix="bean" uri="
<template:insert template="/templates/default.jsp">
<templateut name="title">
<bean:message key="home.page.title"/>
</templateut>
<templateut name="content">
<template:insert template="/templates/portal.jsp">
<templateut name="title[1]">
<bean:message key="home.booksinprogress.title"/>
</templateut>
<templateut name="portlet[1]"
content="/content/pagelist.jsp?status=I"/>
<templateut name="title[2]">
<bean:message key="home.plannedbooks.title"/>
</templateut>
<templateut name="portlet[2]"
content="/content/booklist.jsp?status=P"/>
<templateut name="title[3]">
<bean:message key="home.booknews.title"/>
</templateut>
<templateut name="portlet[3]"
content="/content/booknewslist.jsp"/>
</template:insert>
</templateut>
</template:insert>
Thanks
Jaggie
I am new to struts and java and so was working through an example on setting up a basic struts application with a book from Wrox called Beginning JSP 2.0
Everything is fine and compiles etc but when I try to run the index.jsp page I get the error:
org.apache.jasper.JasperException: This absolute uri ( cannot be resolved in either web.xml or the jar files deployed with this application
I have reread the book and there are no jarsI am missing when I copy them from struts and there is no mention of putting anything in the web.xml as i have seen in other examples.
Can anyone help - the full code of index.jsp is below:
<%@page contentType="text/html"%>
<%@taglib prefix="template" uri="<%@taglib prefix="bean" uri="
<template:insert template="/templates/default.jsp">
<templateut name="title">
<bean:message key="home.page.title"/>
</templateut>
<templateut name="content">
<template:insert template="/templates/portal.jsp">
<templateut name="title[1]">
<bean:message key="home.booksinprogress.title"/>
</templateut>
<templateut name="portlet[1]"
content="/content/pagelist.jsp?status=I"/>
<templateut name="title[2]">
<bean:message key="home.plannedbooks.title"/>
</templateut>
<templateut name="portlet[2]"
content="/content/booklist.jsp?status=P"/>
<templateut name="title[3]">
<bean:message key="home.booknews.title"/>
</templateut>
<templateut name="portlet[3]"
content="/content/booknewslist.jsp"/>
</template:insert>
</templateut>
</template:insert>
Thanks
Jaggie