File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Nested .tag files problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Nested .tag files problem" Watch "Nested .tag files problem" New topic

Nested .tag files problem

Mark Thomsit

Joined: Apr 01, 2008
Posts: 5

I am trying to create nested tag files but even though they both work in isolation (commenting out the parent or child) they fail when one is nested inside the other.

The tags are packaged in a jar inside my WEB-INF/lib. The jar includes two tag files in META-INF/tags/form and a tld in the META-INF directory. The tags are called actions.tag (parent) and action.tag (child) and are as follows:





Using both tags together gives this exception which gives me no real clues.

Can anyone see what might be wrong?

Thanks in advance
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

The message doesn't seem to match your JSP code much, does it?

I've moved this over to our Websphere forum where those more savvy regarding WS quirks may be able to help.

[Asking smart questions] [About Bear] [Books by Bear]
Mark Thomsit

Joined: Apr 01, 2008
Posts: 5
As a follow up, I've tested with an extremely simple example which uses no attributes and get the same problem.

outer tag - testbody.tag

inner tag - another.tag

calling jsp - new.jsp

Mark Thomsit

Joined: Apr 01, 2008
Posts: 5
sorry - part of the JSP code was missed:

I agree. Here's the link:
subject: Nested .tag files problem
It's not a secret anymore!