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

²»ÄܱàÒëjspÔõô°ì

Ò²ÐíºÜ¶à¸ßÊÖ¶¼²»Ï÷½â¾öÕâ¸öÎÊÌ⣬µ«ÊÇÎÒ¾õµÃ¶Ô³õѧÕßÀ´ËµÕâ¸öÎÊÌ⻹ÊÇÒªÑо¿Ò»»áµÄ£¬ËùÒԾͼǼÏÂÀ´ÁË¡£
ÎÊÌâÃèÊö£º
µ±ÄãÔÚEclipseµÄ³ÌÐòÖмÓÈëÒ»¸öJSPÎļþºó£¬Õû¸öProject »á±¨Ò»¸öÕâÑùµÄError.
ÎÊÌâÔ­Òò£º
ĬÈÏEclipseµÄ±àÒë»·¾³ÊÇJRE£¬¶øJREÊDz»´ø±àÒëÆ÷µÄ£¬Ö»ÓÐJDK²Å´ø±àÒëÆ÷¡£ËùÒÔ±ØÐë°ÑJDK×÷ΪÄãÏîÄ¿µÄInstalled JRE¡£
½â¾ö·½°¸:
1.ÔÚWindow ²Ëµ¥ÏÂÑ¡ÔñPreferences
2.ÔÚJava-Installed JREÉÏ£¬Ñ¡ÔñAdd ,Ñ¡ÔñStandard JVM,È»ºóÑ¡ÔñJDK ËùÔÚµÄĿ¼¡£Ñ¡ÔñJDK×÷ΪInstalled JRE Ê×Ñ¡¡£
´íÎóÏûʧ¡£
http://blog.csdn.net/lament_gates/archive/2009/08/02/4402313.aspx
http://blog.csdn.net/lament_gates/archive/2009/08/02/4402313.aspx


Ïà¹ØÎĵµ£º

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

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

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

 ÕâÊÇÒ»¸öÓû§×¢²áµÄÒ³Ã棬²¿·Ö´úÂ루ûÓдíÎó£©ÒÑÂÔ£¬¿ÉÊDz»ÄÜʵÏÖformµÄactionÌøת
checkform()ÀïÃ÷Ã÷ÓÐdocument.form.submit()£¬¾ÍÊDz»ÄÜÌøת£¬
 
ÄÜ°ïÎÒ¿´ÏÂÎÊÌâ³öÔÚÄÄÂð£¿
ÕâÊÇÕÕ×ÅÊéÉϵÄÀý×ÓдµÄ£¬×¢²áºÍÖØÖö¯¶¼×÷ÊÇͨ¹ýͼƬÀ´´¦ÀíµÄ¡£
Çë²»Áߴͽ̣¬ÔÚϲ»Ê¤¸Ð¼¤¡£¡£¡£
<%@ page contentType="te ......

СJSP³ÌÐò

<%@ page language="java" import="kg.TestBean2;" %>
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head>
<title>HelloBean</title>
</head>
<body>
<%--
<%
kg.TestBean2 testbean=(kg.TestBean2)session.setAttribute("testbean");
if ......

Ext+json+jsp¹¹½¨µÄ¶¯Ì¬Ê÷

Ê÷½Úµã×éºÏÄ£ÐÍ
package cn.com.jsnh.model.catalog;
public class TreeModel {
private String node;
private CatalogModel model;
public String getNode() {
return node;
}
public void setNode(String node) {
this.node = node;
}
public CatalogModel getModel() {
return model;
}
public void setMo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ