Welcome-file ignored?

The application does not take the welcome-file specified in web.xml into account.
     <welcome-file-list>
          <welcome-file>home.jsp</welcome-file>
     </welcome-file-list>
I tried with home.jsp, /home.jsp, home.jsf and /home.jsf, but without success.
Direct access works well so the page is ok.
Am I missing some part of the configuration?
Help would be appreciated.
Bruno
http://www.practicalsoftwarearchitect.com

with some containers, if the literal file doesn't exist , it won't work. Example, if I have a servlet mapped to the uri '/index.html', unless I have an index.html file at the root of my application, it won't resolve in the welcome-file-list.

Similar Messages

  • Welcome file usage: can it be any URL?

    Hi,
    Do welcome-files have to always be concrete files such as .html or .jsp files? I am finding that when using Tomcat 4.0.1, if I specify a servlet mapping as a welcome file, I end up getting a directory listing.
    For example, since I am using Struts, I have specified a Struts action as my welcome-file, but Tomcat seems to ignore this altogether and I end up getting a directory listing. If I request the action directly, then I have no problems.
    Has anyone faced any similar issues?
    Regards,
    Steve

    Hi,
    I am also running into the same issue.
    Did you get any workaround?
    Please let know,
    thanx in advance
    -Pravir

  • How to use dynamic file as welcome-file-list in web.xml

    I have configured my web.xml file as this,
    <web-app>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>login.jsf</welcome-file>
    </welcome-file-list>
    </web-app>
    and my login.xhtml file as this,
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jstl/core"
    xmlns:f="http://java.sun.com/jsf/core">
    <body>
    <f:view>
    <h:form>
    UserName:<h:inputText id="userName"
    value="#{bean.userName}" rendered="true"
    required="true"/>
    Password:<h:inputText id="password"
    value="#{bean.password}" rendered="true"
    required="true"/>
    <h:commandButton id="submit" value="Submit" action="#{bean.authenticate}" />
    </h:form>
    </f:view>
    </body>
    </html>
    but when i deploy this using tomcat and try to put url as this,
    http://localhost:8080/project
    Its not identifying welcome file from web.xml
    I am getting error like this,
    The requested resource (/project/) is not available.
    How to resolve this,
    Thanks,
    Vinutha

    This might help:
    http://forum.java.sun.com/thread.jspa?threadID=696586
    As well, you might have to change the servlet-mapping in your web.xml. The url-pattern, I think, needs to be .xhtml. Your login.jsf file in the welcome list will need to be renamed to login.xhtml.
    CowKing

  • How to chage the welcome file in web.xml using creator?

    Hi guys,
    I want to set the welcome file in web.xml to index.html but every time I run my project in creator, creator replaces index.html by faces/index.jsp. I need the index.html to check if the browser enables cookies & javascript and then I redirect to index.jsp. If I change the web.xml in a common editor, build the war-file with ant and deploy the project with tomcat, everything is fine. but how can I change it in creator?
    thanks in advance

    Sorry, that doesn't make much sense.
    The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
    Are you a user of this utility?

  • How to set two different welcome-file to different servlets in web.xml

    Hi friends,
    Can some one help with web.xml file
    I have to different servlets in applications.
    I want to set two different welcome files for my two different
    servlets in web.xml
    Please, can some one give me sample code to achieve this.
    Here web.xml code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>     
         <servlet>
              <servlet-name>reports</servlet-name>
              <servlet-class>com.caremark.ivr.servlet.IvrReportsServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>reports</servlet-name>
              <url-pattern>/reports</url-pattern>
         </servlet-mapping>
         <session-config>
              <session-timeout>30</session-timeout>
         </session-config>
         <welcome-file-list>
              <welcome-file>reportsindex.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>calldetails</servlet-name>
              <servlet-class>com.caremark.ivr.servlet.IvrCallDetailsServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>calldetails</servlet-name>
              <url-pattern>/calldetails</url-pattern>
         </servlet-mapping>
    <welcome-file-list>
              <welcome-file>calldetailsindex.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    I need this fix immediately. Your help will be really appreciated. Thanks in advance.

    First of all, my understanding is that you need to have a Servlet 2.4 complaint server to do this...Given that, you're supposed to be able to simply specify the Name of the servlet as the welcome-file to get it to work. For example:
    Your servlet section:
    <servlet>
      <servlet-name>Controller</servlet-name>
      <servlet-class>com.company.ControllerServlet</servlet-class>
    </servlet>Now you would add the following to your welcome file list:
    <welcome-file-list>
      <welcome-file>Controller</welcome-file>
    </welcome-file-list>Note that you use the servlet-name value from the servlet definition, NOT the url-mapping from the servlet-mapping section.
    Please note that I cannot verify this as I am running a 2.3 server at home. When I get to work Friday I can test on a 2.4 machine. However this shouldn't take you more than a minute to test.
    Note that I did try this on the 2.3 compliant server and it did NOT work (as I expected)...
    HTH.

  • 8.1 EE can't find page and appends the welcome-file name to the url

    I have a problem where you enter a url that points to a static file in the xxxEar-WebModule_war directory. That is the "docroot" directory for the application. Somewhere along the line the welcome-file (index.html) is appended to the url. For example I enter http://server.com/app/file.xml and it gets changed to http://server.com/app/file.xml/index.html, which is not found.
    This was not a problem in 8.1 platform. Now that we upgraded to 8.1 enterprise it is a problem.
    All urls that are mapped to servlets work fine. I just can't seem to access static content.
    Thanks!

    select l.group#, f.member, l.sequence#, l.status, f.status
    from v$log l, v$logfile f
    where l.group#=f.group#
    order by 1;
    GROUP#
    MEMBER
    SEQUENCE# STATUS STATUS
    1
    D:\ORACLE\ORADATA\DBMAG98\LOG1.RDO
    41002 INACTIVE STALE
    2
    D:\ORACLE\ORADATA\DBMAG98\LOG2.RDO
    41003 INACTIVE
    GROUP#
    MEMBER
    SEQUENCE# STATUS STATUS
    3
    D:\ORACLE\ORADATA\DBMAG98\LOG3.RDO
    41004 CURRENT STALE
    sorry for inconvenient view

  • Invalid element 'welcome-file-list' in content of 'web-app',

    HI, folks.
    I recently used struts to develop a simple web applicaiton, and whenever I tried to use tag libs
    such as /WEB-INF/struts-html.tld
    /WEB-INF/struts-html.tld and
    tried to compile it, it gives out compile error such as:
    Error(52,21): Invalid element 'welcome-file-list' in content of 'web-app', expected elements '[taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'.
    if I remove the above tag libs, the jsp file compiles
    without any problem.
    Are you guys familiar with these problems?
    please let me know if I'm doing anything foolish.
    Thanks!

    Unless some other elements tag are not close correctly this error does not make sense. Can you cut and paste your web.xml?
    It should look something like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <welcome-file-list>
      <welcome-file>/untitled1.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
      <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
      <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    </web-app>Charles.

  • Welcome file and Jsp compiled

    Hi,
    I have very problems with compiled JSP. I work with tomcat 4.0.1.
    1) When I compile JSP with jspc and -webapp option and -webinc,
    he creates a file xml as :
         <servlet>
    <servlet-name>.hdi_0005faideResolveur</servlet-name>
    <servlet-class>.hdi_0005faideResolveur</servlet-class>
         </servlet>
         <servlet-mapping>
    <servlet-name>.hdi_0005faideResolveur</servlet-name>
    <url-pattern>/jsp/Pastel/doc/hdi_aideResolveur.jsp</url-pattern>
         </servlet-mapping>
    It don't work. I need to modify "-class>." in "-class>".
    Is it normal ?????????
    2) In web.xml, I have define a welcome-file as :
    <welcome-file-list>
    <welcome-file>/jsp/Pastel/hdi_index.jsp</welcome-file>
    </welcome-file-list>
    When I work in un-compile Jsp, It's work well.
    But, with compile-jsp, it don't' work. I have tried :
    <welcome-file-list>
    <welcome-file>servlet/.hdi_0005findex</welcome-file>
    </welcome-file-list>
    I don't work to.
    Have you a solution ?????????
    Thanks,
    Elisabeth
    France

    I have dowloaded the jakarta-tomcat-4.0.2-b2 (21 Jan).
    The comportement is the same as 4.0.1 !!!!!!

  • 404 errors with welcome file

    Here's a strange one.
    I've successfully deployed a test application
    with welcome-file-list directive as the only
    entry (besides required ?xml and DOCTYPE headers).
    When I attempt to access my page e.g., http://myMachine:port/testApp, the URL
    changes to read http://myMachine:port/testApp/welcome.htm as expected
    but I get 404 errors saying the page cannot be found.
    Web.xml successfully passes my XML parser so I don't think
    that is the problem.
    Any ideas?
    Thanks,
    TC Young

    Hi.
    What's the layout of your webapp directory structure? More to the point,
    your welcome.htm file should be in the root directory of your webapp. Can
    you confirm this is where you have it?
    Also, please post the relevant bits of your web.xml file here.
    Thanks,
    Michael
    TC Young wrote:
    My apologies.
    I'm running WL 6.1 on Solaris 2.6.
    The weblogic logs do not mention any 'Resource not found'
    exceptions.
    Thanks.
    "TC Young" <[email protected]> wrote:
    Here's a strange one.
    I've successfully deployed a test application
    with welcome-file-list directive as the only
    entry (besides required ?xml and DOCTYPE headers).
    When I attempt to access my page e.g., http://myMachine:port/testApp,
    the URL
    changes to read http://myMachine:port/testApp/welcome.htm as expected
    but I get 404 errors saying the page cannot be found.
    Web.xml successfully passes my XML parser so I don't think
    that is the problem.
    Any ideas?
    Thanks,
    TC Young
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Images not displayed in welcome-file

    HI,
    I am working on JBoss 4.0.4 G.A.
    My applicaiton structure is as following
    <web-app>
    <web-app>/WEB-INF
    <web-app>/jsp ---> contains all the jsps
    <web-app>/images --> contains all the images
    <web-app>/html --> contains all the htmls
    <web-app>.js--> contains all the .js files
    My problem is that my welcom file is under jsp directory.
    I have made an appropriate entry in web.xml for the welcome page
    Welcome page is working fine but the only problem is that all the images on the welcome page are not displayed.
    Please help me solving this problem ....
    Thanks in advance

    Hi,
    Thanks for reply. I have checked that. I am refering to the correct directory. Bye the way, I have got the solution, the image files were not displayed because I was using relative path and context root was not set to my web app context itstead it was trying to take it relative to the server's bin directory. I just set <context-root>/<my web app root></context-root> in jbossweb.xml file and the problem was sloved.
    Regards,
    Jignesh
    Message was edited by:
    jignesh_shukla

  • Setting the welcome-file

    i have a problem something like this...
    i am setting my welcome-file im my web.xml to index.faces
    but i got allways this error 404 that this site does not exist....
    the stragne thing is that the massege says "/" could not found and not "index.faces" could mnot found:
    HTTP Status 404 - /
    type Status report
    message /
    description The requested resource (/) is not available.why is this happening?? i jhave index.faces file why it couldn't been found????
    plz help
    P.s.: if i set my welcome-file to onther xyz.html file...everything goes ok...

    here's a sample of what I did to set my welcome file using tiles
    edit struts-config and add these lines under <global-forwards>
    <forward name="index" path="/.index.do" />index.do is defined under the action mappings and will be pointing to the definition name of the page i defined in tiles-def (.indexDef) as shown below:
    then under the <action-mappings>
    <action path="/index"
                   type="org.apache.struts.actions.ForwardAction"
                   parameter=".indexDef" /> in my tiles-def i have a base definition which all layouts extend and this is what .indexDef is:
    <definition name=".indexDef" extends=".baseDef">
              <put name="title" value="..." />
              <put name="body" value="/WEB-INF/tiles/indexBody.jsp" />
         </definition> hope this helps. if you still can't do it, kindly post your struts-config, tiles-def files :D

  • Servlet as a welcome file: is it a myth?

    Hello
    There are many articles on the web that espouse that Servets 2.4 allow for a servlet to be specified as a welcome file thusly (taken from OnJava.com):
    First, register the servlet in web.xml.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi=
    "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=
    "http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <servlet>
    <servlet-name>MyServlet</servlet-name.
    <servlet-class>com.jspservletcookbook.MyServlet</servlet-class>
    </servlet>
    <!-- optionally map the 'MyServlet' servlet to a URL pattern -->
    <servlet-mapping>
    <servlet-name>MyServlet</servlet-name>
    <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    <!-- rest of web.xml ... -->
    Then create a welcome-file element in web.xml that specifies the registered servlet name.
    <welcome-file-list>
    <welcome-file>MyServlet</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    Make sure to use the servlet name in the welcome-file element without a forward slash (/) preceding it.
    Poppycock I say. At least it's not working for me with either Tomcat 5 or Tomcat 5.5. Has anyone out there ever seen this work on Tomcat?

    It most certainly is possible now, but wasn't until rather late in TC 5.0.xx series I believe (5.0.18 or so?). You can chack the change logs to id exactly when...
    But the reason it isn't working for you is you have to match the value in your <welcome-file> to the URL in the servlet's <url-pattern> servlet mapping. So your web XML should look like this:
    <servlet>
      <servlet-name>MyServlet</servlet-name.
      <servlet-class>com.jspservletcookbook.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>MyServlet</servlet-name>
      <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
      <welcome-file>myservlet</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>Your porblem was case. Your url-pattern had lower case, but the welcome-file had upper case letters like the servlet name.
    Here is an example app that I tested and worked:
    //The servlet:
    package net.thelukes.steven;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class WelcomeServlet extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response)
           throws ServletException, IOException {
              PrintWriter out = response.getWriter();
              out.println("Hello World");
              out.flush();
              out.close();
    //the web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
             xmlns="http://java.sun.com/xml/ns/j2ee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
                                 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>WTPTest</display-name>
         <servlet>
              <servlet-name>Welcome</servlet-name>
              <servlet-class>net.thelukes.steven.WelcomeServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>Welcome</servlet-name>
              <url-pattern>/welcome</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>welcome</welcome-file>
         </welcome-file-list>
    </web-app>
    //The address I typed (the web app is names WTPTest
    http://localhost:8080/WTPTest
    //The HTML Output
    Hello World

  • In Web.xml  welcome file tag not works

    Hi All ,
    I am developing simple web application using spring framework
    when i am try to add welcome file tag in web.xml with respective welcome page path but it not works.
    but when use jsp page without to having any property it works.
    what the problem with me
    Thanks

    Hi Frank
    Thank you for your reply.
    This is how I registered the session filter in web.xml
    <filter>
    <filter-name>SessionFilter</filter-name>
    <filter-class>com.avery.view.filter.SessionFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>SessionFilter</filter-name>
    <url-pattern>/faces/*.jsf</url-pattern>
    </filter-mapping>
    I'll try to use phaselisenter as you suggested.
    Also, one more thing please, in the session filter, I have something like this.
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    System.out.println("JF--- Calling the Filter");
    if (request instanceof HttpServletRequest) {
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    HttpServletResponse httpResponse = (HttpServletResponse)response;
    HttpSession session = httpRequest.getSession();
    String url = httpRequest.getPathTranslated();
    String path = httpRequest.getContextPath() + httpRequest.getServletPath();
    if (httpRequest.getRequestURI().equals(path+"/Login")) {
    System.out.println(" the request path is" + httpRequest.getRequestURI().toString());
    session.setAttribute("WELCOME", Boolean.TRUE);
    chain.doFilter(request, response);
    else if (session.getAttribute("WELCOME") == null){
    httpResponse.sendRedirect(path+"/Login");
    else {
    chain.doFilter(request, response);
    else {
    chain.doFilter(request, response);
    Do you think it looks right ?
    thanks
    Edited by: Lang on Apr 13, 2012 1:41 AM

  • Welcome-file issue in App Server 8.2

    Hello all,
    can you explain some strange behaviour of Application Server?
    I have to set some page as a starting page. We all know that i have to put
    <welcome-file-list>
    <welcome-file>MyStartPage.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    to web.xml.
    So, my app does not include servlets, and i have web.xml as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <welcome-file-list>
    <welcome-file>MyStartPage.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    BUT: this works in Tomcat, but does NOT work in Sun App Server 8.2.
    In SUN App server, i have to add
    <servlet>
    <servlet-name>Fake servlet</servlet-name>
    <jsp-file>MyStartPage.jsp</jsp-file>
    </servlet>
    to web.xml (obviously, before welcome-file-list element).
    IMHO, it's an issue... Why do i have to use some fake declaration?
    Can someone test this curious issue against other App servers?
    Thanks in advance, Vad.

    Hi,
    I am facing the same issue. I did not verify with Tomcat but with an earlier version - 1.4.01
    It used to work earlier with J2ee sdk 1.4.01. I installed the J2ee sdk 1.4.03 after uninstalling 1.4.01. I had a bunch of JSPs, and a web.xml specifying the welcome page. It used to work fine. Now after 1.4.03, (server 8.2), the welcome page does not work. Instead it displays the list of JSPs on the page. There have been no modifications to the web.xml. The 8.2 has a bug here.

  • Welcome File in Web.xml

              I am having problems with my web.xml file.
              I have my welcome page <welcome-file> as my “home_page.jsp” which I want to be
              the default page on start-up. On this page is a link to “log on”. When you click
              on this you are taken to my (FORM) “Login.jsp”. After successful logon I want
              to go to the “Welcome.jsp”, instead I am returned to my “home_page.jsp”. Which
              puts me in a continuous loop. How after successful logon can I be directed to
              a page other than the <welcome-file> “home_page.jsp”
              My web.xml file looks like this;
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <welcome-file-list>
              <welcome-file>Welcome.jsp</welcome-file>
              </welcome-file-list>
              <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>default</realm-name>
              <form-login-config>
                   <form-login-page>/Login.jsp</form-login-page>
                   <form-error-page>/LoginFailure.jsp</form-error-page>
              </form-login-config>
              </login-config>
              <security-role>
              <role-name>web-user</role-name>
              </security-role>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name>Logged into NOTiFY</web-resource-name>
              <url-pattern>/Welcome.jsp</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>web-user</role-name>
              </auth-constraint>
              </security-constraint>
              </web-app>
              Thanks.
              

    It doesn't quite work that way. You should just direct the user directly to
              the Welcome.jsp page. If they're not already logged in, they'll be asked to
              log-in via the Login.jsp. The login mechanism knows to redirect them to the
              last page they wanted once they successfully log in. I think this is why you
              are being returned to the home_page.jsp, since there was no target
              restricted page requested.
              I have to admit - this mechanism doesn't lend itself to the portal-style
              login used on the web. It's geared more towards security and authorization
              for access to particular URL resources. You might need to tweak how your GUI
              looks to make this mechanism make sense.
              Alternatively, you could add some code to the home_page.jsp to redirect the
              user to a specific restricted page based on what is in their session. I
              would also suggest that the Welcome.jsp and home_page.jsp be the same page
              that just behaves differently based upon whether a user is logged in or not.
              "Roger Lee" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I am having problems with my web.xml file.
              >
              > I have my welcome page <welcome-file> as my "home_page.jsp" which I want
              to be
              > the default page on start-up. On this page is a link to "log on". When you
              click
              > on this you are taken to my (FORM) "Login.jsp". After successful logon I
              want
              > to go to the "Welcome.jsp", instead I am returned to my "home_page.jsp".
              Which
              > puts me in a continuous loop. How after successful logon can I be directed
              to
              > a page other than the <welcome-file> "home_page.jsp"
              >
              > My web.xml file looks like this;
              >
              > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              2.2//EN"
              > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              >
              > <web-app>
              >
              > <welcome-file-list>
              > <welcome-file>Welcome.jsp</welcome-file>
              > </welcome-file-list>
              >
              > <login-config>
              > <auth-method>FORM</auth-method>
              > <realm-name>default</realm-name>
              > <form-login-config>
              > <form-login-page>/Login.jsp</form-login-page>
              > <form-error-page>/LoginFailure.jsp</form-error-page>
              > </form-login-config>
              > </login-config>
              >
              > <security-role>
              > <role-name>web-user</role-name>
              > </security-role>
              >
              > <security-constraint>
              > <web-resource-collection>
              > <web-resource-name>Logged into NOTiFY</web-resource-name>
              > <url-pattern>/Welcome.jsp</url-pattern>
              > <http-method>GET</http-method>
              > <http-method>POST</http-method>
              > </web-resource-collection>
              > <auth-constraint>
              > <role-name>web-user</role-name>
              > </auth-constraint>
              > </security-constraint>
              >
              > </web-app>
              >
              > Thanks.
              >
              

Maybe you are looking for

  • Problem in accessing the media files from another server

    Currently I am working in a project with streaming video on demand and using FMS 4.5. Let's say the FMS is installed on one machine say '121.123.35.34' and there is another server '100.54.88.222' where all the media files belong. Now we need to point

  • Mac Mini for the Home

    Hello, This question has been posted many times all over the internet but the responses are not specific to what I need to know. I have a MBP 2010 that is my main workhorse for everything. I was thinking of adding a Mac Mini to my network to host iTu

  • How can I draw on top of an image?

    I'm using a JApplet with three JPanel's inside of it. Inside one of those JPanel's I would like to place an image and a button. When the button is clicked, I want to draw an oval on top of the image . Each subsequent time the button is clicked, the o

  • My disc is broken but i still have the serial number?...

    so I bought a wacom tablet a year ago that came with Photoshop elements 7.0? I still have the serial number and I was wondering how I could reinstall photoshop. I broke my disc on accident a little while ago and I got a brand new computer so yeah. Pl

  • CS5.5 Install Problem.

    Have CS5.5 Design Premium. Installing is no problem. But after ist some of the chosen programs are installed correctly, for some there is only a folder, but no program. This is not solvable by reinstalling components. Its a mac. OS is latest. Any ide