Re: Best practice for taglib declaration?

2005-04-01 Thread John Fereira
At 10:07 AM 3/31/2005 -0800, you wrote: Greetings, I realize this may be going against the grain, but is there anything wrong with declaring all my taglibs in web.xml so I don't have to have 5+ lines of code at the top of every JSP page? So why not use an include tag" <%@ include file="/WEB-INF/

SQL insert problem

2005-04-01 Thread Kralidis,Tom [Burlington]
Hi, I have a JSTL bit of code which parses an XML document and inserts selected element values into a PostgresSQL DB. I use a forEach to loop through a bunch of elements. Within the forEach I run an sql:transaction to insert the records. The problem, on the inserts, is that the values getting

RE: Best practice for taglib declaration?

2005-04-01 Thread Karr, David
I'm afraid you misunderstood one important point about this. You can't avoid the "taglib" directive in your JSP. The only difference in the two strategies is what "uri" attribute you use in those taglib directives in your JSP. If you remove the taglib elements from your web.xml, then the JSP tag