An "expression scriptlet" has to be the entire attribute value, not just a portion of it. If you want to mix them, the expression scriptlet will have to concatenate static strings along with your dynamic data, like this:
<dbConn:rs sql='<%= "select * from classifieds WHERE id = " + id %>'> > -----Original Message----- > From: Peter Dolukhanov [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 2:32 PM > To: [EMAIL PROTECTED] > Subject: Tag Libraries Question > > Dear All, > > > > When using Tag Libraries, is it possible to mix JSP elements with Tag > Elements? Ie: > > > > <dbConn:rs sql="select * from classifieds WHERE id = <%=id%>"> does not > seem to work. > > > > However if I make String id = "select * from classifieds WHERE id = " + > id > > > > <dbConn:rs sql="<%=id%>"> works > > > > But surely, you should be able to mix the two elements? > > > > Regards, > > Peter Dolukhanov > > ======================================================================== == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP- > INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com