java - Question about custom JSP tag library -


i have custom jsp taglib included in jsp page says

<%@ taglib uri="xyz" prefix="xyz" %> 

where , how can find out defined exactly?

and if have statement like

<xyz:cssurl filename="mycss.css"/> 

can dynamically include different css , if yes, how?

the uri identifier. doesn't have actual uri. @ web.xml: might defined there. if isn't, @ jars used web app, , see if meta-inf folder includes .tld file uri defined.

now second question (can dynamically include different css , if yes, how?), don't understand you're asking. since no-one including knows xyz taglib is, it's hard answer. once have found tld file taglib, should find description , expected parameters of tag. thing might tell of course use tag several times:

<xyz:cssurl filename="mycss.css"/> <xyz:cssurl filename="mysecondcss.css"/> <xyz:cssurl filename="mythirtcss.css"/> 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -