File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes c:import Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "c:import" Watch "c:import" New topic
Author

c:import

Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4905
    
  10

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 ?


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4905
    
  10

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: c:import
 
Similar Threads
Can't deploy code for taglibs on Tomcat 5.5
custom import tag
Changing the URL when using forward or redirect...
Custom Tags - Repeating Tags
Problem while Tag lib Up gradation