tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Bacon <billy.ba...@thirty3.net>
Subject Re: <c:import>
Date Wed, 17 Sep 2003 18:21:18 GMT
Awesome. That worked!

Thanks Kris!

- Billy -

On 9/17/03 12:05 PM, "Kris Schneider" <kris@dotech.com> wrote:

> Have you tried a context-relative path (starts with "/") to the page?
> 
> Quoting Billy Bacon <billy.bacon@thirty3.net>:
> 
>> It's a scoped variable. But I think the problem is elsewhere because even
>> this doesn't work for me and no exception is thrown...
>> 
>> <c:import url="myJspPage.jsp" />
>> 
>> Any ideas?
>> 
>> On 9/17/03 11:34 AM, "Kris Schneider" <kris@dotech.com> wrote:
>> 
>>> Is "xyz" only a scripting variable or is it also a scoped variable?
>>> 
>>> Quoting Billy Bacon <billy.bacon@thirty3.net>:
>>> 
>>>> Yes, I am importing the core library, I have plenty of other <c:> tags
>>>> within my jsp and they work perfectly that's why it confuses me that's
>> it
>>>> not working. Seems like a pretty simple tag to use.
>>>> 
>>>> Before trying to convert this to JSTL I had <bean:define> tag (from
>> Struts)
>>>> and a <jsp:include page="<%= xyz %>"/> tag and things worked
fine.
>>>> 
>>>> But now I get nothing...
>>>> 
>>>> 
>>>> On 9/17/03 10:38 AM, "Rick Ross" <rross@stupendousman.com> wrote:
>>>> 
>>>>> Make sure that you are clear on the differences between c:import
>>>>> jsp:include and @include they are all different and in my case the fact
>>>>> that the imported page has no knowledge of my context hosed me.
>>>>> 
>>>>> R
>>>>> 
>>>>> Billy Bacon wrote:
>>>>> 
>>>>>> I've looked through the archives and the suggested alternative for
a
>>>> dynamic
>>>>>> <jsp:include> reference is using the <c:import url="${xyz}"/>.
This is
>>>> not
>>>>>> working in my JSP. The tag is including nothing in my page. I've
even
>>>> tried
>>>>>> to give it a static reference to the jsp <c:import url="xyzPage.jsp"/>
>>>> and
>>>>>> still nothing. Does anyone know what's wrong?
>>>>>> 
>>>>>> - Billy -


Mime
View raw message