• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

c:import

 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have 3 jsp-files: a.jsp, b.jsp and c.jsp

a.jsp contains:
<c:import url="b.jsp" />

b.jsp contains:
<c:import url="c.jsp" />

c.jsp contains some text and other struts-stuff

when i display a.jsp it's properly compiled and i get all the information that's needed (so the import in b.jsp is completed succesfully)

now i made a new tag in my own taglibrary because it has to do some things extra before import could happen.


in my tld i've got this entry:


when i have the same situation as above but instead of c:import i have aqf:import and other params that has to give in theory the same result as above, it doesn't import the import in b.jsp . so i get instead "<aqf:import param1="" param2="" />" as text in the jsp-file

when i change the import in a.jsp to <aqf:import ...> and in the b.jsp i don't change a thing it works also properly, also other struts-tags like logic:equal are succesfully managed.

Anyone with an idea how to get my own import-tag to get some iteration in importing ?
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
would some admin be so kind to close/delete this topic because i posted it under JSP because that's the place to be

thread could be found under this topic.

thanks anyway
 
catch it before it slithers away! Oh wait, it's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic