If you use <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
 in your jsp files, then you have to specify the mapping in your web.xml file since 
there is no /tags/ folder (in general)  since the *.tld normally located in /WEB-INF/ 
folder.
if you  use <%@ taglib uri="/web-inf/struts-logic" prefix="logic" %>  then if you move 
*tld to folder other than /WEB-INF/ then you have to change all of your JSPs

There is a better way to do it. Instead of doing as above, use following in your 
jsp,then you don't have to define the mapping in web.xml neither change your jsp

<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"; prefix="logic" %>





Jiin-Her Lu
(816) 926-2145

>>> [EMAIL PROTECTED] 01/30/04 06:17AM >>>
Thank you guys,

appartently it was just that in my index page i was reffering to
/tags/struts-logic
rather than /WEB-INF/struts-logic.tld The strange thing is that I did not
make ANY changes between deleting the temp file and reaccessing my app !

Theo

----- Original Message ----- 
From: "Ramachandran" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 5:03 AM
Subject: RE: File "/tags/struts-logic" not found


> Hi !
>          No problem will occurs by deleting the files in work folder. If u
> restarted the server then it will have new compiled files.
>         i thought your tld file for struts-logic is corrupted. So relace
> that one. It will work
>
> Ram
>
> -----Original Message-----
> From: shankarr [mailto:[EMAIL PROTECTED] 
> Sent: Friday, January 30, 2004 10:20 AM
> To: Struts Users Mailing List
> Subject: Re: File "/tags/struts-logic" not found
>
>
> Hi!
>
> I am not much aware of the application's temp directory part.
> But, it seems that you have accidentally deleted the struts-logic.tld file
> in WEB-INF folder.
>
> Richie
>
> At 01:26 AM 1/30/2004 +0000, you wrote:
>
> >Hi all,
> >
> >I had to delete my application's temporary directory in Tomcat's
> >\work\Standalone\localhost  because it was not running using my latest
> >compiled files. Now when I access my application I get the following
error
> >and I don't have a clue why that is so! Any ideas?
> >
> >Thank you for your time,
> >Theo
> >
> >HTTP Status 500 -
> >
>
>---------------------------------------------------------------------------
> -----
> >
> >type Exception report
> >
> >message
> >
> >description The server encountered an internal error () that prevented it
> >from fulfilling this request.
> >
> >exception
> >
> >
> >org.apache.jasper.JasperException: File "/tags/struts-logic" not found
>
> "To achieve all that is possible, one must attempt the impossible"
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to