Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

jsp ǰ̨֪ʶ×ܽá

Ò»¡¢×ܵÄÀ´ËµÕâ¸ö½×¶ÎÖ÷ҪѧϰÁËÒ»ÏÂÕâЩ·½ÃæµÄ֪ʶ
£¨1£©¶ÔÒѾ­ÕÆÎÕÁ˵ÄHTML½øÒ»²½ÊìϤºÍϸ»¯
£¨2£©ÒÔÇ°²»´óÊìϤµÄCSSÓиö¸ü½øÒ»²ãµÄÈÏʶµÄÕÆÎÕ
£¨3£©ÔÚVBscriptµÄ»ù´¡ÉÏÈ«ÃæѧϰÁËjavascript£¬½Å±¾ÓïÑÔ¿é¿ÉÒÔ˵»ù±¾µÄ¶¼Ó¦¸ÃÄÜ×öµÄ³öÀ´¡£
£¨4£©Ç°ÆÚÒ²¶ÔjavaÖеÄTCPЭÒéºÍUDPЭÒéϵͳµÄѧϰÁËÒ»±é£¬Ò²¾ÍÊÇSOCKET±à³ÌÒ»¿éµÄÕÆÎÕÁËһЩ...
°¥..Ò»¸öÔ½áÊøÁ˲ÅѧÁËÕâôµã¶«Î÷ £¬Ì«ÂýÁË¡£
¶þ¡¢½ÓÏÂÀ´ÎÒÏë¶ÔServerlet·þÎñÆ÷¶ËµÄ±à³Ì¼¼ÊõÁ˽âÒ»µã...
Ç°ÆÚµÄÀý×Ó×ܽ᣺
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ѧÉúÐÅÏ¢>>¼Èë</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id="top">
  <div id="topleft"><img src="images/log.jpg" /></div>
  <div id="topright"> <a href="#" >¼ÈëÐÅÏ¢Ê×Ò³</a><span class="body1"> |</span> <a href="#"> À¼ÖݳÇÊÐѧԺ</a></div>
</div>
<div id="daohang">
  <ul>
    <li><a href="#">ѧÉúÐÅÏ¢×¢²á</a></li>
    <li><a href="#">ÀÏʦÐÅÏ¢×¢²á</a></li>
  </ul>
</div>
<form id="student" action="" method="get" onsubmit="check(this);return false" >
  <div class="fordiv">
    <div class="head">¸öÈËÐÅÏ¢£º</div>
    <div class="fenge"></div>
    <div class="biaodan">
      <div id="xinxi">
        <p><span class="spanf">ѧºÅ£º</span>
          <input type="text" size="40" name="stu_num" onkeydown="toNext1(this.form);" />
    &nb


Ïà¹ØÎĵµ£º

JSPÌøתµÄ¼¸ÖÖ·½Ê½|Struts¶¯Ì¬Ìøת

String url="http://www.baidu.com";
   ActionForward gotourl = new ActionForward(url);
   gotourl.setPath(url);
   gotourl.setRedirect(true);
   return gotourl;
  1.RequestDispatcher.forward()
¡¡¡¡ ÊÇÔÚ·þÎñÆ÷¶ËÆð×÷ÓÃ,µ±Ê¹ÓÃforward()ʱ,Servlet engine´ ......

¹ØÓÚJAVA,JSPµÄ1¸öÎÊÌâ

×î½üÔÚѧJAVA£¬Á·Ï°µÄʱºòÓöµ½¸öÎÊÌ⣬Çë´ó¼Ò°ïæ¿´¿´……
Ö÷ÒªÎÊÌâÊÇ£¬ÔÚJSPÖÐûÓа취µ¼ÈëÎÒÏëÓõÄÀ࣬Ã÷Ã÷µ¼ÈëÁË°ü£¬È´±¨£ºMyDAO cannot be resolved to a type
JSP´úÂ룺
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.t ......

ÈçºÎÓÃJBoss ÔËÐÐÏà¹ØµÄJSP³ÌÐò

                                                 ÈçºÎÓÃJBoss ......

jspÇå³ýÒ³Ãæsession¡¢cookies»º´æ

Ò»¡¢Çå³ýÒ³Ã滺´æ
ÔÚjspÒ³Àï
<%response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
response.flushBuffer();%>
ÔÚhtmlÒ³Àï
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUI ......

ÔÚTomcat6.0ÖйØÓÚJSP/Servlet±íµ¥ÂÒÂëµÄÒ»¸ö½â¾ö·½·¨

²½ÖèÒ»£º±à¼­TomcatµÄÅäÖÃÎļþconf/server.xmlÔÚÓÃÓÚ½ÓÊÜ¿Í»§¶ËÓï·¨µÄConnector<connector></connector>±êÇ©ÖÐÌí¼ÓURIEncoding="UTF-8"ÊôÐÔ£¬¸ÃÊôÐÔÓÃÀ´½â¾öGETÖеıàÂëÎÊÌâ¡£
xml ´úÂë
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" / ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ