You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nirmala Dhara <ni...@genussoft.com> on 2005/08/31 21:15:53 UTC
resource not found error
Hi,
I am new to struts. I tried http://www.reumann.net/struts/lesson1.do example
with tomacat. I am getting error
"The requested resource (/nstart) is not available.", when I tried to run it
(http://localhost:8080/nstart)
tocat -- 4.1 version
struts -- 1.2.7 version
I am able to run another application using tomcat and that works fine
(http://localhost:8080/transfer/login.jsp)
My web.xml ( in $tomcat_home$/webapps/nstart/WEB-INF/web.xml) file contains
tags as
<!-- tag libs -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>jstl/c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
Thanks,
Nirmala
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: resource not found error
Posted by Swapnil Patil <sw...@gmail.com>.
Hi Nirmala,
You might have some errors in struts servlet mapping.
check your web.xml with
http://www.reumann.net/struts/lesson1/step7.do
.
On 9/1/05, Nirmala Dhara <ni...@genussoft.com> wrote:
>
> Hi,
> I am new to struts. I tried http://www.reumann.net/struts/lesson1.doexample
> with tomacat. I am getting error
> "The requested resource (/nstart) is not available.", when I tried to run
> it
> (http://localhost:8080/nstart)
> tocat -- 4.1 version
> struts -- 1.2.7 version
>
> I am able to run another application using tomcat and that works fine
> (http://localhost:8080/transfer/login.jsp)
>
> My web.xml ( in $tomcat_home$/webapps/nstart/WEB-INF/web.xml) file
> contains
> tags as
>
> <!-- tag libs -->
> <taglib>
> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
> </taglib>
>
> <taglib>
> <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
> </taglib>
>
> <taglib>
> <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>jstl/c</taglib-uri>
> <taglib-location>/WEB-INF/c.tld</taglib-location>
> </taglib>
> Thanks,
> Nirmala
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>