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
>
Ïà¹ØÎĵµ£º
×÷Õß: Dudu, ¡¡³ö´¦:ITר¼ÒÍøÂÛ̳,¡¡ÔðÈαà¼: ³Â×Óç÷,¡¡
2009-09-18 13:00
¡¡¡¡CLOB¿ÉÓÃÓÚ´æ·Å´óÎı¾Êý¾Ý,×î¶à¿É´æ´¢4GBÊý¾Ý,ÔÚÓ¦Óÿª·¢ÖбȽϳ£¼û.javaÌṩµÄsql.ClobÀàÓëÖ®¶ÔÓ¦.ËüÌṩÁ½¸ö·½·¨À´¶ÁÈ¡ClobµÄÊý¾Ý:
¡¡¡¡ÓÃORACLE9i¡¢oracle8¡¢Óкܳ¤µÄÒ»¶Îʱ¼ä£¬ÎÒ°ÑÓÃÓÚJSPÖÐÐèҪעÒâµÄÎÊÌâÔÚÕâÀïд³öÀ´£¬½ö¹©´ó¼Ò²Î¿¼Á ......
1£¬DateTimeÀàÐÍÊý×Ö
ÒÔÏÂÊÇÒýÓÃƬ¶Î£º
µ±Ç°Ê±¼äSystem.DateTimeµÄ=ÐÂSystem.DateTimeµÄ£¨£©;
1.1Сʱ·ÖÖÓµ±Ç°ÈÕÆÚÃ룬µ±Ç°Ê±¼ä= System.DateTime.Now;
1.2¼ì²é±¾Äê¶ÈÁ®ÕþÄê= currentTime.Year;
1.3µ±Ç°Ô·ÝÁ®Õþ¸öÔÂ= currentTime.Month;
1,4²ÉÈ¡µ±ÌìÁ®ÕþÌì= currentTime.Day;&n ......
ÄãµÄ¿ì½Ý½¨ÉèÖÃÓÐÎÊÌ⣬ÄãÖØÐÂÉèÖÃÒ»ÏÂÔÚ window --> Perferences--> General--> keys
½«Content Assist¿ì½Ý¼üÉèÖóÉAlt + /¾Í¿ÉÒÔÁË
Èç¹ûÄã·¢ÏÖµãÁËApply¹ØÁËÖ®ºó£¬Ôٴδò¿ªContent AssistµÄ¿ì½Ý¼üûÓиıäµÄ»°£¬ÄÇÊÇÒòΪÏÂÃæÓÐÒ»¸öÑ¡ÏîÒѾÓõ½ÁËAlt + /£¬¾ßÌåÊÇÄÄÒ»¸öÎҼDz»ÇåÁË£¬Äã°ÑÄǸöcommandµÄ¿ì½Ý¼ü¸ ......
ÔÚJspºÍjspÖеÄjavabeanÀïÃ棬"/"Ö¸µÄÊÇtomcatËùÔڵĸù·¾¶£¬Èç¹ûÊÇÔÚWindowsϾÍÊÇtomcatËùÔÚÅ̵ÄÅÌ·û£»¶ø“.”Ö¸µÄÊÇtomcatµÄbinĿ¼ËùÔڵķ¾¶¡£
ÎÒ²ÂÏëÕâÊÇÒòΪjsp´úÂ붼»á±»tomcatתΪServlet£¬¶øServletÊÇÔÚtomcatÖзÃÎʵģ¬ËùÒÔjvmÔÚÔËÐÐServletʱ¾ÍÈÏΪĿ¼ÊÇtomcatËùÔÚµÄĿ¼¡£
HtmlÖеē/&r ......
ÓÐÁ½ÖÖ´«²Î·½Ê½
Ò»¡¢get·½Ê½£º
ÕâÖÖ·½Ê½½«²ÎÊýдÔÚurlÖУ¬¾ÙÀýÀ´Ëµ£¬Èç¹ûÄ¿±ê´«²ÎÒ³ÃæÊÇtarget.jsp,ÄÇôÔÚurlÀï¿ÉÒÔÕâôд£º
http://..../target.jsp? <Param1> = <value1> & <Param2> = <value2> &...
&n ......