This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What does this mean in a JSP?  RSS feed

 
Craig Treptow
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!