Re: How does one configure Plain host domain url to run web app?

2007-03-17 Thread Rashmi Rubdi
Thank you for adding the Virtual Hosting how-to, and it is very nicely written too. I find it useful and easy to configure multiple apps in: $CATALINA_HOME/conf/Catalina/ren/ROOT.xml $CATALINA_HOME/conf/Catalina/stimpy/ROOT.xml rather than having the Context entries in server.xml , so now

Re: Newbie..localhost works but not IP

2007-03-17 Thread rmarra
But when I enter http://[myIPaddress]:8080/ from a different machine, I not able to see the Tomcat homepage. Please provide me a few pointers on this issue. The different machine is on the same network or is an external one? Did you setup your router? There is maybe a firewall on the different

Re: creating user url...

2007-03-17 Thread kace
thanks Edmond, ill google for getPathInfo(). Can the directory for each company be created on the fly? Kace -- View this message in context: http://www.nabble.com/creating-user-url...-tf3417316.html#a9528021 Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: Newbie..localhost works but not IP

2007-03-17 Thread Bruno Vilardo
Hello Anna, Can you ping this other machine?? You can try to add the host name and ip address (Machine that has Tomcat) on your hosts file. c:\windows\system32\drivers\etc\hosts Have you tried to use the hostname instead of the IP Address?? I have a similar issue when I installed a WMWare

Re: creating user url...

2007-03-17 Thread EDMOND KEMOKAI
You can create directories using the java.io package. Unless you're going to store a lot of per company info like images and such, using the getPathInfo is the better solution. Even if you want to store per company data, you can store all such files in one directory with ids stored in a database.

Re: Non-Latin Character Display

2007-03-17 Thread Vernon _
As I mentioned in my post, I already have the JSP page set as HTML: meta http-equiv=Content-Type content=text/html; charset=utf-8 / JSP: %@ page contentType=text/html;charset=UTF-8 language=java % Mark was suggesting that you set the request encoding, not the response encoding. The

Re: Non-Latin Character Display

2007-03-17 Thread Rashmi Rubdi
I haven't been following this thread, and don't know what the original request / problem was but, perhaps you may find this article useful - it's written very well IMHO. Character Conversions from Browser to Database http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/index.html

Security problems with caseSensitive to false

2007-03-17 Thread Giuseppe Santamaria
Hi I know which to set tomcat for the NOT case sensitive, necessity to use the Context caseSensitive=false of the web application. but this documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ) say NOTE: This flag MUST NOT be set to false on the Windows platform (or

RE: Security problems with caseSensitive to false

2007-03-17 Thread Caldarale, Charles R
From: Giuseppe Santamaria [mailto:[EMAIL PROTECTED] Subject: Security problems with caseSensitive to false Is there a way to avoid which jsp code to be visible (in the browser) through the request filename.JSP , in other words calling the file jsp with uppercase extension? You could

AW: Non-Latin Character Display

2007-03-17 Thread Konstantin Breu
The original post was this: http://mail-archives.apache.org/mod_mbox/tomcat-users/200703.mbox/%3cBAY103- [EMAIL PROTECTED] (text also quoted below) I have tested it with Eclipse 3.2 and Tomcat 6 (jre1.5.0_10), with chinese, korean and hebrew characters, it works... Which Tomcat and JDK version

RE: AW: Non-Latin Character Display

2007-03-17 Thread Vernon _
Thanks both Konstantin and Rashmi. The recommended article covers all aspects of non-Latin language Java web development. I already did all recommended steps whenever they were applied. So, why I didn't get the character display correctly? The Java web applications I have always use some sort

form-based authentication

2007-03-17 Thread Ali Baharev
If i deploy the war file http://www.onjava.com/onjava/2002/06/12/examples/security-form-based.war it works fine. If i place a main.html file in the protected folder, i get and error 404 for the following: http://127.0.0.1:8080/security-form-based/protected/main.html With a different war file