Re: Reading from files in servlet from Tomcat-4.0.4

2002-08-12 Thread TOMITA_ALEX_NONLILLY
Hi, you need to put the file in /TOMCAT_HOME/bin I had the same problem and first I made a simple servlet code that writes a txt file, then I look for that file and Tomcat put it in /TOMCAT_HOME/bin regards Alex Tomita khozaima shakir [EMAIL PROTECTED] 10/08/2002 04:30 p.m. Please

Quick Question

2002-08-12 Thread TOMITA_ALEX_NONLILLY
Hi all, I wrote a simple java bean that reads a txt file, the problem is where do I need to put the txt file??... What is the default directory in Tomcat?? when I put something like this in my java bean : FileReader(config.txt) Where does tomcat look for that file? thanks Alex

RE: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
Hi all, I'm trying to resolve this problem with all the solutions that you gave me, but it doesn't work... This is what I did: in my java bean (not a servlet), I have this code: public class DbBean { public int Connect() { InputStream is =

Re: Re[2]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
My bean is WEB-INF/classes Jacob Kjome [EMAIL PROTECTED] 13/08/2002 10:43 a.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re[2]: Quick Question Hello TOMITA, Where does your Bean exist? Is it in

Re: Re[2]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
Can I use something like this in my jsp page (instead of a java sevlet) to get the parameter name?, before that I set the parameter in my web.xml file like this: context-param param-nameparameter name/param-name param-valuelocalhost/param-value /context-param String value =

Access Parameter

2002-08-13 Thread TOMITA_ALEX_NONLILLY
Can I use something like this in my jsp page (instead of a java sevlet) to get the parameter name?, before that I set the parameter in my web.xml file like this: context-param param-nameparameter name/param-name param-valuelocalhost/param-value /context-param String value =

Re: Re[4]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
thanks for the information, I'm going to test it out. Michael E. Locasto [EMAIL PROTECTED] 13/08/2002 12:34 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Re[4]: Quick Question Check out the

Re: Access Parameter

2002-08-14 Thread TOMITA_ALEX_NONLILLY
thanks to all... finally I resolved my problem, to get a parameter I used application.getIniParameter(parameter name) in my jsp page.. thanks again Alex Cédric Viaud [EMAIL PROTECTED] 14/08/2002 07:57 a.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL

Re: Bean on Tomcat

2002-08-14 Thread TOMITA_ALEX_NONLILLY
I'm using java beans in Tomcat (not EJB), and I just put them in WEB-INF/classes... regards Alex Cédric Viaud [EMAIL PROTECTED] 14/08/2002 07:59 a.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Bean

Re: Connection pooling using Jakarta commons

2002-08-14 Thread TOMITA_ALEX_NONLILLY
Hi, I think you can add those parameters in your web.xml file... something like this: context-param param-namefactory/param-name param-valueorg.apache.commons.dbcp.BasicDataSourceFactory/param-value /context-param please, correct me if I'm wrong... Alex Capr1ce [EMAIL

RE: Access Parameter

2002-08-14 Thread TOMITA_ALEX_NONLILLY
thanks for the advice... Actually I need to learn java servlet Does anyone can recommend me a good java servlet book in amazon? thanks again Alex Shapira, Yoav [EMAIL PROTECTED] 14/08/2002 08:13 a.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL

Enterprise Java Beans (EJB)

2002-08-14 Thread TOMITA_ALEX_NONLILLY
Hi Does Tomcat support EJB?. if not, is there a project to migrate tomcat to support EJB?... it will be a very nice feature... Alex

Re: Setting up web pages with tomcat

2002-08-14 Thread TOMITA_ALEX_NONLILLY
Hi, it's very simple, you need to create a context in webapps directory under tomcat Tomcat_Home/webapps/yourweb/index.html or index.jsp then you should go to http://localhost:8080/yourweb/index.html this is what you need to do Alex Gavin Alexander [EMAIL PROTECTED] 14/08/2002

RE: Enterprise Java Beans (EJB)

2002-08-15 Thread TOMITA_ALEX_NONLILLY
Thanks for the information !!... John Naldoza [EMAIL PROTECTED] 14/08/2002 10:20 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Enterprise Java Beans (EJB) Hi, Perhaps you may want to look into

Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread TOMITA_ALEX_NONLILLY
I will appreciate it too. thanks.. Alex bwinders [EMAIL PROTECTED] 03/09/2002 07:41 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing I think

RE: Apache Tomcat

2002-09-04 Thread TOMITA_ALEX_NONLILLY
Hi John, I was reading your post and it seems very interesting, I'm a newbie with these tomcat stuff... I read a lot of emails in the past about the connectors, but what I don't understand is what is the function of these connectors... I know that Apache and Tomcat use these connectors for

RE: Is Tomcat just an add-on?

2002-09-04 Thread TOMITA_ALEX_NONLILLY
but when Tomcat is integrated with Apache, what happens with the webserver that comes with Tomcat??? Are ports 80 and 8080 working when both of them are integrated???... Alex Andy Eastham [EMAIL PROTECTED] 04/09/2002 04:49 p.m. Please respond to Tomcat Users List To:

Re: Documentation

2002-09-30 Thread TOMITA_ALEX_NONLILLY
It would be great to have a website with all the documentation and I would love to help building this website... regards, Alex Robert L Sowders [EMAIL PROTECTED] 30/09/2002 04:01 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED]