| Author |
TLD mandatory attribute
|
Sreeraj G Harilal
Ranch Hand
Joined: Apr 19, 2006
Posts: 310
|
|
In FREDERIC ESNAULT's revision notes, says tlib-version,short-name and uri is mandatory attributes of TDL file. But i successfully used tld file without using tlib-version and short-name attribute. Is it mandatory?
|
SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
tlib-version is Mandatory But short-name is optional Check HFS&JSP pno-467
|
 |
Sreeraj G Harilal
Ranch Hand
Joined: Apr 19, 2006
Posts: 310
|
|
But i successfully used tld file without using tlib-version and short-name attribute
What about that?
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
Write .tld file without tlib-version attribute. Than use tag in jsp file and you will get Error message. Without using tag in jsp file you will never get error message.
|
 |
Sreeraj G Harilal
Ranch Hand
Joined: Apr 19, 2006
Posts: 310
|
|
But i successfully used tld file without using tlib-version and short-name attribute.
read my point carefully. if you want code i will put here.
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
|
post your code
|
 |
Sreeraj G Harilal
Ranch Hand
Joined: Apr 19, 2006
Posts: 310
|
|
Pleaseeeee forgive me gowher amin naik. You are write. I use a uri for test run. but that was in another tld file. I don't know what to do. Tomorrow is my exam.
|
 |
Gowher Naik
Ranch Hand
Joined: Feb 07, 2005
Posts: 643
|
|
|
Best of luck for your exams.
|
 |
Rohitt Vermaa
Ranch Hand
Joined: Oct 12, 2006
Posts: 232
|
|
|
Hi sreeraj, All the best for your exams. Be cool and take the test.
|
SCJP ,SCWCD
|
 |
Sayak Banerjee
Ranch Hand
Joined: Nov 28, 2006
Posts: 292
|
|
Yeah...all the best for your exams ....relax man!! You're getting too worked up....If you want my suggestion ...stop studying for half an hour and relax....Hope that helps
|
Turn on, tune in, drop out.
|
 |
Sreeraj G Harilal
Ranch Hand
Joined: Apr 19, 2006
Posts: 310
|
|
|
Thanks everybody for the best wishes.
|
 |
Manikandan Jayaraman
Ranch Hand
Joined: Sep 15, 2004
Posts: 225
|
|
Hi ... I dont think short-name is optional. Spec shows ... <!ELEMENT taglib (tlibversion, jspversion?, shortname, uri?, info?, tag+) >
|
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
|
 |
 |
|
|
subject: TLD mandatory attribute
|
|
|