?? a_line.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<jsp:useBean id="j" scope="application" class="jdbc.jdbc"/>
<jsp:useBean id="ta" scope="application" class="tour_lines.a_line"/>
<%
ta.con=j.getConnection();
String line_name=new String(request.getParameter("tour_line_name").getBytes("ISO8859_1"), "GBK");
String line_intro=new String(request.getParameter("tour_line_intro").getBytes("ISO8859_1"), "GBK");
String hot_line=new String(request.getParameter("hot_tour_line").getBytes("ISO8859_1"), "GBK");
ta.tour_line_name=line_name;
ta.tour_line_intro=line_intro;
ta.hot_tour_line=hot_line;
if(ta.a_exe())
{
out.print("線路添加成功");
}
else
{
out.print("線路添加失敗");
}
j.releaseConnection(ta.con);
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -