Returning a different .jsp than the one the browser asked for...

2005-04-11 Thread Kurt Overberg
Gang, I've scoured the net looking for something that would help me do this- currently looking at Wrapping the HttpServletRequest, but not having much luck. Environment: tomcat 5.0.28 on linux, also using struts 1.1 I'm trying to make my system so that if a user asks for something like

Re: Returning a different .jsp than the one the browser asked for...

2005-04-11 Thread Kurt Overberg
? On Apr 11, 2005 9:43 AM, Kurt Overberg [EMAIL PROTECTED] wrote: Gang, I've scoured the net looking for something that would help me do this- currently looking at Wrapping the HttpServletRequest, but not having much luck. Environment: tomcat 5.0.28 on linux, also using struts 1.1 I'm trying to make

Overriding the browser language setting?

2005-03-18 Thread Kurt Overberg
Hi there all! I'm trying to override the default struts/tomcat code that chooses an ApplicationResources.properties file based on the user's browser language setting. I'd like to manage which language to serve up on my own (or based on an item in the user's session). Does anyone have any

Re: %@page isThreadSafe=false % does not work

2004-12-20 Thread Kurt Overberg
I have a situation in my webapp where the user (administrator) can 'Publish' items. I need to make it so only one person can 'publish' at a time. Would this be a valid use of 'isThreadSafe'? Would it make user #2 wait until the page had finished processing for user #1? It would save me from

Tomcat 5/Apache 2/JK2- production quality?

2004-09-29 Thread Kurt Overberg
Gang, I've been running a fairly large website (25000 pages/day) off of Tomcat4.1.30/JK/Apache1.3 for quite some time now. Its been running great, but in expectation of needing some load balancing, I'm thinking of moving to Tomcat5/Apache2/JK2. Anyone have any thoughts or experiences with

reloading classes and struts

2004-01-22 Thread Kurt Overberg
Hi all, I've poked around a bit and have been fairly unsuccesful in finding and answer to this problem. I'm running tomcat 4.1.18 on Debian (woody). I'm using struts (1.0) and for the longest time, everything was great. I could reload my classes using the manager server reload feature.

URLEncoding urls (hrefs) that are coming out of a database...

2003-08-15 Thread Kurt Overberg
Gang, I store text in my database that contains: Hello there, user, please click a href=linkthis link/a. I output this text to the user with the bean:write/ tag (I'm using struts 1.0 tomcat 4.1.27). Is there some way to make sure that my JSESSIONID will get appended to these links (for

Re: URLEncoding urls (hrefs) that are coming out of a database...

2003-08-15 Thread Kurt Overberg
(if the client doesn't support cookies). Yoav Shapira Millennium ChemInformatics -Original Message- From: Kurt Overberg [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 9:29 AM To: Tomcat Users List Subject: URLEncoding urls (hrefs) that are coming out of a database... Gang, I store text

Re: URLEncoding urls (hrefs) that are coming out of a database...

2003-08-15 Thread Kurt Overberg
Oh yes, I forgot, because the URL lives within a big block of normal text, I can't just call encodeURL on the whole thing. Seems like I need a method that will search out an a href in a string and do the jsessionid substitution on it. Ugh. /kurt Kurt Overberg wrote: Well, yeah it should

Re: Changing document root for .jsp files?

2003-08-14 Thread Kurt Overberg
to people coming in to the site), and admin and member go into the jsps dir as well. Is that possible? /kurt Angus Mezick wrote: Can't you just restrict webapp/ to have only index.jsp and directories and then change all your links? --Angus -Original Message- From: Kurt Overberg [mailto

Changing document root for .jsp files?

2003-08-14 Thread Kurt Overberg
Hi all! I have the following layout for my web application: webapp/ webapp/WEB-INF webapp/admin webapp/member I have .jsp files in the webapp directory, webapp/admin and webapp/member. When someone goes to the root of my website (www.site.com/*.jsp), it gets the files out of the webapp/

Re: Changing document root for .jsp files?

2003-08-14 Thread Kurt Overberg
/*.jsp ... or do I have to just suck it up and deal? /kurt John Turner wrote: The root directory of a webapp is the directory that holds WEB-INF. John Kurt Overberg wrote: Hi all! I have the following layout for my web application: webapp/ webapp/WEB-INF webapp/admin webapp/member I have .jsp

Re: Https not working

2003-08-14 Thread Kurt Overberg
Neither of those urls are passing through you apache, unless you have it configured to run on port 8080 (which is usually the Tomcat port). Not sure if you can configure Tomcat to use SSL directly, but I do know that just sticking an 'https' in front of it won't work. You need to set up

Tomcat/JDBC/Unicode

2003-08-14 Thread Kurt Overberg
I'm having a rather strange problem that I'm hoping someone can help me with. I'm using Struts 1.0/jsp on Debian linux under Tomcat 4.1.x and the blackdown JVM against PostgreSQL 7.3.2 . I'm attempting to convert my current SQL_ASCII database to UNICODE. I'm new to this, so am most likely

Re: Tomcat 3.3.1a - NoClassDefFoundError using service

2003-03-18 Thread Kurt Overberg
Looks like its having trouble finding your classpath. Try setting it in the Windows System Environment Variables. /kurt MaurĂ­cio wrote: Hi, I have a problem running Tomcat 3.3.1a with JavaSDK1.3. When I start Tomcat manually, everything works well. However, when I try to start Tomcat as a

Tomcat/Struts DB connection pool?

2003-03-17 Thread Kurt Overberg
I'm running Tomcat 4.1.18 with Struts (release version) on RedHat 7.3. I'm connecting to a postgres 7.3.2 database (running on the same machine) using the JDBC2 drivers. 1Gb of ram, with a decent processor. I'm using the default struts database connection stuff. Here's the struts DB config: