Ëѹ·Ë«ºËµÄJSP sessionÎÊÌâ
Ëѹ·Ë«ºËä¯ÀÀÆ÷³öÀ´Ö®ºó£¬ÎÒ¾ÍÓÃËüÀ´µ÷ÊÔÒ³Ã棬°´Ò»¸ö°´Å¥¿ÉÒÔÇл»Á½ÖÖä¯ÀÀÆ÷ÒÔ¹Û²ìÍøҳЧ¹û£¬»¹ÊDZȽϷ½±ãµÄ£¬µ«ÊÇ×î½ü·¢ÏÖËѹ·µÄJSP sessionòËƳöÏÖÎÊÌâ¡£»¹ÔÚ²âÊÔÖУ¬×î½üÒ»Á½Ìì»áд³öÒ»¸ö±È½ÏÏêϸµÄ²âÊÔ±¨¸æ¡£°¥£¬ÄѵÀÊÇÎÒµÄsessionдµÄÓÐÎÊÌ⣿ÔõôÔÚÍøÉÏËѲ»µ½ÀàËƵĶ«Î÷...
Ïà¹ØÎĵµ£º
<tr>
<td height="30" align="right">ÓòÃû£º</td>
<td align="left"><input name="domain" type="text" class="input" value="<%=request.getServerName()%>"/></td>
<td align="left">ϵͳÒѾ¼ì²â³öÄúµÄÓòÃû£¬ÇëÎð¸Ä¶¯</td>
</t ......
Ò»¡¢ÊµÑéÄ¿µÄ
1¡¢ ÕÆÎÕ±íµ¥µÄʹÓ÷½·¨£¬ÒÔ¼°·þÎñÆ÷¶Ë´¦Àí±íµ¥ÇëÇóµÄ·½·¨£»
2¡¢ Àí½âForwardµÄ×÷Óã»
3¡¢ ÊìÁ·ÔËÓÃJSPµÄµäÐÍÄÚÖöÔÏó
¶þ¡¢ÊµÑéÄÚÈݼ°²½Öè
1¡¢±íµ¥µÄʹÓü°ÆäµÝ½»¡¢´¦Àí¹ý³Ì
ÔÚÔ´´½ÌÎñϵͳÖУ¬ÏµÍ³»á¸ù¾ÝÓû§ÀàÐÍ(½Ìʦ/ѧÉú)ÏÔʾ²»Í¬µÄÒ³Ã档ΪģÄâ¸Ã¹¦ÄÜ£¬ÐèÒª¶¨ÒåÉè¼ÆÈçÏÂҳà ......
<%@page import="com.opensymphony.xwork2.util.ValueStack"%><%
ValueStack vs = (ValueStack)request.getAttribute("struts.valueStack");
String aa = (String)vs.findValue("downloadContent");
response. ......