Hi, this is probably a basic question but I could really use a hand.
Is there a way to simply read/display www.mydomain.com without
redirecting to index.jsp?
I found out how to do the opposite in web.xml
index.jsp
index.html
index.htm
TIA
Steve
Tomcat 5 hides index.jsp, tomcat 4 does not.
-Tim
Scott Purcell wrote:
Hello,
I have a web site that I want accessed using the dns name:
eg:
http://www.purcell.com
I have a welcome-file entry which says go to index.jsp.
Of course the page loads and the url looks like this:
http://www.purcell.
If I have correctelly understand the problem, to solve it u just have
to add in your web.xml a few lines like this:
/index.jsp
where u can change /index.jsp with any other page that you like to
display as your start page.
Hope this help,
Omar
On Thu, 3 F
Hello,
I have a web site that I want accessed using the dns name:
eg:
http://www.purcell.com
I have a welcome-file entry which says go to index.jsp.
Of course the page loads and the url looks like this:
http://www.purcell.com/index.jsp
Is there anyway to remove the index.jsp, but display th
Found out the problem. Changing the from */jsp/test.jsp*
to *jsp/test.jsp *solves the issue. The additional / causes some changes
in the url pattern and as a result the request was not considered to be
secured one. Thanks for your effort.
-Shan-
Tim Funk wrote:
Make your welcome file index.j
Make your welcome file index.jsp. Then for that specific URL (/) - have it
redirect to jsp/test.jsp. That way the external redirect forces the security
constraint to be caught. For example:
index.jsp:
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
-Tim
shanmugampl wrote:
My v
My very first page is the login screen. If i have specified security
constraints, then how can i show the login screen as the first screen.
The request should actually go to a secured screen, and this will bring
up the login screen. Thats the reason, i require the first page to be
secured. Is t
Security constraints are in the incoming URL.
[
Also welcome files *should*(but not required) be single files - not files
buried under a directory.
Good: cowbell.jsp
Bad: more/cowbell.jsp
]
-Tim
shanmugampl wrote:
Hi,
I am using 5.0.19 & I have the following definition in my web.xml file
Hi,
I am using 5.0.19 & I have the following definition in my web.xml file
* /jsp/test.jsp*
Secured Core Context
* /jsp/**
*
FORM
/login/login.jsp
/login/login.jsp
Now if i access my application as
http://loca
: [EMAIL PROTECTED]
Subject: Struts in welcome-file-list
Hi all,
I tried to get a page from my Struts application as default page in the
welcome file list (see below) but it doesn't work, it keeps going to
index.html. Am I doing something wrong or is it simply not possible?
I did
Hi all,
I tried to get a page from my Struts application as default page in the
welcome file list (see below) but it doesn't work, it keeps going to
index.html. Am I doing something wrong or is it simply not possible?
I did this:
start.do
index.html
I also tried just
-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
-Original Message-
From: Dom [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:15 PM
To: [EMAIL PROTECTED]; Tomcat Developer List
Subject: tomcat 4 & apache & mod_webapp welcome-file-list
Tomcat 4 + Apache + mod_webapp.so :
It looks like welco
thanks for your help
i´didnt know that the order of the tags plays an important role
ciao
curt
- Original Message -
From: "Pernica, Jan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 2:02 PM
Subject: RE: Problems with XML parsing: "
That is easy. Look into conf/web.dtd.
welcome-file-list need not preceede the servlet.
Regards
Jan
On Monday, May 28, 2001 1:57 PM, christian kuehrt
[SMTP:[EMAIL PROTECTED]] wrote:
> everytime i try to deploy my application i get the following message:
>
> PARSE error at line 18
everytime i try to deploy my application i get the
following message:
PARSE error at line 18 column
-1org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app
servletStarting service Tomcat-ApacheApache Tomcat/4.0-b3
and the reason for this are in the
web.xml:
Hi All,
Hope all is well!
I've noticed in the TC321 source base that the 'welcome file' specified
in the web.xml actually checks to see if this file exists before using
it.
See StaticInterceptor.java, lines 270, and 297
270:
File f =
has anyone had any trouble with default index.jsp, index.htm, or index.html
not being served when the application root is requested by the browser?
Tomcat 3.21
TIA
Sincerely,
Neill Laney
http://home.nc.rr.com/nlaney
--
Web Developer/Technical Support Specialist.
-
I switched from Tomcat 3.14 to 3.21 to resolve a header issue where I was
getting a "text/plain" header in a Servlet when
res.setContentType("text/html");
Now, Tomcat 3.21 won't load a default page when the welcome-file-list
includes index.html, index.htm, and inde
Juan Pablo Goldfinger wrote:
Hi:
I have wrote in the web.xml of each tomca context, and nobody work!!!
How I can work the welcome-file-list of the web.xml?
Thanks,
juan
You will do much better asking a Tomcat-specific question on the TOMCAT-USER
mailing list
hose defined in the general web.xml because is
overwritten i guess) and simply display the dir listing.
greetz,
Sam.
- Original Message -
From: "Tran, Francis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 11:14 AM
Subject: we
Hello!
I am trying to have all my http request foward
to a mainServlet first and after few verification
send it to the appropriate page.
For example, if you type http://mylocalhost/
if should go directly to myapp/servlet/mainServlet which
reside in Tomcat. However if you type http
21 matches
Mail list logo