• 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

What does this mean in a JSP?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a JSP that has lines like this:



Later they reference it like this:




It looks like that is just a way to populate something from some Java class. In this case you get CSArea objects.

Is it as simple as that? Can I just write a class that also returns CSArea objects, or does the "context" mean I have to do something special?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is not a standard JSP action. You'll need to let us know what library it is from.
 
Craig Treptow
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:That is not a standard JSP action. You'll need to let us know what library it is from.



Thank you. I think you just helped me. Since the JSP also has this:



It must be coming from one of those. So I should be able to look and see what is going on?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe, maybe not. The declaration that defines the library is:

<%@ taglib uri="/WEB-INF/tlds/context.tld" prefix="context" %>

If there isn't any documentation in the TLD, it may not be all that helpful.

You have no idea where these TLDs came from? If they're defined by your project, you should be able to find the classes that implement the tags.
 
Craig Treptow
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a vendor application that I'm enhancing. So, these came from the vendor and are used by the vendor. The .tld files do contain some information and usually an example like this:


So, hopefully, I can figure out how to put them to use.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, I'm impressed. Most vendors don't bother with that level of detail. Hope it all helps you out!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic