%
// @Author: Dhunva Saisom ( Dun )
// @Project Name: Honsen
// Number of Files: many
// Files Name: ancient_cnt_found.jsp
//
//
// Code provided by Author Dhunva Saisom ( Dun )
// as is,with warranties as to performance, fitness, merchantability,and any other warranty
// ( whether expressed or implied ).Terms of Agreement: By using this source code, you agree
// to the following terms...
// 1) You may use this source code in personal or business projects by buying license.
// 2) You MAY NOT redistribute this source code (for example to a web site) without
// written permission from the original author.Failure to do so is a violation of copyright
// laws.
// If you find any bug in this source codes please e-mail : thedun_dec@hotmail.com
%>
<%@ page contentType="text/html;charset=TIS-620" %>
<%@ page import="java.sql.*,java.util.*" %>
<%
ResultSet rs;
String ant_id = request.getParameter ( "ant_id" );
String ant_name = null;
String ant_source = null;
String ant_size = null;
String ant_material = null;
String ant_age = null;
String ant_description = null;
String ant_produce = null;
String ant_own = null;
String ant_remark = null;
String url_image = null;
rs = dbcon.executeQueryAll ( "Select * from antiques where ant_id=" + ant_id );
while ( rs.next ( ) )
{
ant_name = rs.getString ( "ant_name" );
ant_source = rs.getString ( "ant_source" );
ant_size = rs.getString ( "ant_size" );
ant_material = rs.getString ( "ant_material" );
ant_age = rs.getString ( "ant_age" );
ant_description = rs.getString ( "ant_description" );
ant_produce = rs.getString ( "ant_produce" );
ant_own = rs.getString ( "ant_own" );
ant_remark = rs.getString ( "ant_remark" );
// @@@ START LINUX
//ant_name = new String ( ant_name.getBytes ( "ISO8859_1" ), "MS874" );
//ant_source = new String ( ant_source.getBytes ( "ISO8859_1" ), "MS874" );
//ant_size = new String ( ant_size.getBytes ( "ISO8859_1" ), "MS874" );
//ant_material = new String ( ant_material.getBytes ( "ISO8859_1" ), "MS874" );
//ant_age = new String ( ant_age.getBytes ( "ISO8859_1" ), "MS874" );
//ant_description = new String ( ant_description.getBytes ( "ISO8859_1" ), "MS874" );
//ant_produce = new String ( ant_produce.getBytes ( "ISO8859_1" ), "MS874" );
//ant_own = new String ( ant_own.getBytes ( "ISO8859_1" ), "MS874" );
//ant_remark = new String ( ant_remark.getBytes ( "ISO8859_1" ), "MS874" );
// @@@ END LINUX
}
rs.close ( );
rs = dbcon.executeQueryAll ( "Select * from up_images where ant_id=" + ant_id );
while ( rs.next ( ) )
{
url_image = rs.getString ( "url_image" );
}
rs.close ( );
%>
Important_content
|
<%@ include file = "footer.jsp" %>
|
|
|
 |