hi all,
i have a code like this:
<%@ taglib prefix="database" uri="WEB-INF/database.tld" %>
<html>
<body>
<%
String id = request.getParameter("Title_ID");
String title = request.getParameter("Title");
String price = request.getParameter("Price");
String cid = request.getParameter("Category_ID");
%>
<database:addbook bookid=id title=title price=price cid=cid />
</body>
</html>
However, it doesn't work...
If i change From
<database:addbook bookid=id title=title price=price cid=cid />
To
<database:addbook bookid="1" title="2" price="3" cid="4" />
it works.
So I would like to ask how i can set the variables into the tag attribute?
Thanks a lot!!
ypc