Re: c:url and context path completion
Trenton Adams <[email protected]> Wed, 28 Nov 2007 15:30:45 -0700
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
Trenton Adams wrote: > I was sure that I had read somewhere that "<c:url > value="/images/pluslittle.gif"/>" usage would automatically cause the > context path to be entered into the output of "c:url". Is that not > correct? Because it's not working! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > I found the problem. I'm going like this... <c:set var="IMAGES" value="/images/"/> <img src="${IMAGES}/pluslittle.gif"/> Which ends up not working. So, I was right, it was working at one point. But, when I replaced "c:url" with "c:set", it OBVIOUSLY would quit working on me. But, since I was working on the default context, I never saw the problem. Now, I have changed "set" to "url", and it works just fine. Sorry for wasting everyone's time. AHHHHHH!!!! LOL. I probably would have caught this a few months ago, while I was "into it", but I haven't been doing development on that application for awhile now, so I think my brain was out.