InfoCenter Home > 4.2.2.3.8.2.3a: Example: JSP .91 syntax: <DBQUERY> tag syntaxIn the following example, a database is queried for data about employees in a specified department. The department is specified using the <INSERT> tag to embed a variable data field. The value of that field is based on user input. <dbquery id="empqs" connection="conn" > select * from Employee where WORKDEPT='<INSERT requestparm="WORKDEPT"></INSERT>' </dbquery>
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|