wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes TLD mandatory attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "TLD mandatory attribute" Watch "TLD mandatory attribute" New topic
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: 230
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%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TLD mandatory attribute