jspÒ³Ãæ»ñÈ¡sessionµÄÎÊÌâ - Java / Java EE
ÎÒÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ã滹¿ÉÒÔÈ¡³öÖµÀ´.
µ«ÊÇһˢÐÂ,»òÕß´ò¿ªÐµÄÒ³Ãæ¾ÍÈ¡²»³öÖµÀ´ÁË.
Ææ¹ÖµÄÊÇ,ÎÒ²âÊÔÁíÒ»¸ö³ÌÐòʱºò
ÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ãæ¿ÉÒÔÈ¡³öÖµÀ´,ˢлò´ò¿ªÐÂÒ³ÃæÖµÄÜÈ¡³öÀ´ÁË.
°ïÎÒ¿´¿´ÕâÊÇÔõô»ØÊÂ?
ÖØÆôһϷþÎñÆ÷£¬ÊÔÊÔ¿´£¡£¡£¡
¸úIE »òÕßJ2EEÈÝÆ÷»º´æÓйØ
Ò»°ã×îºÃÊÇÔÚ´úÂëÀïÃæ¼ÓÉÏ»º´æˢеķ½·¨
¿´¿´ÊDz»ÊÇËüÊDz»ÊǹýʱÁË£¬»òÕßûÓиÄʱ¼ä
¿ÉÄÜÊÇ»º´æµÄÔÒò
Ïà¹ØÎÊ´ð£º
Ò»¸öÏîÄ¿Òªµ÷ÓÃjavaµÄwebservice£¬µ«ÊÇÀÏÊÇÅ׳öÒì³£....
Òì³£:WSS4JInHandler: Request does not contain required Security header
µ÷Ó÷½·¨ÊÇ FindXXXX(header myHeader,params xxx)
ÆäÖÐheaderÖ ......
import java.sql.*;
public class Test {
public static void main(String[] srg) {
String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //¼ÓÔØJDBC ......
ÊÖÍ·ÉϵÄÏîÄ¿Òªµ÷ÓÃÒ»¸ö jsp ÍøÕ¾µÄÒ³Ãæ,µ÷ÓÃÒ³Ã汨ÈçÏ´íÎó:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this ......
СµÜÎÒÔÚдJSP±êÇ©µÄʱºò£¬*.tldÎļþºÍÏà¹ØµÄÀ඼ûÓÐ´í£¬jspÒ³ÃæµÄtaglibÒ²¶¼Ã»ÓдíÎ󣬿ÉÊǾÍÊDz»Ö´ÐÐÄǸöTagSupportÄǸöÀ࣬ÔËÐнáÊøºó·þÎñÆ÷ÉÏҲûÓб¨´í£¬ÕâÊÇÔõô»ØÊÂÇë´ó¼Ò°ï°ïææ¡£
cnView1.0.tld:
......