jspÄ£°æ¼ò½é
JSPÄ£°åÓ¦ÓÃÖ¸ÄÏ
Window
¹¤¾ß°üÌṩÁËÒ»ÖÖµäÐ͵IJ¼¾Ö»úÖÆ£¬±ÈÈç˵ÔÚÒ»¸öÈÝÆ÷ÖÐÈ·¶¨²¿¼þÔªËصÄλÖá£ÔÚAWT ºÍ Swing¶¼Óв¼¾Ö¹ÜÀíÆ÷£¬¶øÔÚVisualWorks
SmalltalkÖÐÓÐwrapper¡£±¾ÎĽ«½éÉÜÒ»ÖÖJSPÄ£°å»úÖÆ£¬ËüÔÊÐí²¼¾Ö±»·â×°ºÍÖØÐÂÀûÓá£JSPÄ£°å×îС»¯Á˲¼¾Ö¸Ä±äËùÔì³ÉµÄÓ°Ï죬ÕâÀïÎÒÃÇ
½«¹ÄÀø´ó¼Ò²ÉÓ÷â×°Ä£¿é»¯Éè¼Æ¡£
¾¡¹Ü Web¿ª·¢¹¤¾ßµÄ¸Ä½ø·Ç³£Ñ¸ËÙ£¬µ«ÊÇËüÃÇÈÔÈ»ÂäºóÓÚͼÐÎÓû§½çÃæ(GUI)¹¤¾ß°ü£¨Swing ºÍ VisualWorks
Smalltalk£©¡£ÀýÈ磬ÔÚ´«Í³µÄGUI¹¤¾ß°üÖÐÌṩÁ˲¼¾Ö¹ÜÀíÆ÷£¬ÔÚÒ»¸ö´°Ìå»òÁíÒ»¸ö´°ÌåÖУ¬ÔÊÐí²¼¾ÖÔËËã±»·â×°ºÍÖØÐÂÀûÓᣱ¾ÎĽéÉܵÄÕâÖÖJSP
Ä£°å»úÖÆ£¬¾ÍÏó²¼¾Ö¹ÜÀíÆ÷Ò»Ñù£¬¿ÉÒÔ·â×°²¼¾Ö£¬ËùÒÔËüÄܹ»±»ÖØÐÂÀûÓöø²»Ö»ÊǸ´ÖÆʹÓá£
ÓÉÓÚÔÚ²¼¾ÖµÄ·¢Õ¹¹ý³ÌÖгöÏÖÁËÐí¶àµÄ±ä»¯£¬¶ø¶Ô¹¦Äܵķâ×°ÊǷdz£ÖØÒªµÄÒ»²½£¬ËüÄܹ»±»×ÔÈçÐ޸Ķø×öµ½¶ÔÆäËûÓ¦ÓõÄÓ°Ïì×îС¡£
JSPûÓÐÌṩ¶Ô·â×°²¼¾ÖµÄÖ±½ÓÖ§³Ö£¬ËùÒÔ¾ßÓÐͳһ¸ñʽµÄÍøҳͨ³£¿ÉÒÔ¸´ÖƲ¼¾Ö´úÂ룻ÀýÈ磬ÔÚͼ1ÖУ¬ÏÔʾÁËÒ»¸öÍøÒ³£¬Ëü°üº¬Á˱êÌâ¡¢Ò³½Å¡¢¹¤¾ßÌõÒÔ¼°Ò³ÃæµÄÖ÷ÒªÄÚÈÝ¡£
ÔÚͼ1ÖÐÏÔʾµÄÍøÒ³²¼¾Ö½«ÒÔHTML±í¸ñ±êÇ©À´Ö´ÐУº
Àý1.°üº¬ÄÚÈÝ£º
xml ´úÂë
<
html
>
<
head
>
<
title
>
JSPtemplates
</
title
>
</
head
>
<
body
background
=
'graphics/background.jpg'
>
<
table
>
<
tr
valign
=
'top'
>
<
td
>
<
%@include
file
=
'sidebar.html'
%
>
</
td
>
<
td
>
<
table
>
<
tr
>
<
td
>
<
%@include
file
=
'header.html'
%
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
%@include
file
=
'introduction.html'
%
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
%@include
file
=
'footer.html'
%
>
</
td
>
</
tr
>
</
table
>
</
td
>
</
tr
>
</
table
>
</
body
>
</
html
>
Ïà¹ØÎĵµ£º
Ê×ÏÈ,FCKEDITORµÄÐÔÄÜÊǷdz£ºÃµÄ,Óû§Ö»ÐèºÜÉÙµÄʱ¼ä¾Í¿ÉÒÔÔØÈëFCKEDITORËùÐèÎļþ.¶ÔÓÚÆäËûÔÚÏß±à¼Æ÷À´Ëµ,Õ⼸ºõÊǸöºÜÄѽâ¾öµÄÄÑÌâ,ÒòΪÔÚ¿ªÆô±à¼Æ÷ʱÐèҪװÔØÌ«¶àµÄÎļþ.±ÈÈçCUTEEDITOR,ËäÈ»¹¦ÄܱÈFCKEDITOR»¹ÒªÇ¿´ó,¿ÉÊÇ,Ëü±¾ÉíÒ²¹»ÅÓ´óÁË,ÖÁÓÚFREETEXTBOXµÈ,ÆäÒ×ÓÃÐÔÓëFCKEDITORÏà±È,ÉÐÓвî¾à,¿ÉÒÔ˵,FCKEDITORÊÇÒ»¸ö ......
jspÒ³ÃæʹÓÃstruts2µÄproperty±êÇ©Êä³öÈçÏÂÄÚÈÝ
<s:property value="detailinfo"/> ÆäÖУ¬detailinfo="<strong>abc</strong>"£»
ºÃÏñûÊ£¬ÎÊÌâ³öÏÖÁË£¬ÔÚjspÒ³ÃæÉÏÏÔʾ³öÁË<strong>abc</strong>
Ò»¿´Ò³ÃæÔ´Â룬·¢ÏÖ£¬Ô´´úÂëÖÐÒѾ±ä³ÉÁË
< strong&a ......
ÄãµÄ¿ì½Ý½¨ÉèÖÃÓÐÎÊÌ⣬ÄãÖØÐÂÉèÖÃÒ»ÏÂÔÚ window --> Perferences--> General--> keys
½«Content Assist¿ì½Ý¼üÉèÖóÉAlt + /¾Í¿ÉÒÔÁË
Èç¹ûÄã·¢ÏÖµãÁËApply¹ØÁËÖ®ºó£¬Ôٴδò¿ªContent AssistµÄ¿ì½Ý¼üûÓиıäµÄ»°£¬ÄÇÊÇÒòΪÏÂÃæÓÐÒ»¸öÑ¡ÏîÒѾÓõ½ÁËAlt + /£¬¾ßÌåÊÇÄÄÒ»¸öÎҼDz»ÇåÁË£¬Äã°ÑÄǸöcommandµÄ¿ì½Ý¼ü¸ ......
ÔËÐÐ×Ô¼ºÅäÖõÄwebÓ¦Óã¬ÍùÍùÖ»ÄÜ¿´¼ûweblogic±àÒëÖ®ºóµÄclassÎļþ¡£¶ø¿´²»¼û±àÒëÇ°µÄjavaµÄÎļþ¡£ÎªÁ˵÷ÊÔ·½±ã£¬ÎÒÃÇÓÐʱºòÊÇÏë¿´±àÒëÇ°µÄjavaÎļþ¡£
ÔÚweblogic.xmlÖмÓÈë
<jsp-descriptor>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</par ......