Re: How to POST very large data to Servlet? (a question about ServletRequest.getInputStream)

2002-03-26 Thread Christopher Bare
You should look for information on Multipart requests. It's a modification of the standard http request that uses a format similar to that used by the SMTP email protocol. It's used for uploading files from a browser to a server. I think Struts has a handler for multipart requests, and there is

Re: response.sendRedirect not redirecting

2002-03-19 Thread Christopher Bare
--- Mostafa Al-Mallawani [EMAIL PROTECTED] wrote: Hi, I have a problem with redirecting. In my JSP page I keep checking for errors, whenever I catch one, I set a variable on the session object and then forward to an error page; this could happen up to 5 times in one page. The weird

Re: question about tomcat configuration

2002-03-19 Thread Christopher Bare
--- Cheng Yan [EMAIL PROTECTED] wrote: Hi, all, I just installed tomcat 4.0 binary on my Solaris 8 box at home. This Solaris machine is connected to my w2k pc through a linksys router, which is connected to a cable modem. I'm a beginner, but we have very similar setups, so maybe we can

Help with apache-mod_webapp-tomcat redirecting problem

2002-03-19 Thread Christopher Bare
I'm trying to set up an apache-mod_webapp-tomcat web server. My problem is that mod_webapp redirects certain kinds of requests, and when it does this, it always uses the value of [ServerName] set in httpd.conf. This is problematic if I use localhost or an internal (192.168.x.x) ip address to

mod_webapp redirects to ServerName

2002-03-14 Thread Christopher Bare
Hello Tomcatters, I am using mod_webapp to connect Tomcat and Apache. I'm having a problem: Let's say I make a request to my server for any of the following: http://www.mydomain.com/examples/jsp/ http://192.168.0.100/examples/jsp/ http://127.0.0.1/examples/jsp/ http://localhost/examples/jsp/

Re: Starting apache and tomcat on reboot - Solaris 8

2002-03-14 Thread Christopher Bare
On Sparky, my Ultra5, which has a clean install of Solaris8, there is a file called '/etc/rc3.d/S50apache'. This file holds a small script that starts up apache. You should have a look at it, and you can probably write a similar file for starting up Tomcat. Maybe call it '/etc/rc3.d/S51tomcat'.