Tomcat Newsgroup?
Just curious, since this mailing list gets so much traffic, is there any desire to create a newsgroup instead? It would be great to be able to search old posts using a newsreader or google groups. cheers, David White -Original Message- From: David Wall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 10:25 AM To: Tomcat Users List Subject: Tomcat List Duplicates? Is anybody else getting duplicate emails from the Tomcat list? I not only seem to get duplicates, but I even get messages that I'm sure I saw yesterday arrive again today (such as my own postings). David -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Possible To Share A Session Across Ports 8080 and 8443?
Due to problems with my cable modem, please respond via email as well as to the list if possible. Thanks... I am running Tomcat 3.2.x in development mode with default http on port 8080 and default https on port 8443. My web application needs to switch in and out of https on occasion while prompting for/passing sensitive info. The rest of the time, it is fine in normal http. I have found (experimentally) that the browser does not seem to be passing the cookie containing the JSESSIONID value back and forth between urls like http://hostname:8080/webapp and httpa://hostname:8443/webapp. I am guessing that this is because the host names are different and the browser maintains cookies on a per-host name basis. So when I do the switch between http and https, I loose my session data. I have tried getting the value of the JSESSIONID cookie and appending its value to the url I go to whilst switching (ex. http://hostname:8443/webapp;jessionid=xxx) hoping that I could get the session info maintained. However, this did not appear to work either. Can anyone please give me a way to do this? If I use the default ports (80 and 443), I do not have to place the port id in with the hostname on the url. In this circumstance, I do get session state preserved. This would appear to be because the hostname portion of the url does not change. It is just something of a pain to use ports lower than 1024 on Linux for development (have to be root). Thanks in advance for you help. David _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Is jsp:xxx Reserved?
I am rather new to JSP. However, I note that many standard jsp commands are XML elements that begin with (are in the namespace?) jsp:. What I have found is that Tomcat seems to not reserve this prefix (namespace?) for use by the jsp engine. For example: I can delcare a taglib and give it the prefix jsp and get no complaints. I am not sure what will happen but it seems confusing at best, tramatic at worst. Also, if I screw up and enter jsp:incude instead of jsp:include, Tomcat does not complain or find any error. It simply takes the data and places it on the servlets output. This seems to be little help either. I have looked at the current JSP spec and find nothing on this one way or the other. It would seem a minor imposition to require that the prefix jsp be reserved and that the allowed commands within that prefix to be enforced by Tomcat. Tomcat complains when I screw up on the use of an explicitly declared tag library element. It complains if I forget to provide a required attribute to either a valid jsp:xxx command or a declared tag library command. I am wrong to expect the behaviors that I do not see? Thanks, David
RE: jsp and tomcat 4
I've been having the same problem. When I modify a JSP, it isn't recompiled automatically. However, if I delete the .class file associated with the JSP, both the .java and the .class files associated with the JSP are rebuilt. So I've been deleting the .class files whenever I make JSP changes. I recall someone on this list mentioning that Tomcat 4b5 had a known bug regarding detection of changes in source files, so I've assumed that was the problem I've been seeing. I'm using standalone Tomcat 4b5 in a Win2000 environment. If anyone knows of a configuration change or a work-around that could get my JSPs to compile properly when changed, please let me know! Thanks David -Original Message- From: Oskar Zinger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 10:41 AM To: [EMAIL PROTECTED] Subject: Re: jsp and tomcat 4 You need to make changes to a jsp file, not java file. Tomcat will detect changes automatically and will translate jsps into java files and then compile them. --- Oskar Marco Magistrali wrote: Hi, I have a question: if I modify a JSP under tomcat4 i don't see any change in browser because tomcat4 get the .class of JSP in cache (directory work) How can I say to recompile the jsp if there are changes in java?? tanks Marco