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

JSP Áгö·þÎñÆ÷»·¾³±äÁ¿

ÏÂÃæµÄÊÇÒ»¸öÔËÐÐЧ¹û£º
 
·þÎñÆ÷»·¾³±äÁ¿
¹¦ÄܼòÊö
localhost¡¡
·þÎñÆ÷µÄÓòÃû
192.168.0.5¡¡
·þÎñÆ÷µÄIPµØÖ·
Windows XP¡¡
·þÎñÆ÷²Ù×÷ϵͳ
1.6.0¡¡
·þÎñÆ÷ Java ÐéÄâ»ú°æ±¾
2.5¡¡
·þÎñÆ÷Ö§³ÖµÄ Servlet API °æ±¾
2.1¡¡
·þÎñÆ÷Ö§³ÖµÄ JSP API °æ±¾
Apache Tomcat/6.0.16¡¡
·þÎñÆ÷Èí¼þµÄÃû³Æ¼°°æ±¾(½¨Òé Tomcat 6.0)
8080¡¡
·þÎñÆ÷ÕýÔÚÔËÐеĶ˿Ú
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
·þÎñÆ÷ CPU ÀàÐÍ
D:\Java\Tomcat6.0.16\webapps\ROOT\env.jsp¡¡
ÇëÇóµÄÎïÀí·¾¶
null¡¡
ÔÚÓòÃû¸ùĿ¼ÍâµÄµ½±»ÇëÇóÒ³ÃæµÄ·¾¶
GET¡¡
·¢³örequestµÄ·½Ê½
null¡¡
ͨ¹ýʹÓÃGET·½·¨Ìá½»µÄÈκÎÊý¾Ý
/env.jsp¡¡
³ÌÐò±»µ÷ÓõÄ·¾¶
127.0.0.1¡¡
·¢³örequestÇëÇóµÄÔ¶¶Ë»úÆ÷µÄÃû³Æ
127.0.0.1¡¡
·¢³örequestÇëÇóµÄÔ¶¶Ë»úÆ÷µÄIPÃû³Æ
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)¡¡
¿Í»§ÇëÇóµÄä¯ÀÀÆ÷ÀàÐÍ
Ò³ÃæÔ´´úÂ룺
env.jsp
<%--
env.jsp
¼ì²â·þÎñÆ÷ÐÅÏ¢
@version: 1.00
Note:
TODO:
Date: 2005-10-10
@author: BeanSoft
--%>
<%@ page language="java" contentType="text/html; charset=GBK"
pageEncoding="GBK"%>
<html>
<style>
a:hover{color:orange}
</style>
<title>·þÎñÆ÷»·¾³±äÁ¿</title>
<body>
<p>&nbsp;
<table width=90% border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#99CCFF" style="border-collapse: collapse">
<tr>
<td width="50%" align="center" bgcolor="#99CCFF"><font color="#FFFFFF">·þÎñÆ÷»·¾³±äÁ¿</font></td>
<td height="16" align="center" bgcolor="#99CCFF"><font color="#FFFFFF">¹¦ÄܼòÊö</font></td>
</tr>
<tr>
<td width="50%"><%= request.getServerName()%>¡¡</td>
<td height="4">·þÎñÆ÷µÄÓòÃû</td>
</tr>
<tr>
<td width="50%"><%= java.net.InetAddress.getLocalHost().getHostAddress() %>¡¡</td>
<td height="4">·þÎñÆ÷µÄIPµØÖ·</td>
</tr>
<tr>
<td width="50%"><%=System.getProperty("os.na


Ïà¹ØÎĵµ£º

´«ÖDz¥¿Í——JSP(¶þ)ÄÚÖöÔÏó


Ò».request¶ÔÏó
   ¿Í»§¶ËµÄÇëÇóÐÅÏ¢±»·â×°ÔÚrequest¶ÔÏóÖУ¬Í¨¹ýËü²ÅÄÜÁ˽⵽¿Í»§µÄÐèÇó£¬È»ºó×ö³öÏìÓ¦¡£ËüÊÇHttpServletRequestÀàµÄʵÀý¡£
   µ±request¶ÔÏó»ñÈ¡Óû§Ìá½»µÄºº×Ö×Ö·ûʱ£¬»á²úÉúÂÒÂ룬ÓÉÏÂÃæµÄ·½·¨¿ÉÒÔ½â¾ö£º
¡¡¡¡ Sting s2 = new String(s1.getBytes("iso8859-1"),"GB2312") ......

Myeclipseн¨jspÎļþʱĬÈÏ´úÂë

ÒýÓÃ×Ô: http://hi.baidu.com/tickwudi/blog/item/1c0ddb6dd4e821fc4316949b.html
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort ......

JUnitѧϰ±Ê¼Ç14 ¶ÔJSPºÍtaglib½øÐе¥Ôª²âÊÔ1

                                                  A tes ......

½²½âJSP¹ýÂËÆ÷ºÍ¼àÌýÆ÷

     ¹ØÓÚÕâ¸öÎÊÌâ, ±È½Ï¸´ÔÓµÄ˵. ²»¹ýÎÒÏ£Íûͨ¹ýÀý×ÓÀ´½âÊͻ᷽±ãÀí½âһЩ.
¼ÙÉèÓÐÒ»¸ö·Ç³£Î£ÏÕµÄÈÎÎñ, ÊǾÅËÀÒ»Éú. ÐèÒªÄã´§×ÅÕ¨Ò©°ü´Ó±±Æ½¿ª³µ×߸ßËÙ·¹ý±£¶¨È¥Ê¯¼Òׯ°Ñ¹í×ӵĵﱤ¸øÕ¨ÁË. ×¢Òâ: Õâ¸öÈÎÎñÊ®·Ö¼è¾Þ, ÓпÉÄÜ°ë·ըҩ±¬Õ¨. ËùÒÔ³ö·¢Ç°ÄãÐèÒª¿àÁ·10ÔªÒ»±¾µÄ<<Ìú²¼ÉÀ>>, » ......

php/jsp RIFF1

Á·ÇÙµÄʱºò°ÑRIFF½Ð×öÒ»¸öÇú×ÓµÄСƬ¶Î£¬ÄÇôÎÒ×Ô¼º¶¨ÒåһϳÌÐòµÄRIFF¾ÍÊÇһС¶Î³ÌÐò°É£¬·ÅһЩÕ⼸Ìì×Ô¼ºÐ´µÄ£¬ÒÔºóÒ²³¤ÆÚ¸üУ¬×÷Ϊ×Ô¼º»ýÀۺͽñºó±à³ÌµÄ²Î¿¼¡£
1. ¸ñʽ»¯ÍøÖ·£¬ÈôûÓÐHTTPÍ·Ôò²åÈëHTTPÍ·
<?php
//add http head to url
function AddHttpHead( &$s )
{
$exist = strstr( $s,"http://" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ