如果可以在不串行化的情况下将数据返回到客户机,那么,通过直接绑定到一个XML输出主机变量,这是避免任何替换字符的最安全的方法。
If it is possible to return the data to the client without serialization, by binding directly to an XML output host variable, this is the safest way to avoid any kind of substitution character.
对于示例数据,该查询不返回任何记录。
Given the sample data, no records are returned for this query.
该UserBean表示从Derby数据库返回单行或者不返回任何行,这取决于在表单中输入的用户名是否与数据库中的用户名相匹配。
This UserBean represents either a single row returned from the Derby database or no rows, depending on whether the user name entered in the form matches a user name in the database.
应用推荐