• 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

Problem with tag files

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

In /WEB-INF/tags/gridview/ I have 2 tag files: grid.tag and value.tag

I want to use value.tag inside grid.tag, so grid.tag is like this:

<%@ taglib tagdir="/WEB-INF/tags/gridview/" prefix="gridview"%>
...
<gridview:value/>
...

JDeveloper is giving compilation error.

Am I doing something wrong or this coul be a JDeveloper issue?

Thanks!
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please tell what exact the compiler reporting?
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
- Error(40): Couldn't instantiate tag gridview:value (class:_oracle._jsp._tag._gridview._value_tag). Be
- Error(40): Couln't find bean class: null defined by tag class: _oracle._jsp._tag._gridview._value_tag


Moreover, I have no problems using other tags from the same folder in JSPs
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moreover, <gridview:value/> compiles ok if I use it in a JSP.

Can a tag file be used in another tag file or just in JSPs?
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried this on Tomcat without problems. Can you show the full "Couldn't instantiate tag gridview:value " error message?
 
Xavi Sanchez
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just says "Be sure that the tag class is available"

I tried in Eclipse and worked so I think it is a JDeveloper issue...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic