jspǶÈëflex
ÎÒÃÇʹÓÃGoogleÌṩµÄiframeÈÃjspÒ³ÃæÇ¶Èëµ½flexÖÐ
Ê×ÏÈ£¬Çëµ½http://code.google.com/p/flex-iframe/ÏÂÔØiframe µÄswc°ü
µÚ¶þ²½£¬°Ñswc°ü·ÅÈëflex_libsÖУ¬Èç¹û²»ÊÇwebÏîÄ¿¾Í·ÅÈëlibÏÂ
µÚÈý²½£¬´´½¨Ò»¸ömxmlÎļþ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:code="http://code.google.com/p/flex-iframe/" width="100%" height="100%">
<mx:HDividedBox x="0" y="10" width="100%" height="100%">
<mx:Panel width="30%" height="100%" layout="absolute">
<code:IFrame id="frm2" source="/flexPage/import.jsp" height="100%" width="100%"/>
</mx:Panel>
<mx:Panel width="70%" height="100%" layout="absolute">
<code:IFrame id="frm" source="/flexPage/wnl.html" height="100%" width="100%"/>
</mx:Panel>
</mx:HDividedBox>
</mx:Application>
ÔËÐзþÎñÆ÷£¬¸ã¶¨¡£¡£¡£¡£
×¢Ò⣺jspÒ³Ãæ×Ô¼º½¨Á¢£¬ÇëÊʵ±ÐÞ¸Ä
Ïà¹ØÎĵµ£º
ÎÒÃǶ¼ÖªµÀÔÚjspÖÐincludeÓÐÁ½ÖÖÐÎʽ,·Ö±ðÊÇ
<%@ include file=" "%>
<jsp:include page=" " flush="true"/>
ǰÕßÊÇÖ¸ÁîÔªËØ¡¢ºóÕßÊÇÐÐÎªÔªËØ.
ͨ³£µ±Ó¦ÓóÌÐòÖÐËùÓеÄÒ³ÃæµÄijЩ²¿·Ö(ÀýÈç±êÌâ¡¢Ò³½ÅºÍµ¼º½À¸)¶¼ÏàͬµÄʱºò,Î ......
1£¬JSPÖж¯Ì¬INCLUDEÓ뾲̬INCLUDEµÄÇø±ð£¿
¶¯Ì¬INCLUDEÓÃjsp:include¶¯×÷ʵÏÖ <jsp:include page="included.jsp" flush="true" />Ëü×ÜÊÇ»á¼ì²éËùº¬ÎļþÖеı仯£¬ÊʺÏÓÃÓÚ°üº¬¶¯Ì¬Ò³Ã棬²¢ÇÒ¿ÉÒÔ´ø²ÎÊý¡£
####Õâ¸öÊǰÑÒýÓõÄjsp±àÒë³ÉservletÒÔºó£¬Ö±½Óµ÷ÓÃservletÀàµÄ×ö·¨¡£####
¾²Ì¬INCLUDEÓÃinc ......
1 £©Ê×ÏȽ¨Á¢¹ÜÀíÓû§±í£¬ÆäÖÐ UserPopedom ¼Ç¼Óû§µÄȨÏÞ×Ö·û£¬ÆäʵҲ¾ÍÊÇһЩ JSP »òÕß ACTION µÄÎļþÃû£º
CREATE TABLE [dbo].[AdminUser] (
[UserID] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[UserName] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[UserPass] [varchar ......
×¢ÊÍ
ÔÚ¿Í»§¶ËÏÔʾһ¸ö×¢ÊÍ.
JSP Óï·¨
<!-- comment [ <%= expression %> ] -->
Àý×Ó 1
<!-- This file displays the user login screen -->
ÔÚ¿Í»§¶ËµÄHTMLÔ´´úÂëÖвúÉúºÍÉÏÃæÒ»ÑùµÄÊý¾Ý£º
<!-- This file displays the user login screen -->
Àý×Ó 2
<!-- This page was lo ......