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

jspÒ³ÃæÌøתÎÊÌâ

 ÕâÊÇÒ»¸öÓû§×¢²áµÄÒ³Ã棬²¿·Ö´úÂ루ûÓдíÎó£©ÒÑÂÔ£¬¿ÉÊDz»ÄÜʵÏÖformµÄactionÌøת
checkform()ÀïÃ÷Ã÷ÓÐdocument.form.submit()£¬¾ÍÊDz»ÄÜÌøת£¬
 
ÄÜ°ïÎÒ¿´ÏÂÎÊÌâ³öÔÚÄÄÂð£¿
ÕâÊÇÕÕ×ÅÊéÉϵÄÀý×ÓдµÄ£¬×¢²áºÍÖØÖö¯¶¼×÷ÊÇͨ¹ýͼƬÀ´´¦ÀíµÄ¡£
Çë²»Áߴͽ̣¬ÔÚϲ»Ê¤¸Ð¼¤¡£¡£¡£
<%@ page contentType="text/html;charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
      <head><title>Óû§×¢²á</title></head>    
       <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/>
       <link rel="styleSheet" href="register.css" type="text/CSS" />
  <script language="javascript">
     <!--
          function checkform(){
              if(document.form.ID.value==""|| !(document.form.ID.value).indexOf("/")||
                 !(document.form.ID.value).indexOf(".")){
                 alert("Óû§ÃûΪ¿Õ»òÕßÓзǷ¨×Ö·û£¡");
                 document.form.ID.focus();
              }
               else if(document.form.password.value==""||(document.form.password.value).length<6){
                   alert("ÃÜÂëΪ¿Õ»òÕßÌ«¶Ì£¬ÎªÁËÄãµÄ°²È«ÇëÖØÐÂÌîд£¡");
      &n


Ïà¹ØÎĵµ£º

Ò»¶Î¿ÉÒÔÔËÐеÄxhtmlµÄjsp´úÂë

<?xml version="1.0" encoding="UTF-8"?>
<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pat ......

Jsp WEBϵͳµÇ¼ÓëÓò¿Ø

ÃæµÄÉϱã»áµ¯³öÓò¿ØÑéÖ¤µÄ
¸÷λ,ÉÏ´ÎÔÚȺÖÐÎʵ½¹ØÓÚJsp WEBϵͳµÇ¼ÓëÓò¿Ø½áºÏ×öÓû§ÑéÖ¤µÄÎÊÌâ,ÏÖÔÚÒѾ­½â¾ö,½«½â¾ö°ì·¨Óë¸÷λ·ÖÏíÏÂ:
½â¾ö·½°¸:ʹÓÃsamba×éÖ¯µÄ¿ªÔ´ÏîÄ¿jCIFS
ÏîÄ¿Ê×Ò³:http://jcifs.samba.org/
²Î¿¼×ÊÁÏ:
ʹÓÃjcifs.jar¿ÉÒԷdz£ºÃʵÏÖ£¬ÏÂÔØÒ»¸ö×îеÄjcifs.jar£¬·Åµ½WEB-INFlibÏÂÃ棬ȻºóÐÞ¸Ä ......

ASP¡¢JSPÓëPHP Äã»áÑ¡Ë­

 Ä¿Ç°£¬×î³£ÓõÄÈýÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔÓÐASP(Active   Server   Pages),JSP(Java   Server   Pages),  
  PHP   (Hypertext   Preprocessor)¡£    
   
  ¼ò   ½é    
   
  ¡¡¡¡ASPÈ«ÃûActive   Server & ......

JSP¾Å´óÄÚÖöÔÏó¼°Ëĸö×÷ÓÃÓò½éÉÜ

JSP¾Å´ó¶ÔÏó£º
ÄÚÖöÔÏó£¨ÓÖ½ÐÒþº¬¶ÔÏó£¬ÓÐ9¸öÄÚÖöÔÏó£©:²»ÐèÒªÔ¤ÏÈÉùÃ÷¾Í¿ÉÒÔÔڽű¾´úÂëºÍ±í´ïʽÖÐËæÒâʹÓÃ
1-out:
javax.servlet.jsp.JspWriterÀàÐÍ£¬´ú±íÊä³öÁ÷µÄ¶ÔÏó¡£×÷ÓÃÓòΪpage£¨Ò³ÃæÖ´ÐÐÆÚ£©
request£ºjavax.servlet.ServletRequestµÄ×ÓÀàÐÍ£¬´Ë¶ÔÏó·â×°ÁËÓÉWEBä¯ÀÀÆ÷»òÆäËü¿Í»§¶ËÉú³ÉµØHTTP
ÇëÇóµÄϸ½Ú£¨² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ