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

jsÄÜÈ¡µÃjspÖеĶÔÏóÂð£¿

  ¾ßÌå¾ÍÊÇ  ÎÒÏëÓÃjsÈ¡µÃsessionÖеĶÔÏóÊý¾Ý·ÅÈëjsÖзâÆðÀ´ 



  ²»ÖªµÀ Äܲ»ÄÜʵÏÖ    Ï£Íû¸÷λ¸ßÊÖÖ¸µãһϣ¡£¡  ²»Éõ¸Ð¼¤£¡£¡
ͨ¹ýjspÊä³öµ½Ò³ÃæÉÏ£¬ÓÃÒ»¸öÒþ²ØÓò°ÑÖµ¸ø±£´æÆðÀ´²»¾ÍÐÐÁËÂð£¿

Äã¿ÉÒÔ¸øJSµÄ·½·¨´«Öµ~·

±ÈÈç
function sess(session){
    alert(session);
};

ÕâÑù´«Öµ
sess('"+ <%=session.get()%>+"');

Èç¹ûÊÇ×Ö·û´®Ö®ÀàµÄ¿ÉÒÔ°¡ var s=" <%=session.getAttribute("name")%>"

ÕâÑùÓ¦¸ÃÊÇ¿ÉÒԵİɡ£

~~  ÎÒµÄÒâ˼ÊÇÈ¡¶ÔÏóÊýÖµ    ²»¹ý ×Ô¼ºÏëÁ˺þà ¾õµÃºÃÏñ²»¿ÉÄÜ    ²»ºÃÒâ˼ÀÍ·³¸öλÀ²£¡£¡

<%@ page language="java" import="java.util.*,com.model.User" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
<script type="text/javascript">
function testSession(){
var username=document.getElementById("username").value;
var password=document.getElementById("password").value;
}
</script>

  </head>
 
  <body onload="testSession()">
    <%
      User user = (User)ses


Ïà¹ØÎÊ´ð£º

JSP ½ÓÊÕ FORM Ìá½» - Java / Web ¿ª·¢

Ò»¸öJSPÒ³Ãæ½ÓÊÕÆäËûÒ³ÃæÌá½»¹ýÀ´µÄFORM±íµ¥£¬µ«ÊÇÒªÇóÖ»½ÓÊÕµ±Ç°Õ¾µã¼°Æä×ÓÕ¾µãÌá½»¹ýÀ´µÄFORM±íµ¥£¬ÆäËûÕ¾µãÌá½»¹ýÀ´µÄ±íµ¥²»½ÓÊÕ£¬Õâ¸öÔõôÉèÖã¿
ÓùýÂËÆ÷
filter
½«µ±Ç°Õ¾µã¼°Æä×ÓÕ¾µã·ÅÒ»¸öĿ¼ 
È» ......

¹ØÓÚAJAXºÍJSPµÄһЩСÎÊÌâ¡« - Java / Web ¿ª·¢

ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

Çó½ÌJSPÏîÄ¿ÖÐÔËÓÃÄ£°åµÄ¼¼Êõ - Java / Web ¿ª·¢

ÇëÎʸ÷λ¸ç¸ç½ã½ã£¬ÈçºÎÔËÓÃÏֳɵÄÄ£°åÀ´ÖÆ×÷ƯÁÁµÄJSPÍøҳѽ,»ØÕßÓзÖ!
×Ô¼º¶¥Ï£¬×ÜÓиßÊÖ°É,ÆÚ´ýÖÐ......


Èç¹ûÖ±½ÓÒýÓýøÈ¥

¿ÉÒÔÖ±½ÓÓÃjspµÄÖ¸ÁҲ¿ÉÒÔÓÃfreemarkÒýÓ㬼ǵøø·Ö

лл¸÷λÁË£¬¿´À´Î ......

jsp½ØͼÎÊÌ⣡ - Java / Web ¿ª·¢

µÚÒ»¸ö£ºjsp×ö½Øͼ¼òµ¥£¬»¹ÊÇasp×ö½Øͼ¼òµ¥£¡
µÚ¶þ¸ö£ºÎÒʹÓÃjsp½Øͼ£¬jsp½ØͼÔÚ·þÎñÆ÷¶Ë½Øͼ£¬²»ÊÇÔÚ¿Í»§¶Ë½Øͼ£¬ÎÒÒªµÄÊÇ¿Í»§¶Ë½Øͼ£¡
¾ÍÏ൱ÓëQQ½ØͼһÑù£¬½ØÍêͼ²¢°üͼƬµÄÐÅÏ¢±£´æÔÚÊý¾Ý¿âÖУ¬È»ºóÏÔʾÔÚÒ³Ãæ ......

jspÐÂÊÖ,Çë½Ì¸÷λ? - Java / Web ¿ª·¢

³ÌÐòÈçÏÂ:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" %>
<%@ page import="com.mysql.jdbc.Driver" %>
<%@ page import ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ