Address already in use error

2005-04-28 Thread Pawson, David
tc 5028 on Redhat. catalina.out shows 28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in use:80 Cleared by rebooting the system. Any suggestions as to a cause please? Apache isn't running, AFAIK there

RE: Address already in use error

2005-04-28 Thread Pawson, David
-Original Message- From: Lutz Zetzsche 28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in use:80 Cleared by rebooting the system. Any

doPost action in response to curl post

2005-04-19 Thread Pawson, David
I'm a bit lost using doPost() to react to a curl test post with an xml file, either post or put. http://curl.haxx.se/docs/httpscripting.html Seemingly I need to use commons fileupload for an RFC 1867 post curl -F [EMAIL PROTECTED] -F press=OK [URL] which seems overly complex for a

RE: Can't multipart post large(ish) files via Tomcat 5.0.28

2005-04-19 Thread Pawson, David
http://jakarta.apache.org/commons/fileupload/using.html says // Create a new file upload handler DiskFileUpload upload = new DiskFileUpload(); // Set upload parameters upload.setSizeThreshold(yourMaxMemorySize); upload.setSizeMax(yourMaxRequestSize); upload.setRepositoryPath(yourTempDirectory);

java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Pawson, David
Been trying out java 1.5 Now back to using 1.4.2.06 When I run what was a working servlet, I'm getting the above error, and 'Unsupported major.minor version 49.0' Is this Tomcat or java please? Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained in this

RE: java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Pawson, David
-Original Message- From: Peter Crowther 'Unsupported major.minor version 49.0' Is this Tomcat or java please? Java. A .class file has been compiled with a more recent compiler than the runtime that's in use. Did you compile the servlet

RE: webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
-Original Message- From: Anoop kumar V If you need help then u will have to provide more information. Since this is quite an unusual problem - anything out of the ordinary will be a good place to start from. I suggest you start from the log files - check

RE: webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
-Original Message- From: Tom A We have seen this before when accidentally leaving a old context descriptor in $tomcat_home/conf/Catalina/localhost/ This happened after we created a context.xml inside the WAR and forgot to delete the old one. Hi Tom. I

RE: clean start. Was webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
Clean installation of tomcat 559, Change the port to 80 (server.xml) No security. System now working well. Lesson, dont install the admin gzip unless you know what you are doing :-) Sorry to waste the bandwidth. Final question. I chose the .gzip package rather than the .exe (for win2k

RE: tomcat 5.5 help

2005-04-13 Thread Pawson, David
Just run through similar checks. Clean install of 559, html at /ROOT works jsp at webapps/myapp/index.jsp works .class at webapps/myapp/WEB-INF/classes works. Early problem was not using the jar files from the new installation for compiling. Just need to check that logging works. I think that

RE: clean start. Logging in tomcat 559

2005-04-13 Thread Pawson, David
Now I have logging working. Using log4j-1.2.9 My application is 'hub' put the properties file named log4j.properties in tc's classpath (I use webapps/hub/WEB-INF/classes ) put the log4j-1.2.9.jar into webapps/hub/WEB-INF/lib Init as follows: //jakarta log4j import org.apache.log4j.*; import

RE: META-INF/context.xml question

2005-04-12 Thread Pawson, David
-Original Message- From: [EMAIL PROTECTED] Following is a version of a context.xml file that goes in the META-INF directory of a webapp. ?xml version=1.0 encoding=UTF-8? Context path=/Ex12 Logger

webapps/MYAPP/* removed

2005-04-12 Thread Pawson, David
tc 5.5.7, each time I try and access localhost/MYAPP a) I get a 404 b) Every now and then the entire structure under webapps/MYAPP is deleted. Is there some control I'm missing please? Perplexed. Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained in this

RE: special characters in property files

2005-04-08 Thread Pawson, David
I need to retrieve a value from a property file with a '$' as part of the data. How do I decorate this character so that the value will be loaded when I call ResourceBundle.getString() ? I am not having much success googling for it. If its an XML file, then specify the

RE: error-page in web.xml and cache-control

2005-04-07 Thread Pawson, David
-Original Message- From: Jason Bainbridge Hence I'm looking for a means of trapping that error for either a re-direct, or to an error page. HTTP 1.1 seems not to class that as an error, hence I'm looking for another way to access that 'bad' state.

RE: Custom 404 page when a webapp is stopped by the manager

2005-04-07 Thread Pawson, David
-Original Message- From: Pascal Gauthier we have a tomcat webapp that needs to be down if we are doing a maintenance to the database. The manager seems to be the perfect solution to make the application unavailable but we found out that the 404

error-page in web.xml and cache-control

2005-04-06 Thread Pawson, David
I'm using response.setHeader(cache-control,no-cache); and tomcat is correctly telling me that the page has expired when I use the browser back button. I can't find out what error (if any) this is, to trap it using the error-page element. Is it possible to trap this error please? Regards

RE: error-page in web.xml and cache-control

2005-04-06 Thread Pawson, David
-Original Message- From: Anto Paul I'm using response.setHeader(cache-control,no-cache); and tomcat is correctly telling me that the page has expired when I use the browser back button. What is the exact message you get when clicking

RE: error-page in web.xml and cache-control

2005-04-06 Thread Pawson, David
-Original Message- From: Jon Wingfield Sounds like the message IE gives when you hit back to a page served in response to a POST request. http://theserverside.com/news/thread.tss?thread_id=28366 http://theserverside.com/news/thread.tss?thread_id=29758

RE: error-page in web.xml and cache-control

2005-04-06 Thread Pawson, David
Bit of clarification. A = initial page B = target of link both pages have cachecontrol set to no-cache. Follow link from A Hit back button then the message shows. The only time I get *any* of my error pages to show is when I do a refresh on A, after getting there by a back button. Then it goes

RE: cache issue

2005-04-05 Thread Pawson, David
Using ie6, when I use the 'previous page' link from the browser, the request.getHeader(referer) value is untrue. If I link through a site, A - B - C then back to B, the 'referer' value still shows A. Has anyone resolved this please? regards DaveP -Original Message- From: David

RE: Fwd: non-root on 80

2005-04-05 Thread Pawson, David
-Original Message- From: Pete Stevens You can do it with jscv which binds port 80 as root and then drops the priviledges for running tomcat. Our guide for virtual linux servers is here, it's a ready to roll config if you have tomcat in

Location of javascript files.

2005-03-29 Thread Pawson, David
I'm having problems locating a javascript file. {catalina_home}/project/x.html finds an external javascript file in the same directory quite happily. script language=JavaScript1.2 type=text/javascript src=upload.js/script Same thing from a jsp file When I convert the jsp

RE: Location of javascript files.

2005-03-29 Thread Pawson, David
-Original Message- From: Peter Crowther When I convert the jsp file to /project/WEB-APPS/class/x.class where would you expect the javascript file to be found please? By what URL is the client accessing the page (FileProperties or

RE: Location of javascript files.

2005-03-29 Thread Pawson, David
Problem solved! Worthy of note: script language=JavaScript type=text/javascript src=upload.js/script the space after javascript was the criminal! remove it and its back working again. Because I'd converted from jsp to java, I'd been careless with the whitespace; Odd one is that MS was picky,

RE: jsp imports

2005-03-24 Thread Pawson, David
-Original Message- From: Darek Czarkowski I am not sure if this is relevant but, is session data a full name of the package? I would expect to see something like com.packagename.sessionData As I've been told, I need to wrap it in a package... or in my case I'm

RE: commons-fileupload memory problem

2005-03-24 Thread Pawson, David
-Original Message- From: Elihu Smails I am trying to use the commons-fileupload classes and cannot figure out how to keep my uploads from getting stored in memory. I am using the following methods: DefaultFileItemFactory fileItemFactory = new

jsp imports

2005-03-23 Thread Pawson, David
Tomcat 5.0.28 In my index.jsp file I have %@ page import=sessionData% % sessionData s = new sessionData(); s.clrSession(session, index.jsp); % And I get the error, Cannot resolve symbol 'sessionData'. It is not in a package. What syntax must I use to locate the class

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 23 March 2005 11:31 To: Tomcat Users List Subject: Re: jsp imports It must be in a package. thanks Tim. Is there any logic in that? If tomcat searches

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: QM :If tomcat searches %servlet%/WEB-INF/classes/package/class :why can't it search without the package layer? It's got naught to do with a Tomcat failing; I'm not 'blaming' Tomcat, just saying its a mismatch with standard java.

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: Tim Funk The java file generated by the JSP is in a package. The java lanaguage disallows a packageless class if you are in a package. Makes more sense Tim. Thanks for that. Boring rewrites ahead, or convert the jsp to java.

url of caller?

2005-03-22 Thread Pawson, David
Is it possible to determine the url of the webpage from which a particular servlet was called please? I.e. the target of a 'back' action on the browser? public java.lang.String getRequestURI() is the 'current' page, I need the calling page. Regards DaveP. snip here * -- DISCLAIMER:

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mike Fowler You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mark Benussi Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. for this use, internal to my organisation, Norton isn't installed luckily!

Tomcat versions vs java vsns

2005-02-11 Thread Pawson, David
http://jakarta.apache.org/tomcat/faq/version.html relates tomcat vsns to the servlet versions. Is there a similar relationship between java versions please? Simply, will 5.0.28 run happily with java 1.5? Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained

RE: Tomcat versions vs java vsns

2005-02-11 Thread Pawson, David
applications), and I haven't moved up to 5.5 yet. regards DaveP -Tim Pawson, David wrote: http://jakarta.apache.org/tomcat/faq/version.html relates tomcat vsns to the servlet versions. Is there a similar relationship between java versions please

RE: [OT]Attn developers of Tomcat and JK

2005-02-09 Thread Pawson, David
-Original Message- From: Didier McGillis Really this is way out of line. As everyone has said this is a free product with no formalized support structure, and no claims of any support. Just doodling. My guess, tomcat in various guises, is being used

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName) ${sessionContext.mySessionVariableName} Via snippet: %=session.getAttribute(sessionData.FILECOUNT)% In a jsp - the session variable is

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL can be used anywhere one a page. Worthy of note! Thanks Tim. Do you know of any web

RE: Online docs, was jsp version of session variable access.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk The JSP examples from a default tomcat install might have some. Some, and leads into Sun documentation, which often dates from 2000. From an hours googling: regards DaveP DATE: 2005-02-08T12:39:27Z KEYWORDS:jsp, EL, Tomcat 5.0

jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread Pawson, David
Looking for the syntax to gain access to a session variable in a jsp page, rather than converting it to java. HttpSession session=request.getSession(); String s = (String)session.getAttribute(sessionData.FILECOUNT); I'm not using the xml syntax (as yet). tomcat 5028. any pointers appreciated

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built

2005-02-04 Thread Pawson, David
-Original Message- From: Richard Mixon (qwest) Bingo! That was it. I changed it from file:// to file:/// and all works now. You earlier mentioned that might be it - but I was so focused on the fact that it worked on Java 1.4.1 that I figured I had it

RE: How to run Tomcat 5.5 as a user ?

2005-02-03 Thread Pawson, David
-Original Message- From: hicham [mailto:[EMAIL PROTECTED] Sent: 02 February 2005 19:20 To: Tomcat user mailing list Subject: How to run Tomcat 5.5 as a user ? Hello usin Tomcat 5.5 under Fedora core linux , How do I get to launch it as user and

RE: Trouble with XSL transforms with JSP

2005-01-28 Thread Pawson, David
-Original Message- From: [EMAIL PROTECTED] I decided to start with something I know about, so I am attempting to transform an XML document to an HTML page via JSP. For a sanity check, I have downloaded O'Reilly's source code from JavaServer Pages, 3rd

RHEL, mysql 4.1.9 tomcat 5028, form authentication login failure.

2005-01-27 Thread Pawson, David
After chasing for a day, a nasty arose I thought others might like to know of. rhel has /etc/hosts localhost entry as 127.0.0.1 localhost.localdomain localhost If you use form authentication, with server.xml entries such as Realm className=org.apache.catalina.realm.JDBCRealm

RE: RHEL, mysql 4.1.9 tomcat 5028, form authentication login failure.

2005-01-27 Thread Pawson, David
-Original Message- From: David Smith Or grant privileges on the database to 'x'@'localhost' and 'x'@'localhost.localdomain'. Then give both accounts the same password. It won't matter which one mysql sees because they'll both work. Thanks, easier than

RE: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Pawson, David
Lionel Farbos wrote: Question : What is the reference or stable version for servlet 2.4 ? Is it Tomcat 5.0.28 or Tomcat 5.5.4 ? I don't understand why you implement 2 versions (2 branches) for this servlet API ...?

File upload location.

2005-01-18 Thread Pawson, David
I've an servlet running from /tc5028/webapps/repository and I'm storing client data in /tc5028/webapps/repository/data/ I'm curious what strategy people adopt when upgrading. I'm thinking of moving up to java 1.5 and the more recent tomcat, do people overwrite the tc installation or move

RE: File upload location.

2005-01-18 Thread Pawson, David
-Original Message- From: Francois JEANMOUGIN That's why I use catalina.base and catalina.home (CATALINA_BASE and CATALINA_HOME) as described in RUNNING.txt so that tomcat installation is independent of webapps installtion. I just have to take care about syntax

HttpSession usage

2005-01-17 Thread Pawson, David
I need to maintain state across two form submissions; the first one requires that a user confirm an int and string; the second one records a small amount of metadata, user information and transaction information. Am I right in thinking that HttpSession getAttribute and putAttribute are the right

RE: HttpSession usage

2005-01-17 Thread Pawson, David
Sounds to me like you need to do some reading on JSP/Servlets, any book will explain sessions to you and provide examples. There are numerous online resources too. No problem, nice to know I'm reading the right stuff though! You don't need to worry about identifying the

RE: HttpSession usage

2005-01-17 Thread Pawson, David
-Original Message- From: Christoph Kutzinski check the API. You can probably use: request.|*isRequestedSessionIdFromCookie http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/Ht tpServletRequest.html#isRequestedSessionIdFromCookie%28%29*() Looks good

request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
With an input form form method=get action=/repository/ckDoc name=form enctype=multipart/form-data label for=reposoArchive number:/label input name=reposno id=reposno

RE: request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
-Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 17 January 2005 14:11 To: Tomcat Users List Subject: RE: request.getParameter(), works on get, not on post yeah you need to use a special request processing api for posted

RE: ssl configuration. 5.0.28

2004-12-02 Thread Pawson, David
-Original Message- From: Shapira, Yoav Now how do I close down the http://localhost/ port, just remove the port 80 connector? Yeah. And the next tiny step: To make the entire site use https, no port mentioned, Two more changes, to use 443 instead

ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
server.xml shows !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector port=8443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 debug=0 scheme=https

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
-Original Message- From: Allistair Crossley There is no concept of definitive, only valid. Look at the connector reference for 5.0 and make your mind up about what suits your needs. The SSL specific attributes are also on this page.

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
-Original Message- From: QM : which is definitive/correct/better please? Or where is : the definitive list found? I'm not sure what you mean. What definitive list? The online Tomcat docs should be fine, It is, as Allistair pointed out. Tks. I'd

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
-Original Message- From: Allistair Crossley There is no concept of definitive, only valid. In which case the example in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html would seem to be wrong. Although it names a tomcat class, there is no such

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
className is a common attribute of the Connector element. look at the common attributes table in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Sorry. Missed that. can you post what you have used for the SSL Connector? Connector port=8443

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
-Original Message- From: Allistair Crossley correction to my last post about SSL page returning squares .. I was requesting http. https://localhost:8443/ works for my suggestions with default tomcat page. And works for me sigh/ I was

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
actually, I notice you are using keystoreFile. are you certain when you ran keystore that you used -keystore parameter? it might well be that. i generated my key without using -keystore which tomcat looks at by default. try getting that working first. On win2k, so the

What's a sealing violation please?

2004-11-02 Thread Pawson, David
From the log 2004-11-02 09:24:51 StandardContext[/servlets-examples]SessionListener: contextInitialized() 2004-11-02 09:25:52 StandardWrapperValve[putpr]: Servlet.service() for servlet putpr threw exception java.lang.SecurityException: sealing violation: can't seal package nu.xom: already

RE: What's a sealing violation please?

2004-11-02 Thread Pawson, David
Thanks for the reply Jon. -Original Message- From: Jon Wingfield It's part of the core java security model. If a package is sealed within a jar then packages of the same name cannot be defined in another jar, or elsewhere on the classpath. Within the

RE: Response and file downloads

2004-11-01 Thread Pawson, David
-Original Message- From: Justin Ruthenbeck It seems like what you want is for a user to fill out a form, click submit, then be presented with a new, fresh, form again ... with the file download on the side. If you have determined that you absolutely

RE: Can Tomcat be configured to be an FTP Server?

2004-10-25 Thread Pawson, David
-Original Message- From: Cees van de Griend Is it possible to configure Tomcat as an FTP Server? No. Tomcat is a HTTP server, not a FTP server: different port numbers, different commands, different kind of application. cut/

RE: Can Tomcat be configured to be an FTP Server?

2004-10-25 Thread Pawson, David
-Original Message- From: Dov Rosenberg If you need to include some logic with your FTP, you should really look at Kermit (I think it is from University of Chicago). It has the best command line interface around and is very capable and open source to boot. You

RE: encoding problems with UTF-8

2004-10-20 Thread Pawson, David
It looks like everything works fine if the XSL output is set to ISO-8859 but it doesn't with UTF-8. It does not seem to depend on the client browser either. Any idea? xsl:output method=html indent=yes encoding=utf-8/ xsl:template match=/ html head

RE: bad error-code syntax - ignore or throw exception?

2004-10-15 Thread Pawson, David
-Original Message- From: Shapira, Yoav Tomcat will complain if it finds errors it can't deal with. We encourage people to use an independent tool, such as XMLSpy or one of the free online variants, to validate any all XML configuration files. That applies

RE: multiple tomcat instance and log4j

2004-10-13 Thread Pawson, David
-Original Message- From: Simon Zeng Thanks for the quick response. Seperate logs for each tomcat was my proposal too. But people like to have an easy way to view them as a whole. A nice merge tool would be nice. The first and minumum requirement for the tool

RE: Help!

2004-10-12 Thread Pawson, David
-Original Message- From: Martin Crowe Could anyone point me in the right direction please - any pointers to manuals or webpages that would help, or just any knowledge that could be passed on to me regarding this. http://cymulacrum.net/writings/tomcat5/book1.html

RE: Upload File

2004-10-06 Thread Pawson, David
-Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 15:10 To: Tomcat Users List Subject: Re: Upload File Do you just not use ActionForm, David? Sorry Michael. I don't know what ActionForm is. regards DaveP ** snip here

RE: Turn off session persistence

2004-10-06 Thread Pawson, David
Jargon call :-) -Original Message- From: Shapira, Yoav Someone know a way to turn off the persistence in the web.xml ? Being a container-specific feature, and not a Servlet Spec feature, means this can never go in web.xml. containers servlet ... As someone

RE: Using XInclude in tomcat's config files

2004-10-05 Thread Pawson, David
-Original Message- From: Shankar Unni Try an entity instead of xinclude? Not many parsers are good for xinclude as yet (a mainly uninformed statement). Entity resolution is easier if the parser is setup correctly. Oh, that's what we are doing now,

RE: File upload from main program

2004-10-05 Thread Pawson, David
-Original Message- From: Sng Wee Jim Is there any free API around that allows uploading of files to the server (tomcat or weblogic) via a servlet from a main application program? (instead of from a web browser) Anything from the jakarta

RE: Upload File

2004-10-05 Thread Pawson, David
If these questions are asked on the main list, others can learn too? -Original Message- From: Caroline Jen I am trying to upload files from clients machine. I understand that we must specify METHOD=post and ENCTYPE=multipart/form-data in the FORM tag.

RE: Tomcat Question - HELP

2004-10-04 Thread Pawson, David
-Original Message- From: Shapira, Yoav Personally, I'd take this support list over any commercial support organization, hands down. +1 Try asking questions like (almost any on this list) to Redmond and see what the response is :-) regards DaveP *** snip here ***

RE: Using XInclude in tomcat's config files

2004-10-04 Thread Pawson, David
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni Sent: 01 October 2004 21:44 Alas, that didn't help. I tried setting both org.xml.sax.parser and org.apache.xerces.xni.parser.XMLParserConfiguration (the latter one being

RE:logging, configuration.

2004-10-04 Thread Pawson, David
-Original Message- From: Jacob Kjome Is it the commons-logging that produces catalina_log.date.txt? Is there a config file as per log4j? Even when testing, this file becomes quite significant. It would be nice to reduce/minimise its output.

RE: logging, configuration.

2004-10-04 Thread Pawson, David
-Original Message- From: Shapira, Yoav Comment out the RequestDumperValve (in $CATALINA_HOME/conf/server.xml) altogether: it's output is not errors, as you noted. However, it's also not a Logger per-se and so the Logger congifuration doesn't apply to it.

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: QM Executables and other server-side dynamic content( CGI, servlets/JSPs, PHP, etc) permit end-users to interact with the server in a different way: they must process user input, and in doing so, watch out for malformed values.

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: Shapira, Yoav I'm using mySQL for login name, password validation. This from a standard html static page. I can't see how I can get to this data to validate it? Is it possible? On a standard HTML static page you can use

RE: [OT] Re: log4j.properties file co-opting container logging. - Found word(s) optin in the subject

2004-09-30 Thread Pawson, David
-Original Message- From: Jacob Kjome Do you know what logger is used by default by commons-logging in Tomcat if log4j isn't present? I'm not very privy to the internals of commons-logging, but I think they have some sort of simple logger which is

Session based object, accessible to all classes.

2004-09-28 Thread Pawson, David
My tomcat 5.0.27 app currently generates session based data in a number of classes. Is there a common way of sharing a data structure across these classes? I want to instantiate it when a user logs in, add to it from one class, then retrieve data from another class. This data will vary

RE: Session based object, accessible to all classes.

2004-09-28 Thread Pawson, David
-Original Message- From: werner Eh, store the object in the session with session.setAttribute(name, object) retrieve it with (cast-to your object)session.getAttribute(name). Or is this a too simple answer for your problem ? javax.servlet.http

RE: Session based object, accessible to all classes.

2004-09-28 Thread Pawson, David
-Original Message- From: QM Yes. Think of session as another scope, like request or application: it's a bucket in which you can store any old Object (just be sure to cast it back to your expected object when you get it back). Session scope is