Saturday, March 8, 2014

[WD&D] Digest for sitedesign@googlegroups.com - 3 Messages in 1 Topic

Group: http://groups.google.com/group/sitedesign/topics

    RRRaney <rrrsystems@gmail.com> Mar 08 12:31AM -0800  

    Hello,
     
    I would like to have a multiple index.html files in separate paths.
     
    1. WAR/index.html
    2. WAR/Page/index.html
    3. WAR/Page/Path1/index.html
    4. WAR/Page/Path2/index.html
     
    The reason I am doing this:
    When I enter application.appspot.com I want the first index.html
    When I enter application.appspot.com/Page I want the second index.html
    When I enter application.appspot.com/Page/Path1 I want the third index.html
    When I enter application.appspot.com/Page/Path2 I want the last index.html
     
    This works the way I would like but I get an error for all but the first.
    Page: page not established in initializePage()
     
    I get the error but open the proper index.html
     
    I have tried everything I can think of in the web.xml
     
    I have a way to add the paths, but nothing seems to work.
     
    The current web.xml will get me to the correct index.html, but I get the
    error
    ---------------------------------------------------------------------------------------------------------------
    <?xml version = "1.0"
    encoding = "UTF-8"?>

    <!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>index.html</welcome-file>
    <welcome-file>Page</welcome-file>
    <welcome-file>Page/Path1</welcome-file>
    <welcome-file>Page/Path2</welcome-file>

    </welcome-file-list>
    </web-app>
    ---------------------------------------------------------------------------------------------------------------
    I am doing this trying to follow an example with a sliding left navigator.
    I want to go to the index.html by default, and will get fancy with jscript.
     
    It works just want to get rid of error message.
     
    Thanks,
     
    Raney

     

    jibranseo <jibranseo@gmail.com> Mar 08 01:39PM +0500  

    www.jibranseo.com
     
    i am professional and experience seo service provider
     
    i have more then 5 years of experience in seo field and optimized in google
    uk top ten ranking.
     
     

     

    RRRaney <rrrsystems@gmail.com> Mar 08 03:05AM -0800  

    Back again,
     
    I have tried a few more things with the exact same results.
    The error is not with the web.xml or at least not that part of the web.xml.
     
     
    Current web.xml
    -----------------------------------------------------------------------------------------------------------
    <?xml version = "1.0"
    encoding = "UTF-8"?>

    <!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>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    -----------------------------------------------------------------------------------------------------------
     
    I have the same directory structure for my different index.html files.
     
    WAR/index.html
    WAR/Page/index.html
    WAR/Page/Path1/index.html
    WAR/Page/Path2/index.html
     
    If I enter
    Application.appspot.com
    - or -
    Application.appspot.com/
    in the address bar I get to WAR/index.html as expected without the error.
     
    For all of the others, if I enter
    If I enter
    Application.appspot.com/Page
    - or -
    Application.appspot.com/Page/
    in the address bar I get to WAR/Page/index.html as expected but with the
    error.

     

--
--
You received this because you are subscribed to the "Web Design and Development" group at Google Groups. Messages are prefixed with [WD&D] in the subject. No spam is allowed. Be civil, be professional; try to be helpful & mind your netiquette. All posts are Copyright the original author and the Web Design and Development group. No reproduction of this content is allowed in any electronic or printed form outside the group at Google Groups and the http://www.WDaDg.org website. Any unauthorized use of our copy constitutes illegal Copyright infringement and may well be prosecuted to the full extent of the law. Digital Signature: $©"[W|D|&|D]g"|^|!SiteDesign@GG||#%$
To post to this group, email SiteDesign@googlegroups.com
To unsubscribe, email SiteDesign-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/SiteDesign?hl=en

---
You received this message because you are subscribed to the Google Groups "Web Design and Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sitedesign+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment