Hiding .jsp name in the address bar

hello ,
first i want to describe my problems.i have a .jsp file and i want to replace the .jsp name to another name in the address bar.
i want to hide the .jsp name in the address bar.
can u give an example code.then i understand more details.
thanks

I'll give you an example of how this can be done in Tomcat and in essence it should apply to any servlet container.
Tomcat has a web.xml file in it's conf directory that decides the basic mappings etc for ALL webapps in this tomcat instance. Now, if you wanto to do this just for a particular webapp then edit the web.xml file for your webapp.
If you want to call your files /something.foo all you need to do is map this extension to the jsp servlet for interpretation. Otherwise it will be treated as a text file.
<!-- The mapping for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.foo</url-pattern>
</servlet-mapping>
You can add all the mappings you want. All you're really doing is masquerading the .jsp extension.
Hope this is what you were looking for.
Charlie

Similar Messages

  • Superfluous names appear after I type the first letter of a person's name in the address bar of my text message program. How do I delete them. They freqiuently are people I never text, but had a text encounter with i the past.

    Superfluous names appear after I type the first letter of a person's name in the text message address bar. Most of these names are people I rarely if ever have contact with, but may have once or twice. They are not in my contact list. How may I get rid of them?

    They will also be listed in 'Previous Recipients' in Mail. You should also delete them there.

  • When I send a group email why does the address bar not present the names alphabetically?

    I frequently send emails to groups.  Sometimes, for one reason or another, I want to delete one or more contacts from the list that appears in the address bar.  Why does the list not  appear in alphabetical order and is there any way that I can edit my contact lists to make it do so? It means picking through a list one by one rather than scrolling down a list to find a contact in the correct order. 

    Basically I suggest you keep using Eudora.
    Like most of those moving now, they are unlikely to be happy with anything else. But then that is to be expected, you have clung to abondonware for 5+ years after it's replacement. People that dedicated are unlikely to be happy with anything else.
    The Business standard and professionalism are not based on the Eudora way of things. I suggest you stick undisclosed-recipients: into a google search box and get instructions on how to do things for all the major mail clients.
    Of note Thunderbird displays nothing in the To field, even though the undisclosed-recipients: is inserted in the outgoing mail.
    <blockquote>
    I have tried using Bcc, and indeed, the recipients are suppressed, but not as a group. I have to change every recipient address from To: to Bcc: manually.
    </blockquote>
    Perhaps if you use the buttons at the bottom of the contact pane to add the list to BCC you would not have to manually change anything. See https://support.mozilla.org/en-US/kb/addressing-email#w_selecting-the-entries-from-the-contact-pane
    I am interested however how when you added a list so it appears on multiple lines. All I see is he list name until after I press the send button and look at it in the sent folder.
    Most people use another address entirely in the to:, in conjunction with the BCC list. It verifies the list mail is sent by coming back and you can put whatever you like in the display name of the email address.

  • Why can I no longer just type the name of a site in the address bar and be taken straight to it?

    Now instead of being taken to the site I get taken to a google search result. It was such a convenient feature...is there something I need to change settings wise?

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> go to View Menu -> Toolbars -> select Menu Bar and Navigation ToolBar -> unselect All Unwanted toolbars
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use custom settings for history"''' -> REMOVE Checkmark from "Permanent Private Browsing mode" -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Firefox doesn't redirect us to the website when we type the name of the website in the address bar

    Before when I typed orkut in the address bar of Firefox 3.6 and press enter, it automatically goes to that site by adding www & .com . But now when I type it in the address bar, it takes me to Google search results for orkut and then from there I have to click on the website. Can anyone help me solve this problem? This happedned after I deleted my Default Profile of my Firefox.

    THANK YOU VERY MUCH AND MAY GOD BLESS YOU! THAT SOLVED MY PROBLEM! :D

  • Hiding the address bar during createExternalWindow

    Hello all,
    I am generating  a URL to some content in Content Management Area and using: wdComponentAPI.getWindowManager().createExternalWindow(...)
    to open an external Window. Is there someway I can hide/disable the address bar in IE, so as not allow the user to navigate to other content in the CM?
    If that is not doable, can I some how make the url which shows up in the IE some what encrypted so that it (the URL) does not mimic the folder structure of the CM?
    Thanks,
    Asheesh

    Hello Asheesh,
    IWDWindow.removeWindowFeature(WDWindowFeature feature);
    Use WDWindowFeature.MENU_BAR, WDWindowFeature.TOOL_BAR, WDWindowFeature.STATUS_BAR, WDWindowFeature.ADDRESS_BAR to remove different options of browser.
    Best regards, Maksim Rashchynski.

  • How can I stop the address bar from auto hiding

    I dislike having the address bar disappear all the time. How can I prevent this.

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then hover the mouse to the top of the screen to make the Navigation Toolbar and Tab bar appear.<br>Click the Maximize button (top right corner of the Navigation Toolbar) to leave full screen mode or right-click empty space on a toolbar and choose "Exit Full Screen Mode" or press the F11 key.

  • Hiding the address bar?

    I have made an external gallery (with Simpleviewer) and I have it set up to open in a new window. Everything works great, but I would like that new window to open with the address bar hidden. Is that possible?

    Here's the address to the gallery that I made.
    http://web.mac.com/soncraig/Cami&_Stevesv/index.html

  • How to hide the parameter in the Address Bar

    Hello firends:
    when i submit a form in my JSP document,all the name of component and its value was shown in the Address Bar,like this:
    http://mis:8080/maintain/invokeBom.jsp?tf_ksdh=s5383?submit=it is possible to hide them?
    thanks

    Donot Use GET method. Use the POST method in your form when you submit. That will do what you need.

  • Error in displaying the address in the address bar of jsf program

    Hello,
    I develop a simple application with 3 jsf pages, one is the main.jsp, the other two are article.jsp and proposal.jsp. I also create 4 jsf navigation case in the faces-config.xml which contain the following situation:
    article.jsp -gomain1> main.jsp
    main.jsp -goArticle> article.jsp
    main.jsp -goproposal> proposal.jsp
    proposal.jsp -gomain2> main.jsp
    I create two commandbuttons in the main.jsp and the actions are goArticle, goProposal respectively.
    I create one commandbuttons in the article.jsp and the actions is gomain1.
    I create one commandbuttons in the proposal.jsp and the actions is gomain2.
    When I run the program, everything works fine. But I found out that there is something error in displaying the links in the address bar:
    1. main page, http://localhost:8988/po-view-context-root/faces/main.jsp ok.
    2. click article, http://localhost:8988/po-view-context-root/faces/main.jsp;jsessionid=c0a87f6e231cc8717caa21484ec38fecb60f8f50a7d2 ok.
    3. click return, http://localhost:8988/po-view-context-root/faces/article.jsp (ERROR: should be main.jsp but the content is main.jsp?)
    4. click proposal, http://192.168.127.110:8988/po-view-context-root/faces/main.jsp (ERROR: should be proposal.jsp but the content is proposal.jsp?)
    5. click return, http://localhost:8988/po-view-context-root/faces/proposal.jsp (ERROR: should be main.jsp but the content is main.jsp)
    It seems to me that the address bar displaying the wrong address but the content is correct, it quite annoying me, do i do something wrong or is it a bug in 10.1.3?
    Regards,
    Alan 22/11/2005

    Hi Huseyin,
    verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
    select geometry, link_name from your_table
    Joao

  • How can I get Firefox to include the http when copying and pasting from the address bar?

    I know you can use "browser.urlbar.trimURLs" in about:config to re-enable the display of "http://" on URLs in the address bar, but I think there's an actual bug with hiding them in the address bar that should be corrected:
    When I click and drag in the address bar to select part of an address, including the beginning of the address, then use CTRL+C to copy it, and CTRL+V to paste it into something else, the pasted URL does not include "http://"; this is often inconvenient and will break in certain forms and so on.
    In Chrome--where I guess the http-hiding feature was copied from--if you click and drag to select part of the URL including the beginning, then copy, when you paste, the "http://," hidden in their address bar, *is* included. That's how it *should* work. Firefox's implementation is incomplete and frustrating.

    This is a known problem and should be fixed in Firefox 8.<br>
    See https://bugzilla.mozilla.org/show_bug.cgi?id=668019<br>

  • How do I get the arrow keys to move one character at a time in the address bar or search box?

    I can no longer get the arrow keys to advance or retard "one character at a time" in the address bar, the search box, or on any form in Firefox. This feature works in other browsers without a problem. The "Home" and "End" keys do not work either. How do I fix this behavior?

    How do I configure the AX to connect to the hub's wireless network? It will only scan one base station Airport Express at a time in the Airport Utility. I think what I am trying to do is use the hub as a router to the two AX's. Is there a specific way to set this up?
    To set up the AX to join a wireless network as a "Wireless Client," using the AirPort Utility, either connect to the AX's wireless network or temporarily connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, try these settings:
    Launch the AirPort Utility.
    Select the AX.
    If not already connected to the AX's wireless network, go ahead and switch to it when prompted.
    AirPort Utility > Select the AX > Manual Setup > AirPort > Wireless
    Wireless Mode: Join a wireless network
    Network Name: <type in the network name/SSID of the wireless network that you want to join or select it from the pop-up menu>
    Wireless Security: None OR, if you are using security on your wireless network:
    Wireless Security: <Select the appropriate level of security for the existing wireless network: WPA/WPA2 Personal | WPA2 Personal>
    Password: <enter your wireless network security password>
    Verify Password: <re-enter the same security password>
    Click Update to write the new settings to the AX.

  • Why is it that I can no longer access all of the people in my address book by typing their names in the address line of an email?

    Until the last month or so I have always been able to type the first few letters of a persons name in the email address bar and his address would be entered. Now this only happens for those people that I have contacted recently. The really big problem is my group that contains 40+ people. I use it only once a month and do not want to type 40+ addresses.

    I think that may be a javascript issue.
    In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentially damaging their Firefox, the option to disable JavaScript was removed from the Firefox Options window.
    However, the option to disable JavaScript was not removed from Firefox entirely. You can still access it from about:config or by installing an add-on.
    '''about:config'''
    # In the address bar, type "about:config" (with no quotes), and press Enter.
    # Click "I'll be careful, I promise"
    # In the search bar, search for "javascript.enabled" (with no quotes).
    # Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled.
    To Re-enable JavaScript, repeat these steps.
    '''Add-ons'''
    You can alternatively install an add-on that lets you disable JavaScript, such as
    *[https://addons.mozilla.org/firefox/addon/noscript/ No-Script] (to disable JavaScript on a per page basis, as required)
    *[https://addons.mozilla.org/firefox/addon/quickjava/ QuickJava] (to easily disable and enable JavaScript, automatic loading of images, and other content)
    *[https://addons.mozilla.org/firefox/addon/settingsanity/ SettingSanity] (adds back removed options for JavaScript, Advanced JavaScript Settings, loading images, and showing the Tab Bar)
    Thank you and I hope this helps!

  • How do I turn off searching from the address bar. Setting keyword.enabled to false is not working.

    I never want to search from the address bar. I've been able to turn off this horrible annoying feature in the past by setting "keyword.enabled" to false but this no longer seems to work. Is there any way to fix this so that searching from the address bar never happens with any search engine?

    If you set keyword.enabled to false, then what Firefox normally does is check whether your address bar entry is a valid server name (first DNS lookup) and, if not, it will try fixup (e.g., www.+''what you typed''+.com) (second DNS lookup).
    If you get search results, particularly if you get results from some site other than your preferred search engine, there are two possible explanations:
    (1) DNS provider hijack.
    There are some service providers that do not answer the DNS lookups honestly and instead will divert you to their own page of search results. In that situation, there sometimes is a link on the page to opt out, either right there, or behind an explanation (why do I get this page?) or a settings link. You may have to look around. Or if your service provider won't let you opt out, you might need to switch to using OpenDNS or Google Public DNS.
    You probably should also check your connection setting it case that has been modified:
    "3-bar" menu button (or Tools menu) > Options > Advanced > Network mini-tab > "Settings" button
    Try "No proxy" here to see whether that helps.
    (2) Bad add-on.
    Some extensions will divert honest DNS misses to their preferred search site. Here's what I suggest for cleaning out bad add-ons:
    (A) Open the Windows '''Control Panel''', Add/Remove Programs. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    (B) Then, in Firefox, open the '''Add-ons page''' using either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Plugins. Set nonessential and unrecognized plugins to "Never Activate".
    In the left column, click Extensions. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    (C) Search for remaining issues with the '''scanning/cleaning tools''' listed in our support article: [[Troubleshoot Firefox issues caused by malware]]. Note that the tools are free and take considerable time to run. If they seem to finish quickly and then ask for payment, you might have a Fake AV infection. Please use the specialized forums listed in the article in that case.
    Success?

  • How do I change the address bar search provider in FF4

    I installed a program which made Yahoo my default search engine. I deleted it under manage search engines and chose Google there, but Yahoo is still my default search engine in the address bar even though I tried going to about:config-typing in keyword URL - right clicking on modify- and changing to Google.
    If I type a search word in the address bar Yahoo search results come up. I would rather use the get lucky feature of Google. How to I get rid of Yahoo as the ADDRESS BAR default search engine. I looked in add-ons, plug-ins, extensions and no sighn of Yahoo to delete. Help!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

Maybe you are looking for

  • Problem with Checkbox HTML

    Firefox delays in checking <input type="checkbox> after many attempts its finally ticked. We need to zoom the page to tick the checkbox.

  • Gauge titles variables

    Hello! I have 3 gauge graphs (for 3 measures), and in legend (gauge titles) I show actual values. With View selector user can ''jump'' between these gauge graphs, but unfortunately, the title values (variables, like @1, @4) keep always the value of t

  • Problem in connect to database?

    hello experts, when i am trying to connect with sqlplus with my user following error is showing: ora 01034: oracle not available ora 27101shared memory realm SGA does not exist. suddendly this error is showing. i just connect successfully before 10 m

  • Java process takes not more than 700 MB

    Hi, we start java with -Xms128M -Xmx1280M -Xrs but after reaching 700 MB the process crashes: java.lang.OutOfMemoryError: unable to create new native thread      at java.lang.Thread.start(Native Method) The server has 500 MB free memory when the proc

  • Getting notes out of the iPhone

    I take a LOT of notes with my iphone. I can't figure out how to sync them with my mac to get them out. Does anyone know how to do this? MACBOOK PRO   Mac OS X (10.4.10)   HAPPY iPHONE OWNER