Re: Again! Location of JSP page the Taglib is executing in (reallyStuck on this one, PLEASE HELP).

2002-08-28 Thread Shawn Bayern
Interestingly enough, I'm inclined to think the answer is no. Even if there's some creative way of doing it that eludes me, you're still not even guaranteed to *have* a filesystem at runtime. So at best, a solution would be implementation-specific or container-specific. What do you need this

Re: Again! Location of JSP page the Taglib is executing in (reallyStuck on this one, PLEASE HELP).

2002-08-28 Thread Mark R. Diggory
I want my taglib to be able to resolve files relative to the jsp page its within. Unfortunately, the servlet-mapping seems to get in the way of this. I thought Tim's response was interesting so I tried it but I'm getting wierd responses (jndi: contexts) instead of filesystems. I'm thinking,

Re: Again! Location of JSP page the Taglib is executing in (reallyStuck on this one, PLEASE HELP).

2002-08-28 Thread Mark R. Diggory
This gives me an interesting URL in return, I assume this is out of Tomcats JNDI Context. %java.net.URL theUrl = pageContext.getServletContext().getResource(/);% %=theUrl.toString()%BR returns jndi:/localhost/Taglib/ Not quite there, Is there a way to get Tim Kettering wrote: Um, this code