Trying to include struts tags in JSP

W

willirl

I have a JSP with some struts (html:xxx) tags in it and I'm trying to
<jsp:include> this into another JSP page. It appears that the file
gets included ok but the struts tags are not "expanded".

Is this something that is doable or is there another technique to do
this?
 
H

Heiner Kücker

willirl wrote
I have a JSP with some struts (html:xxx) tags in it and I'm trying to
<jsp:include> this into another JSP page. It appears that the file
gets included ok but the struts tags are not "expanded".

Is this something that is doable or is there another technique to do
this?

Try the page directive

<%@ include file = "xxx" %>


--
Heiner Kuecker
Internet: http://www.heinerkuecker.de http://www.heiner-kuecker.de
JSP WorkFlow PageFlow Page Flow FlowControl Navigation: http://www.control-and-command.de
Java Expression Formula Parser: http://www.heinerkuecker.de/Expression.html
CnC Template Technology http://www.heinerkuecker.de/Expression.html#templ
 
A

Andrea Desole

it should also be possible, depending on the type of include used, to
redeclare the taglib in the included page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top