Results 1 to 1 of 1
  1. #1
    JL4
    JL4 is offline Member
    Join Date
    Nov 2008
    Posts
    10
    Rep Power
    0

    Default Tapestry and URL mapping issue in web.xml

    Hi everyone!

    I am having a problem with the URL mapping defined in the web.xml file and executing the action link method.

    I changed the mapping to:

    <filter-mapping>
    <filter-name>app</filter-name>
    <url-pattern>/ui/*</url-pattern>
    </filter-mapping>

    For example I have a Tapestry page called index with a link called exec, but when I click on the link it does not work.

    The link seems to be mapped to: http://localhost:8080/Project/index.exec rather than: http://localhost:8080/Project/ui/index.exec

    Any ideas how I can get the links to work without modifying the URL mapping in the web.xml??
    Last edited by JL4; 09-02-2012 at 09:43 AM.

Similar Threads

  1. My Second Layout is not working(Tapestry 5)
    By yuzi123 in forum Web Frameworks
    Replies: 0
    Last Post: 11-25-2011, 07:30 AM
  2. help with mapping and relationship
    By peace76 in forum Enterprise JavaBeans (EJB)
    Replies: 5
    Last Post: 12-07-2010, 07:12 PM
  3. Servlet mapping
    By cozsmin in forum Java Servlet
    Replies: 1
    Last Post: 04-04-2009, 09:15 AM
  4. Apache Tapestry Creator to Speak on Clojure, Tapestry 5
    By shaguf in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 12-11-2008, 01:35 PM
  5. Replies: 0
    Last Post: 04-21-2008, 06:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •