RE: Redirection

2008-07-23 Thread jeusdi
ks for all. Radcliffe, William H. wrote: > > Have you tried adding > > > > main_page.html > > > to your application's web.xml file? > > > -- Bill > > -Original Message- > From: jeusdi [mailto:[EMAIL PROTECTED] > Sen

Redirection

2008-07-22 Thread jeusdi
Hello list. Actually, when I want to access to the main page of my web application, I write ip/directory1/directory2/main_page.html I would need that when I write the url--> http://ip, directly shows the main_page file, in order when I publish the web application http://www.grupmicros.com r

RE: docBase application directory

2007-08-19 Thread jeusdi
estructura.css gmsoft.css NiftyCorners web_gm/dtd: web_gm/img: background_posttittle.png pageheader_background.png web_gm/js: NiftyCorners web_gm/META-INF: context.xml MANIFEST.MF web_gm/tlds: web_gm/WEB-INF: classes lib web.xml Caldarale, Charles R wrote: > >> From: jeusd

docBase application directory

2007-08-19 Thread jeusdi
Hello forum, As you can see in http://i16.photobucket.com/albums/b45/jeusdi/doubt.png , from a CSS file I refer to /img/pageheader_background.png, but when I load the HTML page, the image isn't loaded. So, I believe tomcat doesn't found the image: CSS file is under css folder and th

I'm in a mess with Tomcat 5.5

2007-08-18 Thread jeusdi
I've installed Tomcat 5.5 into my Ubuntu + sun-java-1.5, tomcat5.5-webapps and tomcat5.5-admin. I'm in a mess because the structure of directories has changed. For example: *tomcat5.5-webapps package installs webapps into /usr/share/tomcat5.5-webapps, but tomcat5.5 is in /usr/share

AspectJ with Tomcat

2006-08-20 Thread jeusdi
Hello, I'm using AspectJ capabilities on my web application on Eclipse. I want to add logging functionality. Concretelly, I've created a ControllerServlet that receive all user requests and I want write or log this user actions in my log file. So, I've added a aspect that does it: package com.

Re: Servlets mod_jk Context path problems

2006-08-16 Thread jeusdi
MMM, I've just probed to access http://192.168.1.2:8080/ecommerce/ecommerce/Controller and I've accessed to the servlet. What must I change to access as http://192.168.1.2/ecommerce/Controller? jeusdi wrote: > > So, the problem surges out form tomcat because I can't acc

Re: Servlets mod_jk Context path problems

2006-08-16 Thread jeusdi
> tomcat > > Greeting Yassine > Cologne, Germany > > > > > On 8/16/06, jeusdi <[EMAIL PROTECTED]> wrote: >> >> Mmm, I've changed httpd.conf file and web.xml file to this --> >> >> In httpd.conf I've added JkMount /ecommerce/C

Re: Servlets mod_jk Context path problems

2006-08-16 Thread jeusdi
ce/Controller) is not available. Note: Context path value is "/" and docBase = "/usr/local/tomcat/webapps/ecommerce". Is it important? - Yassine ELassad (YEL) wrot

Servlets mod_jk Context path problems

2006-08-16 Thread jeusdi
Hello, I'm muddling up with Servlets configuration, Context configuration, VirtualHost configuration, and more... My problem is that I have 2 domains --> ecommerce.gmsoft.com and www.gmsoft.com and both are web applications. The first problem is that I don't know how configure Apache (http.

Listener doesn't listen

2006-08-12 Thread jeusdi
Hello, mmm I have a Listener /** * @web.listener * name ="initSession" * display-name ="InitSession" * description ="Inicialitza una sessiĆ³ individual." * */ public class InitSession implements HttpSessionListener { public void sessionCreated(HttpSessionEvent arg0) {

Re: tomcat JSP Servlet Apache JK2

2006-08-09 Thread jeusdi
So, What must I change in my configuration files. I want that I access to 192.168.1.2 appear my login.jsp. I'm very stressed. I have a feeling I do all right. I understant it. my login.jsp is located in /usr/local/tomcat/webapps/login.jsp -- View this message in context: http://www.nabble.com

Re: tomcat JSP Servlet Apache JK2

2006-08-09 Thread jeusdi
Hello, mmm, I've compiled and linked and configured mod_jk with Apache 2.0 correctly, but I doesn't work correctly. Mmm, if I access to http://192.168.1.2 explorer continues show me the code of my JSP, but if I access to http://192.168.1.2/ecommerce/login.jsp it shows me correctly the JSP forma

Re: tomcat JSP Servlet Apache JK2

2006-08-08 Thread jeusdi
mmm, but if I configure workers2.properties to show me the ROOT Tomcat web application it show me index.jsp correctly!! If there is no choice can I use mod_jk in Apache2? I say it because I perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads apache1.3, but I want use Apache2 wi

Re: tomcat JSP Servlet Apache JK2

2006-08-08 Thread jeusdi
jk2.conf --> JkSet config.file "/etc/apache2/properties/workers2.properties" httpd.conf --> ServerName 192.168.1.2 NameVirtualHost 192.168.1.2:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/tomcat/webapps/ecommerce ErrorLog /usr/local/tomcat/webapps/ecommerc

stress ROOT application instead my application

2006-08-08 Thread jeusdi
Helo World, I'm trying configured my apache to communicate with Tomcat. Mmm, I've created a aweb application contained in webapps tomcat directory. This application is named ecommerce. So in my httpd.conf file I put this: ServerName 192.168.1.2 NameVirtualHost 192.168.1.2:80 ServerAdmi

tomcat JSP Servlet Apache JK2

2006-08-08 Thread jeusdi
Hello, I've configured Apache Web Server with mod_jk2 to communicate it with Apache Tomcat 5.5. Mmm, I've created a Web Application with one JSP (index.JSP) and one Servlet (it is performed form JSP). All is ok, but when I access to my web Application the result is the code of my JSP instead a si