This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes EL problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "EL problem" Watch "EL problem" New topic
Author

EL problem

preeti k sharma
Greenhorn

Joined: Jan 27, 2009
Posts: 3
Hi ,

I am facing a problem calling a java method using EL.

i have a TLD that has a function block. the structure of my tld goes like this


the jsp has the following syntax


When I try to run the jsp with the text as above .. i get an error that uri cannot be resolved. I assume it could be tld but the Tld is in WEB-INF with all the other ones that I can call successfully. Any ideas what could be causing this.

Any help appreciated..
tx
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

I assume you have all the other required elements in your TLD?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

I'd also use a properly formatted URI.
preeti k sharma
Greenhorn

Joined: Jan 27, 2009
Posts: 3
Hi Bear,


thanks for replies. As you can see.. i have updated my message.
- i am using all the required stuff in tld
- the URI is properly formatted in my actual tld but I cant disclose it for obvious reasons.


cheers!


preeti k sharma
Greenhorn

Joined: Jan 27, 2009
Posts: 3
well that worked. It was a minor syntax error.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EL problem
 
Similar Threads
Error : Mandatory TLD element jsp-version missing
Creating and populating a List of javaBeans in a JSP w/o using scriptlets
syntax for sending a jsp hashmap variable to a jsp method
Doubts in Writing TLD
Should each TLD be in different *.tld file ?