How can I use a variable defined in a tag library inside a declaration?

Christopher Pickslay

Since you created your bean in the page context, if you want to use it in a declaration, you need to explicitly retrieve it from the pageContext object:

dbCon = (com.vignette.cds.client.beans.DBConnection) pageContext.getAttribute("dbCon");
con = dbCon.getConnection ("content");
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact