СµÜ×ö¿Î³ÌÉè¼Æ£¬×ÔѧJSP£¬
ÔÚ±¾µØÖ÷»úÓÐOracleÊý¾Ý¿â£¬Óû§bookµÄÃÜÂëΪbook£¬ÔÚ¸ÃģʽÏÂÓÐadmin£¨admino£¬adminame£¬password£©±í
ÏÖÔÚ×öÒ»¸öµÇ½½çÃæ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<h ......
´óÏÀÃÇ°ïÎÒ¿´¿´ÎªÊ²Ã´ÌîÈë±íµ¥µÄÊý¾Ý²»ÄܲåÈëÊý¾Ý¿â
ÁíÒ»¸öÒ³ÃæÄܶÁ³öÀïÃæµÄÊý¾Ý
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ page import="java.sql.*,javax.naming.*,javax.sql.*" %>
<html>
<head>
......
ÎÒµÄJSPÒ³ÃæÓм¸°ÙÐдúÂ룬ÀïÃæÓкܶà<c:if></c:if>Óï¾ä£¬Ä³´Îɾ³ýµÄʱºòÎóɾ³ýÁËÒ»¸ö</c:if>½áÊøÓï¾ä£¬µ«ÊÇÒ³ÃæÌ«¶à£¬²»ºÃÕÒ£¬¸÷λ´ó´óÓÐûÓÐʲô¿ìËÙ·½·¨ÄÜÕÒµ½µÄ£¿
ÓøöºÃµÄ¿ª·¢¹¤¾ß¾ÍOKÁËѽ¡£ µãµ½Ò»¸ö<c:if> ¾Í»á×Ô¶¯ÕÒµ½Õâ¸ö<c:if>µÄÈ«²¿ÄÚ²¿¡£ Ò»°ãµÄIDE¶¼Ö§³ÖµÄ¡£
ÕÒµ ......
дÁËÒ»¸öJSP³ÌÐò£¬¹¦ÄÜÊÇ£ºÏÈÊÇÒ»¸öÉÏ´«Ò³Ã棬¸ÃÒ³ÃæÉÏÓÐ2¸öÎļþÉÏ´«¿Ø¼þ£¬ÔÚ·þÎñ¶ËÊÇÓÃupload°üʵÏÖµÄÉÏ´«Îļþservlet£¬ÉÏ´«ºÃºó£¬±£´æÔÚÒ»¸öĿ¼ÖУ¬È»ºó·þÎñÆ÷¶Ëµ÷ÓÃÒ»¸öÒÑ´æÔÚµÄJavaÀàÀ´Æ¥ÅäÕâ2¸öÎļþ£¨´ó¸Å¾ÍÊDZȽϣ©£¬Õâ¸öJavaÀàÏȼì²éÕâ2¸öÎļþµÄ´óС£¬Èç¹ûÌ«´óµÄ»°£¨¾ßÌåÓиö½çÏÞ£©£¬È»ºóÕâ¸öJavaÀà¾Í½áÊø·µ»Ø£ ......
ÔÚjsp¿ª·¢ÖУ¬ÎÒ×öÁËÓû§ÉÏ´«Í¼Æ¬µÄ¹¦ÄÜ¡£¿ÉÊÇ£¬Óû§ÉÏ´«µÄͼƬÎļþ×ÜÊdzöÏÖÔÚtomcat\webappsµÄÏîÄ¿ÖУ¬Àý£º D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\HappyShopping\image\images
¶øÎÒµÄÏîÄ¿Ô´Îļþ´æ·ÅÓÚC:\Users\ASUS\Workspaces\MyEclipse 7.0\HappyShopping\WebRoot\image\images
ÔõÑù ......
ÎҵĴúÂëÈçÏ£º
<%@ page language="java" contentType="text/html;charset=gb2312" pageEncoding="gb2312"%>
<%@ page import="java.sql.*" %>
<%@ page import="shop.javabean.DBConnection" %>
<jsp:useBean id="db" class=" ......
×ܼǼÊý:2680; ×ÜÒ³Êý:447; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [2] [3] [4] [5] 6
[7] [8] [9] [10] [11] ÏÂÒ»Ò³ βҳ