Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7631567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:23:15+00:00 2026-05-31T06:23:15+00:00

i want to create url pattern that lead to filter in jsf2. I tried

  • 0

i want to create url pattern that lead to filter in jsf2.
I tried this code

<filter-mapping>
    <filter-name>filter</filter-name>
    <url-pattern>www.mysite.com</url-pattern>
</filter-mapping>

but i don’t get to my filter.
can you help?
thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:23:16+00:00Added an answer on May 31, 2026 at 6:23 am

    You are expecting to map the URL path, i.e. the part of URL that follows host and your web application name.

    This is how full URL looks like:

    http://www.mysite.com:8080/myapp/path1/path2/path3

    where:
    8080 is a port – optional – default 80
    myapp – the context path of your web application. It is empty if your application is default web application on your app server.

    path1/path2/path2 the path. This is what you are mapping using <filter-mapping> tag.

    So, if for example you want to pass through your filter all requests to JSP pages say:

    <url-pattern>*.jsp</url-pattern>

    If your UI is under directory ui and you want to filter such requests say:

    <url-pattern>/ui/*</url-pattern>

    etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a simple URL shortner that would do the following: http://example.com/code
I want to create a route that redirects all requests matching certain pattern to
I want to create URL re-write rules for following URL in htaccess. http://example.com/vedios/category/fun/ ->
In my JSF web-app, I want to create a URL for the user to
I want to use URL such as /Image/sample.png I create route, but it does
I want to create a stored procedure (on SQL Server 2005) that fetches a
I know that I can pass object values through a URL pattern and use
I want to create a url as below http://maps.googleapis.com/maps/api/directions/json?origin=Adelaide,SA&destination=Adelaide,SA&waypoints=optimize:true|Barossa+Valley,SA|Clare,SA|Connawarra,SA|McLaren+Vale,SA&sensor=false I used the following code
i want make my button visible after matching some pattern into url every thing
I want to create a JSP page or servlet that will work in 2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.