¹ØÓÚasp urlÖØдµÄÎÊÌ⣨ÔÚÏߵȣ© - Web ¿ª·¢ / ASP
RewriteRule ^(.*)/user/company/([0-9,a-z]*)\.html $1/user/company/$2.asp
RewriteRule ^(.*)/user/company/([0-9,a-z]*)_([0-9]*)\.html $1/user/company/$2.asp\?page=$3
RewriteRule ^(.*)/user/company/([0-9,a-z]*)_([0-9]*)\.html $1/user/company/$2.asp\?id=$3
RewriteRule ^(.*)/user/company/([0-9,a-z]*)_([0-9]*)_([0-9,a-z]*)\.html $1/user/company/$2.asp\?id=$3&action=$4
ÒÔÉÏÊÇÖØдµÄ¹æÔò
ÊäÈ룺192.168.0.66:98/user/company/pro_2.html Õý³£(¶ÔÓ¦µÚ¶þÌõ£¬²úÆ·Áбí·Ò³)
ÊäÈ룺192.168.0.66:98/user/company/modifypro_2.html ¿ÉÒÔÕÒµ½Ò³Ã浫ÊDzÎÊý½ÓÊÕ²»µ½(¶ÔÓ¦µÚÈýÌõ£¬ÓÃÓÚÐ޸IJúÆ·ÐÅÏ¢)
²»¹ýÈç¹ûÊäÈëÔÀ´µÄurl:192.168.0.66:98/user/company/modifypro.asp?id=2 ÔËÐнá¹ûÕýÈ·
ÊäÈ룺192.168.0.66:98/user/company/procode_2_del.html Õý³£(¶ÔÓ¦µÚËÄÌõ£¬É¾³ý¸Ã²úÆ·ÐÅÏ¢)
Çë´ó»ï°ï°ïæÔõôµÚ¶þÌõ×ÜÊǽÓÊÕ²»µ½²ÎÊýÄØ£¿
ÒѾ±ïÁ˺ó¤Ê±¼äÁË£¬Çë´ó»ï°ïæ°¡%%%
ÔÙ´ÎÏÈллÁË¡¡¡¡£¡£¡£¡
ÔÚ¶¥Ò»Ï°¡£¬°ïæ¿´¿´ß£¡
ÄѵÀûÓÐÈË×ö¹ýÕâ¸öÂð£¿
VB code:
<%
'ʵ¼ÊµØÖ·
QUERY_STRING = request.ServerVariables("QUERY_STRING")
PATH_INFO1 = request.servervariables("PATH_INFO")
Response.Write(PATH_INFO1&"?"&QUERY_STRING)
%>
°ÑÕâÒ»¶Î¼Óµ½ Îļþ×îÍ·²¿£¬°Ñʵ¼ÊµÄ µØÖ·ÏÔʾ³öÀ´ ÔÙÀ´ÐÞ¸ÄÄãµÄ Õý¹æÔòÎļþ
Õâ¸öºÍÎÒÎʵÄÎÊÌâÓйØϵÂð£¿
·¾¶ºÍurlÊÇÎÒÏëÒªµÄ
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
ÎÒÒ»¸öÏîÄ¿£¬Óиö²åÈë²Ù×÷£¬¾ßÌåÊÇÕâÑùµÄ£º
ÎÒÓнø»õÐÅÏ¢±í¡£ÔÚ³ö»õʱѡÔñÏàÓ¦µÄ½ø»õÐÅÏ¢£¬ÊäÈëÊýÁ¿£¬Ñ¡Ôñ²¿Ãź󣬵㱣´æ°´Å¥£¬ÓÉÓÚÍøÂçÑÓʱ£¬µãÒ»ÏÂûÓз´Ó³£¬ÓÚÊÇÓû§¾ÍÓÖµãһϣ¬µ¼ÖÂÒ»´Î²åÈëÁËÁ½Ìõ¼Ç¼:
Àý£º
......
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
Ä¿Ç°ÊÇA.aspÃæÒ³ÓÐÒ»¸ö±äÁ¿aa,Ôõô²Å¿ÉÒÔ´«µ½B.aspÒ³Ãæ,²»ÊÇÓÃURL´«,ÏëÓÃ<inupt >¿Ø¼þÔõô´«°¡!Çë´ó¼ÒÖ¸µã!
ÓÃ±íµ¥´«Öµ
´«Öµ£¬GETºÍPOST£¬ÒªÃ´´ø²ÎÊý£¬ÒªÃ´ÓÃform
¶øÇÒ£¬Èç¹ûÄãÁ½¸öÒ³ÃæûÓÐÈκιØÁª£¬´«Ö ......