ÈçºÎÏòÒ»¸öjsp´«µÝÁ½¸öÒÔÉϵIJÎÊý
ÓÐÁ½ÖÖ´«²Î·½Ê½
Ò»¡¢get·½Ê½£º
ÕâÖÖ·½Ê½½«²ÎÊýдÔÚurlÖУ¬¾ÙÀýÀ´Ëµ£¬Èç¹ûÄ¿±ê´«²ÎÒ³ÃæÊÇtarget.jsp,ÄÇôÔÚurlÀï¿ÉÒÔÕâôд£º
http://..../target.jsp? <Param1> = <value1> & <Param2> = <value2> &...
¿ÉÒÔ´«µÝ¶à¸ö²ÎÊý¡£
ÔÚtarget.jspÖУ¬ÓÃrequest.getParameter( " <ParamName> ");»ñÈ¡£»
¶þ¡¢post·½Ê½
ÕâÖÖ·½Ê½ÊÇÓà <form> ¿òÌå´«µÝ²ÎÊý¡£¾ÙÀýÀ´Ëµ£¬ÈçÐèÒª½«²ÎÊýÓÉsource.jsp´«µÝµ½target.jsp¡£ÄÇôÔÚsource.jspÖÐÐèÒªÕâôд£º
.......
<form name= "form1 " action= "target.jsp " method= "post ">
<input name= " <Param1> " value= " <value1> " type= "text ">
<input name= " <Param2> " value= " <value2> " type= "hidden ">
<!--ÓÃinput±êÇ©µÄhiddenÀàÐÍ£¬ÄÇôÕâ¸öinput±êÇ©ÔÚÒ³ÃæÏÔʾʱ²»»á±»ÏÔʾ£¬µ«¸Ã²ÎÊý»Ø´«µÝµ½formµÄactionÄ¿±êÒ³ÃæÈ¥£¬Õâ¸ö·½·¨¿ÉÄܶÔÄã´«²ÎÓÐÓÃ-->
.....
</form>
ÔÚtarget.jsp¶ËͬÑùÓÃrequest.getParameter( " <ParamName> ");»ñÈ¡£»
Ïà¹ØÎĵµ£º
·½·¨Ò»£ºÔÚservletµÄinit()·½·¨Öлº´æÊý¾Ý
¡¡¡¡µ±Ó¦Ó÷þÎñÆ÷³õʼ»¯servletʵÀýÖ®ºó£¬Îª¿Í»§¶ËÇëÇóÌṩ·þÎñ֮ǰ£¬Ëü»áµ÷ÓÃÕâ¸öservletµÄinit()·½·¨¡£ÔÚÒ»¸öservlet
µÄÉúÃüÖÜÆÚÖУ¬init()·½·¨Ö»»á±»µ÷ÓÃÒ»´Î¡£Í¨¹ýÔÚinit()·½·¨Öлº´æһЩ¾²Ì¬µÄÊý¾Ý»òÍê³ÉһЩֻÐèÒªÖ´ÐÐÒ»´ÎµÄ¡¢ºÄʱµÄ²Ù×÷£¬¾Í¿É´ó´óµØÌá¸ßϵ
ͳÐÔÄÜ¡£
¡¡ ......
500´íÎó,classnotfoundÒì³££¬´úÂëûÓÐÎÊÌ⣬Êý¾Ý¿âҲûÎÊÌ⣬´òÁ˲¹¶¡£¬×°ÁËÇý¶¯£¬µ«ÊÇÔÚTOMCATÉÏÕÒ²»µ½ÄǸöÇý¶¯¶øÒý·¢µÄ´íÎ󡣡£¡£
½â¾ö°ì·¨£ºÊ×Ñ¡ÏîÉèÖÃÀMyRclipse->J2EE Project->Web Project->Deployment¹´ÉÏÄÇÈý¸öÇý¶¯¡£ ......
Ê×ÏÈ,FCKEDITORµÄÐÔÄÜÊǷdz£ºÃµÄ,Óû§Ö»ÐèºÜÉÙµÄʱ¼ä¾Í¿ÉÒÔÔØÈëFCKEDITORËùÐèÎļþ.¶ÔÓÚÆäËûÔÚÏß±à¼Æ÷À´Ëµ,Õ⼸ºõÊǸöºÜÄѽâ¾öµÄÄÑÌâ,ÒòΪÔÚ¿ªÆô±à¼Æ÷ʱÐèҪװÔØÌ«¶àµÄÎļþ.±ÈÈçCUTEEDITOR,ËäÈ»¹¦ÄܱÈFCKEDITOR»¹ÒªÇ¿´ó,¿ÉÊÇ,Ëü±¾ÉíÒ²¹»ÅÓ´óÁË,ÖÁÓÚFREETEXTBOXµÈ,ÆäÒ×ÓÃÐÔÓëFCKEDITORÏà±È,ÉÐÓвî¾à,¿ÉÒÔ˵,FCKEDITORÊÇÒ»¸ö ......
ºÜ¶àSOHOER¶¼Ï£ÍûÓиö×Ô¼ºµÄÍøÕ¾,¶ø¶ÔÍøÕ¾½¨ÉèÒ»ÎÞËùÖª,»òÕßÒ»Öª°ë½â.½ñÌìÎÒÏȽ²³ÌÐò·½ÃæµÄÇø±ð,ÏàÐźܶàÈËÅöµ½ÁËÓÐЩ¹«Ë¾Ëµphp±ÈAsp,Asp.Net¶¼ÒªºÃ,»òÕßAsp±ÈÆäËûÓïÑÔ¶¼ÒªºÃ¡£Æäʵ,³ÌÐòµÄÓÅÂÔÓëÍøÕ¾¿ª·¢ÈËÔ±µÄ¾Ñé\¼¼ÊõˮƽÏà¹Ø£¬¶øÓïÑÔ±¾Éí²¢Ã»ÓÐʲôÓÅÂÔÖ®·Ö.¾Ñé¶àµÄ³ÌÐòÔ±,²»¹ÜʹÓõÄÄ ......
JSPÐÂÎÅ·¢²¼ÏµÍ³androidÐж¯Íø
´ËÍøÕ¾µÄÑÝʾµØַΪ:http://www.androidgo.cn
²âÊÔÍøÖ·: http://ja00028.j01.netjsp.com
ÏÂÔصØÖ·::http://download.csdn.net/source/1653791
¼¼ÊõʵÏÖ:²ÉÓÃJSTL±êÇ©,»ùÓÚservlet,jdbc¿ª·¢¡£Ê¹ÓÃmysqlÊý¾Ý¿â¡£
Éè¼ÆÓÅÊÆ:Ò»Çм¼ÊõʹÓÃ×îµ×²ãµÄ£¬Ã»ÓÐʹÓÃssh¿ò¼Ü£¬¿ÉÒÔÔÚÈκιúÄÚµÄjs ......