Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : jsp

jspÎÊÌâ,À§Èż±ÁË

ÎÒÓõĽâѹ°æµÄtomcat,ÓÃmyeclipseÔËÐÐjspÎļþʱ,×ܲ»ÄÜÏÔʾ½á¹û,ΪɶÄØ?
ûÅäÖÃÕýÈ·ßÂ

°ÑÅäÖúͳÌÐò·¢³öÀ´¿´Ò»ÏÂÁË,
д¸ö×î¼òµ¥µÄÊÔÒ»ÏÂ.

ÔÚeclipseÖеã»÷window/preferences/myeclipse/server/tomcat°ÑÄã½âѹµÄtomcatÔÚÕâÀïÅäÖÃÏ°ɡ£

ÅäÖÃÎÊÌâ

ʱ¼äÍ£Ö¹£¡£¡£¡

¿´¿´±¨Ê²Ã´´íÎó


ÉÏÍø²é²éÕýÈ·µÄÅ ......

jspÒ³ÃæÉèÖÃÒ³Ãæ´óС

HTML code:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/" ......

jspÉÏÃæ¼òµ¥µÄFCK

Ë­ÓйØÓÚjsp·½ÃæµÄfck°¡ лл´ó¼ÒÀ´ Ö»Òª¼òµ¥µÄ¾ÍÐÐÁË

ºÃ±ÈÔÚcsdnÉÏÃæ»Ø¸´Ê±  ¿´µ½µÄµÄ  "»Ø¸´ÄÚÈÝ"  ÏÂÃæµÄÒ»ÐР ²»ÒªÌ«¶àµÄ¸ñʽ

ÓÊÏä mustvictory@126.com  ÒªÊÇÄܹ»·¢¸öjava·½ÃæµÄdemo¸øÎҾͺÃÁË 

лл´ó¼Ò

ʣϵÄ84È«²¿Ïȸø´ó¼Ò

¶¥¶¥

лР......

¹ØÓÚÔÚJSPÖÐscriptµÄÒýÓÃ

ÏÂÃæcategoryTreeCont.jsp ´úÂë
----------------------------------------
Java code:

<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script language=&qu ......

JSP Ñé֤ͼÏÔʾ´íÎó

ÓÃͨ¹ýseverletÅäÖõÄÑé֤ͼÏÔʾ²»³öÀ´£¬¶øÓÃJSP×öµÄͼûÎÊÌ⣬¹À¼ÆÊÇWEB.XMLÅäÖÃÓÐÎÊÌ⣬Çó½Ì¸ßÊÖ£¬
ÊDz»ÊÇseverletÇëÇó±»ÆäËûFilterÀ¹½ØÁË£¿

Éú³ÉÑé֤ͼƬµÄJAVAÀà
Java code
package com.dingding.web;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
imp ......

jspÖÐÔõôµÃµ½ÍøÒ³µÄµØÖ·Öµ£¿

RT...
UP

HTML code:

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>




ÒýÓÃ
HTML code <%String path= request.getContextPath();String ......
×ܼǼÊý:1634; ×ÜÒ³Êý:273; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [264] [265] [266] [267] 268 [269] [270] [271] [272] [273]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ