A question about Tomcat in IIS,The Session is not effect!! Please help!
posted 15 years ago
Hi everyone!! I add the Tomcat into The IIS (Windows 2000 advanced server),so it can execute the jsp file and not put the port after the url,but some Question come on,and i Have no edia to slove,so someone can helop !!thanx~ First : the form wasn't be posted normally,if the methord ---"post" is wrrten ,this dosen't post thie texrfield,but if the methord---"post" was be deleted , it can word normally,Why??? and if the form's default method is "post"?? Second ,the Session is not have any effect ,but the Tomcat dosn't report any errors,for example, Session.setAttribute("test","aaa"); String s=(String)Session.getAttribute("test");
the value s is null; and why !! all of these problem has maked after the tomcat added in the IIS, and if use the port 8080.it can work well!! please tell me why and how to slove ,thanx!!!