Re: c:url and context path completion

Trenton Adams <[email protected]> Wed, 28 Nov 2007 15:02:51 -0700
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Hassan Schroeder wrote:
> On Nov 28, 2007 1:38 PM, Martin Cooper <[email protected]> wrote:
>
>   
>>> No, it's sitting in "webapps/appname/WEB-INF/jsp/otherdir/somejsp.jsp"
>>>       
>
>   
>> Well, that's very likely the cause of what you're seeing. Anything under
>> WEB-INF is not permitted to be accessed directly (i.e. from outside the web
>> app itself), so the context is irrelevant for such files, since it could
>> never be used to access them.
>>     
>
> Sorry, that's just not remotely true. Most of my apps are done that
> way, and JSTL, including <c:url .../>, works fine.
>
>   
Yeah, I was pretty sure it was working at one point.  I'm starting to 
wonder if it's the Mac, or maybe Apple's Java implementation.  I should 
go and try it on my Linux box again.  And, if it works, maybe I can try 
a fink installation of Java on my Mac. 
But first, I'm going to try a minimalized JSP webapp like you suggested 
before, because that's relatively quick, and I'm almost done.