tomcat question

2002-01-24 Thread Andrea Mari

Hi,

if in a jsp file i Use a response.sendRedirect(), the path of servername
becomes http://hostname:0/context/

What's up?

Andrea


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




jdbc

2001-07-16 Thread Andrea Mari

Hi,

how can I escape automatically the query strinng when it contains invalid
character as ' or \ ?

I know that in php there is a directive that do it.

Can you help me?

Andrea




session and url rewriting

2001-06-07 Thread Andrea Mari

Hi,

I've a web application that serves html and wml files. I used the session
handling (for the web section). I would link to handlin session also for wap
section, but wap terminals doesn't support cookies. So, can I use url
rewriting for wap section, session (cookie based) for html session having
this two sections in the same web application?

Thanks
Andrea




Re: Connector

2001-05-30 Thread Andrea Mari

Thanks to all!





Connector

2001-05-28 Thread Andrea Mari

Hi,

I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable the
http connector on port 8080 without any problems?

I'm not sure.

Thanks
Andrea




Re: virtual host

2001-05-23 Thread Andrea Mari

I would a site on www.domain.com and another site on wap.domain.com. they
are the web and the wap site.

I would also that .jsp files are always sent to Tomcat , even if I call
www.domain.com/first.jsp or .domain.com/folder1/second.jsp (th same
thing for the wap.domain.com).

How do I configure Tomcat and Apache?

Thanks
Andrea
- Original Message -
From: Martin van den Bemt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 11:56 PM
Subject: RE: virtual host


 What's the use of making virtual hosts in tomcat then? (if the full
content
 of WEB-INF is the same...).. Just leave the virtual hosting to apache. I
 never set a virtual host in tomcat in my life ;-)) (they all just call the
 same context on there own host).

 Mvgr,
 Martin

  -Original Message-
  From: Andrea Mari [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 22, 2001 11:21 PM
  To: [EMAIL PROTECTED]
  Subject: virtual host
 
 
  Hi,
  I've 2 virtual hosts: xxx.doamin.com and yyy.domain.com, configured in
  server.xml (Tomcat 3.2.1) and httpd.conf (Apache 1.3.x).
 
  Can I share the WEB-INF directory between these two virtual hosts?
 
  Thanks
  Andrea
 
 





virtual host

2001-05-22 Thread Andrea Mari

Hi,
I've 2 virtual hosts: xxx.doamin.com and yyy.domain.com, configured in
server.xml (Tomcat 3.2.1) and httpd.conf (Apache 1.3.x).

Can I share the WEB-INF directory between these two virtual hosts?

Thanks
Andrea




jsp and servlet

2001-05-10 Thread Andrea Mari

Hi,

in a jsp page I have an object with scope application. Can I use this object
from a servlet?

Thanks
Andrea




auto generation files

2001-05-09 Thread Andrea Mari

How can I turn off auto gneration files?

Thanks
Andrea




Re: instanciate a servlet when tomcat starts

2001-05-09 Thread Andrea Mari

You can use the web.xml file under conf directory. This file is very simple.
Try it!

By
Andrea