| Author |
Do we have write seperate .tld files for each EL?
|
Anil Deshpande
Ranch Hand
Joined: Jan 13, 2008
Posts: 117
|
|
I am preparing for SCWCD. Very basic question
See the following JSP code
I have written two seperate .tld file for random Number and Random Name EL.
Random Number:
The for Random Name:
Now my question is can i club there two seperate uri in one single tld file rather than two seperate file. When I tried to do that there was an exception saying uri NameFunction is not found.
Please Help me.
regards
Anil Deshpande
|
Anil Deshpande
SCJP 1.5, SCWCD 1.5
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
That's one uri per TLD. So it should look like :
and
|
[My Blog]
All roads lead to JavaRanch
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56213
|
|
|
Why not put them in a single library?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Anil Deshpande
Ranch Hand
Joined: Jan 13, 2008
Posts: 117
|
|
How to do it? Can you give me the code. Just rearrange my existing code as a demonstration.
Please, That would be of great help
|
 |
Anil Deshpande
Ranch Hand
Joined: Jan 13, 2008
Posts: 117
|
|
|
oh I got it, thanks a lot
|
 |
 |
|
|
subject: Do we have write seperate .tld files for each EL?
|
|
|