, William H. wrote:
Have you tried adding
welcome-file-list
welcome-filemain_page.html/welcome-file
/welcome-file-list
to your application's web.xml file?
-- Bill
-Original Message-
From: jeusdi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 4:28
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
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 the image
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: jeusdi [mailto
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
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
?
-
Yassine ELassad (YEL) wrote:
Hi jeusdi,
in your Apache configuration you juts Jkmount JSP files that are
inside your Application as the statement say:
JkMount /ecommerce/*.jsp treb
and you are trying to get this :
/ecommerce/servlets/ControllerServlet
which does not match
, 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/Controller treb
and in web.xml file I've changed mapping --
servlet-mapping
servlet-nameController/servlet-name
url-pattern/ecommerce
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 access it.
If I try
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) {
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
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:
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
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
VirtualHost
jk2.conf --
JkSet config.file /etc/apache2/properties/workers2.properties
httpd.conf --
ServerName 192.168.1.2
NameVirtualHost 192.168.1.2:80
VirtualHost 192.168.1.2:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/tomcat/webapps/ecommerce
ErrorLog
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
16 matches
Mail list logo