RE: how to reconfigure my app so that it runs without "context" in the uri path

Svein-Erik Løken <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <AM4PR08MB286877CEB2C1F6AD0C6620EED29E0@AM4PR08MB2868.eurprd08.prod.outlook.com>
<plugin>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-maven-plugin</artifactId>
    <version>9.3.10.v20160621</version>
    <configuration>
        <webApp>
            <contextPath>/</contextPath>
        </webApp>

       <httpConnector>
          <port>80</port>
       </httpConnector>
    </configuration>
</plugin>


From: Mats Andersson-2 [via Apache Tapestry Mailing List Archives] [mailto:[email protected]]
Sent: mandag 28. august 2017 07:31
To: Svein-Erik Løken <[email protected]>
Subject: Re: how to reconfigure my app so that it runs without "context" in the uri path

Hi Joshua,

It depends only on the container you are using to deploy the Tapestry
application. This is not different from any other Java application. If
you use Tomcat, see:
https://stackoverflow.com/questions/7276989/how-to-set-the-context-path-of-a-web-application-in-tomcat-7-0

Best regards
Mats

Den 2017-08-28 kl. 06:50, skrev Joshua Richardson:

> Hi, I'm looking to build an app using Tapestry.  I'm able to run the Quickstart 5.4 app and then I see my app by going to localhost:8080/site/, because I configured my project with the name, "site".
>
>
> Since I do not intend to ever run any other apps on this same server/port, I would like to avoid the "/site/" portion of the url.
>
>
> I have not been able to figure out how to reconfigure the app so that I can access it at the top level.  If i go to localhost:8080/, I get a 404, "No context on this server matched or handled this request."
>
>
> Is this a limitation of Tapestry, or just a limitation in my understanding?
>
>
> Sincerely,
>
>
>
> Joshua Richardson
>
> Email:   [hidden email]</user/SendEmail.jtp?type=node&node=5733590&i=0>
>
> Phone: 408-205-4417
>
> Skype:  jricjr
>
> In:         https://www.linkedin.com/in/joshua-richardson-878b8b1/
>

--
---------------------- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]</user/SendEmail.jtp?type=node&node=5733590&i=1>
For additional commands, e-mail: [hidden email]</user/SendEmail.jtp?type=node&node=5733590&i=2>


________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/how-to-reconfigure-my-app-so-that-it-runs-without-context-in-the-uri-path-tp5733589p5733590.html
To unsubscribe from [email protected]<mailto:[email protected]> Mailing List Archives, click here<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2375125&code=c3ZlaW5AamFjaWxsYS5ub3wyMzc1MTI1fC0xNTM4NzY2ODg4>.
NAML<http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.