• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question about Tomcat in IIS,The Session is not effect!! Please help!

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!

 
Tony Ge
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Who can help!!
thanx!
 
reply
    Bookmark Topic Watch Topic
  • New Topic