JSPServlet new file association

I want to associated a new file extension (newJsp) to the current
          JSPServlet. This file is still a JSP file, but for management purposes I
          need to create a new file extension.
          I tried to modify the web.xml file but is not working. Any ideas? (I'm using
          Weblogic 6.0, SP1)
          This are the entries that I added to the web.xml file:
          <servlet-mapping>
          <servlet-name>JSPServlet</servlet-name>
          <url-pattern>*.newJsp</url-pattern>
          </servlet-mapping>
          <servlet-mapping>
          <servlet-name>weblogic.servlet.JSPServlet</servlet-name>
          <url-pattern>*.newJsp</url-pattern>
          </servlet-mapping>
          Luis Obregon
          [email protected]
          

First declare the JSPServlet:
          <servlet>
          <servlet-name>JSPServlet</servlet-name>
          <servlet-class>weblogic.servlet.JSPServlet</servlet-class>
          </servlet>
          Then, add your first mapping below.
          Gary
          Luis Obregon <[email protected]> wrote in message
          news:3ac107d3$[email protected]..
          > I want to associated a new file extension (newJsp) to the current
          > JSPServlet. This file is still a JSP file, but for management purposes I
          > need to create a new file extension.
          >
          > I tried to modify the web.xml file but is not working. Any ideas? (I'm
          using
          > Weblogic 6.0, SP1)
          > This are the entries that I added to the web.xml file:
          >
          > <servlet-mapping>
          > <servlet-name>JSPServlet</servlet-name>
          > <url-pattern>*.newJsp</url-pattern>
          > </servlet-mapping>
          >
          > <servlet-mapping>
          > <servlet-name>weblogic.servlet.JSPServlet</servlet-name>
          > <url-pattern>*.newJsp</url-pattern>
          > </servlet-mapping>
          >
          > Luis Obregon
          > [email protected]
          >
          >
          

Similar Messages

  • How to create new file association

    Hello,
    I have a program that uses the .pez file extension.
    Now I want to change the association so that it is opened with my desired program.
    Therefore I tried:
    xdg-mime default prezi-desktop.desktop application/pez
    However, this does not work. The .pez file is still opened with Fileroller on Gnome 3.
    How do I associate new file types with an application? The program prezi-desktop is not visible in the "Open with" menu. Hence, I cannot change the file association with Gnome.
    Regards,
    Robert
    Last edited by orschiro (2012-12-12 00:27:36)

    Hi there, I refered to this wiki page: Default Applications
    Scroll down and you'll see an section titled "Gnome 3".
    Basically you can try running
    gconf-editor
    and tinkering with settings there.
    Or the more lower-level solution is to dig into either if these files
    /usr/share/applications/defaults.list (global)
    ~/.local/share/applications/defaults.list (per user, overrides global)
    Hope this helps!

  • How to add new file associations/

    How do I fix this below?
    - Safari refuses to open csv files in excel -- instead when I click on a csv file from a website, it gives me a bunch of text. And when I try to save it to my desktop, it appends ".txt" to the end of the file name.
    - How can I add/change file associations on mac using terminal?
    Message was edited by: brownlimie
    Message was edited by: brownlimie

    Hi,
    Here are two methods for you.
    1. CSV file is 'comma separated values' in text file and so by default it will be saved as a .txt file. However while saving it onto the desktop you can choose .xls format in the drop down that specifies the format. Then try to open the file in Excel.
    2. Right click on one of the text files stored and open it with the Excel. Then right click on the file name and go to 'Get Info'. From the get info window, change the file extension and under the open with drop down select Excel.
    If these two options are not working then probably the file cannot be imported to Excel or Excel is not installed.
    Hope this helps you........... Regards

  • New Apple Java update breaks jnlp file association

    I thought this might be helpful for other people experiencing this problem.
    It seems that the latest Java update for Macs (10.5 update 4) breaks the file association for jnlp files. When you use one it opens up a text editor. To make matters worse they have moved the location of Web Start.
    The only way we have been able to fix this is:
    1. Control-click the jnlp file that was downloaded to the desktop and select “Get Info”
    2. Click “Open with” and select “Other…”.
    3. At the top of the window select “All Applications” in the Enable box.
    4. Browse to /System/Library/CoreServices and select Java Web Start.
    5. Click the “Always Open With” checkbox at the bottom.
    6. Click the “Add” button.
    7. Double-click the jnlp file on the desktop which should now launch the workbook.
    If anyone else has some more information or another solution, then please reply here.

    Thank you so much for this. I didn't find this post the first time I searched on this problem, and I was mired down in versions-specific directories with javaws--which appears only as a link that cannot be used as an association.
    MUCH appreciated!
    --Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • File associations change when new packages are installed (GNOME)

    Hello!
    Imagine I set Geany to open text files. It works, I just double click the files and they open with Geany. When I install Wine/Gedit/whatever... it overwrites my file association with Geany, opening it by default with notepad.exe/gedit/whatever.
    Can someone help me?
    Thanks, acmps

    I don't know why this happens sometimes after installing or messing around with wine, but I can also confirm multiple, false entries in that associations-list.
    But I know how to get rid of it after it happened (concerning these entries in my gnome-open-dialogue):
    Delete the files which fit in ~/.local/share/applications/* or have a look at mimeapps.list which is also located there

  • ColdFusion Builder 3 - File Associations not picking up a new extension as CFM.

    Hello,
    We have this stupid .cfg file extension that is translated as .cfm but I cannot get coldfusion Builder 3 to color code / format the text for this extension.
    The file has been added in File Associations and it is setup as a CFML Multi Page Editor but the scripts are still basic black text.
    I've restarted builder as well but still no color coding.
    I do get .cfml tag insight but just no colors. Any idea how I can fix this?
    Thanks peoplez

    They say they fixed this, but the release has been sitting in beta testing for AGES. They said this was fixed last month but they sure are taking their sweet time releasing anything through the update site.
    IT's an update site - FOR UPDATES; Ugh

  • GNOME and KDE file associations

    Hi,
    I like to use KDE and GNOME, alternating between them. Sounds crazy, but I like both. Please, let's avoid the "GNOME vs. KDE" discussion, right?
    My problem is: I like to use different file associations when I'm using GNOME or KDE. For example, I'd like to associate text files with gedit in GNOME and with Kate in KDE. But if I associate text files to gedit in GNOME, when I run KDE and open a text file it opens gedit. If I associate them with Kate in KDE, when I'm using GNOME it'll use Kate as its text editor.
    Some time ago I could have both desktop environments without this mess. Can I have this behaviour back?

    Yeah, I got tired of Evolution not knowing about opening *.docs in openoffice.  After several hours of research, the key is the /usr/share/applications/mimeinfo.cache,  /opt/gnome/share/applications/mimeinfo.cache, and the MimeType fields in the *.desktop files.  The mimeinfo.cache in /usr was empty and the /opt one had gthumb and other apps but no OO:
    [MIME Cache]
    application/x-gnome-stones=gnome-stones.desktop
    image/jpeg=gthumb.desktop
    application/postscript=ggv.desktop
    ...snip...
    That's a lot of blather to say that the fix for Evolution/OpenOffice was to add the proper MimeType entry to /usr/share/applications/ooo645writer.desktop:
    MimeType=application/vnd.ms-word;application/msword
    and then run "update-desktop-database".  Problem solved.
    Another problem is that within Evolution it says an attached doc is a "application/msword" and not a "Microsoft Word Document".  Unfortunately this is because freedesktop.org decided to use application/vnd.ms-word instead of application/msword like the rest of the world.  If you check the vnd.ms-word entry in /usr/share/mime/packages/freedesktop.org.xml it defines an alias msword but the new mime system doesn't appear to recognize aliases yet.  The solution I used was to rename the entry to msword.  Another possible solution might be to remove the msword alias from the vnd.ms-word entry and create a new msword entry based on the vnd.ms-word one.  Then run "update-mime-database /usr/share/mime".  Hope that made sense.
    I think the defaults.list is part of the previous GNOME MIME setup cause I don't have one and I'm not experiencing any problems.  For other apps check for the associations in the mimeinfo.cache's and if missing add the MimeType's to the app's *.desktop.

  • FAQ: What do I need to know about file associations when I load  Photoshop CS6?

    Use Windows control panel to establish the file association.
    This solution uses Photoshop as an example. For any other product, replace that product's filename extension and executable name with the product and file type you are attempting to restore.
    Windows 7/Vista
    Choose Start > Control Panels.
    Change to list view:
    Double-click Default Programs.
       4.  Click Associate A File Type.
       5.  Select .PSD from the list. 
    Click Change Program.
    If your desired version of Photoshop is listed, choose, it. Otherwise, click Browse to locate it and click Open.
    Ensure the "Always use the selected program..." option is selected. Click OK to close the Open With dialog box.
    Double-click an .PSD file to ensure that it opens with your preferred version of Photoshop.
    On Windows 7, click the View By pop-up menu and choose Small Icons.
    Windows Vista, click Classic View in the upper left.
    Windows XP
           Choose Start > Control Panels > Folder Options.
           Click the File Types Tab.
           Select PSD from the list. 
    Note: If you do not have PSD in the list of extensions, skip ahead to the next section, Create a filename extension.
           Click Advanced.
           Select the Open action, and click Edit
           Click Browse and navigate to the Photoshop.exe for your version. Select it and click Open.
    Note: Make sure that the resulting value in the Application Used textbox has the following syntax, especially the "%1" (with quotes included). If it does not, manually edit the field contents so that it does:
    "C:\Program Files\Adobe\Adobe Photoshop CS6\Photoshop.exe" "%1"
           Select Use PSD and click OK to close the New Action dialog box.
           Click OK to close the Edit File Type dialog box.
           Click Close to close the Folder Options dialog box.
          Double-click an .PSD file to ensure that it opens with your preferred version of Photoshop.
    How to associate files for Photoshop CS5 with Bridge CS5 and Photoshop CS6 with Bridge CS6
    1. CS6 assigns all standard graphics files to be associated with CS6 and thus causes Bridge CS5 to invoke Photoshop CS6.  The objective is to have Bridge CS5 invoke Photoshop CS5 at least for chosen file types.  Ensure neither CS5 nor CS6 is invoked.
    2. In the Win7 Start Menu search box, type "file association".
    3. Select the "Change the file type associated with a file extension".  This starts a window titled "Associate a file type or protocol with a specific program".
    4. All of the graphic files are assocated with Photoshop CS6.   For those files you want to associate with Photoshop CS5, click on the chosen file extension (e.g. .cr2, .nef, .psd, etc) and click on the "Change Program" to associate the extension to Adobe Photoshop CS5.  (note.  this step seems to be a necessary operation since, when I simply modified the Bridge CS5 file type associations, Bridge 5 did not honor the change).
    5. Start Bridge CS5. Choose "Edit -> Preferences -> File Type Associations".
    6. For each file type you wish opened in CS5, change the association from CS6: choose the "Browse" option and locate the CS5 version of Photoshop.exe".  This is probably in Program Files/Adobe/Adobe Photoshop CS5 (64 Bit)/Photoshop.exe. Click on OK to complete the association.
    Now you can invoke Bridge CS5 and it will properly invoke Photoshop CS5.  If you invoke Bridge CS6, it will invoke Photoshop CS6.  If you use file manager to invoke one of your selected file extension types, it will start Photoshop CS5. Other graphic files will start Photoshop CS6.
    If you wish, you can go back and reassociate the chosen types to PhotoshopCS 6 - but your Bridge 5 will still invoke PS5 for your chosen extensions since the Bridge-assigned file associations takes priority over the windows default program.

    Also, see:
    Font Management in OS X
    http://images.apple.com/pro/pdf/L311277AFontTTv4.pdf
    http://www.creativetechs.com/tips/SVC-fonts/Fonts-2007-SVC.pdf
    http://dl.extensis.com/downloads/SC/EN/P/FontsBest_Practices_inOSX.pdf
    http://www.macworld.com/article/44942/2005/05/julyworkingmac.html

  • How to restore file associations in Bridge CS5?

    Hi
    Some time ago I somehow lost file associations in Adobe Bridge CS5. Now when I doubleclick a RAW file (Canon .CR2 file) I get Firefox, when I doubleclick a JPG I get FastStone and when I doubleclick a PSD file nothing happens at all. Also Photoshop is not in the options I get by right-clicking photos and choosing "Open with...".
    I have tried [ Edit -> Preferences... -> File Type Associations -> Reset to Default Associations ] , but that didn't help.
    Also when I look in the File Type Association dialog, my file types are set to "Explorer Settings", and Photoshop is not among the other options. I don't know how this uses to be (if associations are defined in Bridge or it uses Explorer/Windows settings?), but how do I easily recreate original setup from when I installed Photoshop?
    Regards
    Stig Nygaard
    http://www.rockland.dk/
    http://www.flickr.com/photos/stignygaard/

    Hi Neil
    Thanks for the answer. I'm aware I can manually setup associations one-by-one for all file types I need, but just hoped there was some easier way. I mean there's a lot of file types associated in either windows/explorer or directly in Bridge. Some that I might not know I need tomorrow.  Two things I have found out since I asked the question:
    1) The problem is probably caused by uninstalling my old CS4 after I had installed CS5. It looks like somebody experienced a similar problem by uninstalling CS3 after the installation of CS4: http://forums.adobe.com/message/1899159#1899159. So apparently a bug Adobe hasn't fixed even though it was in previous version too!? :-( I think it is only natural to keep your old version installed for some time when installing an upgrade. Just to make sure the new version works well before you uninstall the previous (And I have previous had the problem that a new version of Photoshop had a habit of freezing on my PC - or some other error I don't remember -  until Adobe released an update. So there's a reason for my behavior).
    2) I have installed a second copy of CS5 now on my secondary portable PC, and are using this to make a similar setup regarding file associations in windows/explorer and Bridge. All associations for Photoshop was lost on my primary PC, and God... there's a lot of file associations to setup again... May I recommend Adobe (if reading this) to fix this bug and/or make a script to automatically recover all associations in case of loss!
    /Stig

  • File association in Bridge

    I have CS PS6, Win 7, but recently installed PS Elements 10 to help a friend who is new to photo ediing so that we'd both be looking at the same picture if and when he ran into problems. However, the Elements installation changd the file associations. Why it should do this without even asking is beyond me, or would beexcept that this is an Adobe product. Thank you to the developers of PSE 10! I have changed .jpg and .bmp back, but RAW files will not open in Adobe Camera Raw. Where is the .exe file for ACR? Or what is its name? If I knew that I'd be able to get the association sorted out.
    Thanks
    David

    It's only for CS6, and I imagine will handle both opening Canon .CRW files, and converting to .DNG.
    Here is a link from the Adobe site for a bit more understanding of Camera Raw and DNG, however there is plenty of additional info to find in books, Adobe TV etc, just Google a bit.
    http://www.adobe.com/products/photoshop/extend.displayTab2.html
    And as Curt already stated, If you have a new dSLR and your PS is not supporting the latest ACR for this you can always use the DNG route. This free converter is always available in the latest download and lets you convert the new Raw type to DNG and those DNG files can be opened in older ACR version.
    But using CS6 you have access to the latest options of ACR (the new 2012 conversion and different development options)
    BTW, ACR 7.2 is the latest version but it seems the manual download is not available. Using the AAM (menu help / updates should do this for you) should auto update both ACR and the DNG converter.
    If you do want a manual download check this forum post, but be aware that activating the given links for Mac and Windows starts to download the file directly, can't find a way to check the site itself and don't know who controls this site. However the forum posted reactions of satisfied users:
    http://forums.adobe.com/message/4769823

  • Quick Time Hijacks Windows File Associations Only From Web Browsers

    It took me 6 hours this morning to conclusively prove that Quick Time (latest version) isn’t playing well with web browsers on my Windows XP Pro (SP3) machine (nothing new here I guess).
    I develop web sites which get their content from local hard or DVD/CD drives (as opposed to from the internet). All my Windows file associations for audio/video file types point to Windows Media Player (WMP) so that when one of my web pages looks for a file type of say .mpg or .mp3, WMP is opened and the file is played. Pretty straight forward and has worked fine for years.
    Some time in the last few months (and I now strongly suspect after a Quick Time update) my browsers (all of them….. IE, Firefox, and Chrome) started opening Quick Time instead of WMP when my HTML goes to open any media file type. I’ve checked my Windows file associations which all still point to WMP. I also note that when I open one of my media files from a file utility such as Windows Explorer or my aftermarket file utility (as opposed to from a browser), they correctly open in WMP. So…….. its only from browsers that QT hijacks my intended media player.
    In Internet Explorer I’ve gone to “Manage Add-Ons” and “disabled” Quick Time. This in fact causes QT not to be opened but instead a blank web page appears containing only the browser’s little error box with a big red X in it which usually means a picture file is missing…… WMP is not launched even though it is enabled in Manage Add-Ons and QT is disabled.
    The only way I’ve found to fix this problem is to uninstall Quick Time in which case everything works fine. (My objection to Quick Time as my default media player is that even the latest version doesn’t reliably play video created for Windows file types.)
    Can anyone tell me how to make Quick Time co-exist on my computer without hijacking my attempts to get at WMP from browsers?
    The only reason Quick Time has existed on my computer in recent years is so I have access to iTunes. I’ve uninstalled both Quick Time and iTunes till I find a solution to this problem which means iTunes isn’t selling me anything in the mean time.

    I'm having the same issue that Quicktime hijacks file associations.
    I recently reinstalled my copy of Windows 7 64-bit and have installed basically hardly anything on it. I have however installed iTunes (+Quicktime) for my iPhone and Winamp (and not even loaded Windows Media Player).
    Basically when I uninstall Quicktime, I can just type an url in the IE8 address bar with the .mp3 extension and download and save the file there and then. Only after installing Quicktime the browser will open the .mp3 in the window and play it embedded with the Quicktime player.
    This is something I do NOT want, and I am really ****** off that Quicktime just takes over this feature without asking me first!!
    That being besides the point really because I also cannot find the option in Quicktime's settings to undo this!!
    When I go to Quicktime's settings -> Browser -> MIME types
    It just shows that .mp3 is linked to Winamp (like I want it to be), but it still opens as a Quicktime Control Object.
    Reinstalling IE8, resetting its settings, disabling the iTunes & Quicktime addons, even removing the Quicktime Control Object class from the registry... Nothing worked!
    http://www.archive.org/details/testmp3testfile
    Here you can find an mp3 file to use for testing.

  • Unable to open files associated with Adobe Reader - program goes into a loop

    i am unable to open any file associated with adobe reader or adobe pro.  when i double-click the file, adobe reader opens up but it goes into a loop. 
    adobe reader opens, then a progress window opens, as if the file will open but adobe closes and opens again and the same cycle repeats itself until i manually close the program.
    any advice?
    update:
    i can open regular .PDF files when i double-click the icon and i can also open .PDF files when i open adobe reader first and then choose open file.  it's just the .FDF files that are the problem (so far).
    the file in question happens to be an .FDF extension, which is an internet generated form. i attached a screen shot of the screen that pops up, goes away, and pops up again that creates the loop.
    the white out section is the server name where the file was saved to.  but i also get the same symptoms when i am in internet explorer, hit the generate form button.

    hey ankit,
    sorry i didn't see a notification that you replied to this discussion.
    "1. Generate a new PDF and a FDF file. Try opening the same and see if it behaves the same way."
    yes, it does behave the same way, it's just a continuous loop until i have to kill the process.
    "2. Check if you have access to the PDF that is being used by the particular FDF."
    by this do you mean the correct permissions?  if that is what you mean, then yes, the permissions are set correctly.
    "3. If possible, please send me the FDF and the associated PDF that is behaving in this way on your system."
    i really wish i could but the information in the form is sensitive and cannot be sent. 
    as an update though, i reimaged the customer's workstation, installed Adobe Reader 10.1.1 and it worked perfectly (finally).  HOWEVER, after about two weeks the same symptoms returned! 

  • File Association

    When I had InDesign CS 5.5 installed I was able to associate *.pmd files with InDesign so that I could open the page maker files in InDesign by double clicking the *.pmd file in Windows Explorer, but since installing CS 6 I have been unable to associate or connect that extension with InDesign. Therefore the only way I can open pmd files in InDesign is to drag and drop them into an open indesign program or go to file open from InDesign. Does someone know how I can get this file associated properly????? I've noticed it seems to have something to do with the fact that InDesign's ".exe" file is located in "Program Files (x86)" and not the standard "Program Files".

    Not Necessarily!!!!
    InDesign uses a shell extension (an actual executable Windows component) in Windows to control the icon display and opening .INDD and other InDesign files. Each version of InDesign installs a replacement version of this shell extension (that's why if you can get unexpected results if you install an older version of InDesign after a newer one). The normal registry entry may not do what you want.
              - Dov

  • File Association Settings Ignored

    Hello.
    I'm afraid I'm not too happy about this problem. I've been using iTunes recently as my media player. I do quite like iTunes, however, I'm not too happy that QuickTime must be installed in order for it to function.
    Since installing iTunes/QuickTime, my file association preferences for online audio files have been ignored. When I click a link to an MP3 file online, I still want Firefox to prompt me to either open the file in Windows Media Player or save it to my computer. However, clicking the link simply loads a new tab in which QuickTime attempts to play the file.
    Windows Media Player is set as my default player for MP3 files. QuickTime is set NOT to play MP3 files in both the "File Types" tab and the "MIME Types" window on the "Browser" tab of the plugin.
    I have been trying to fix this problem for days and I am sick and tired of it. Searching around the web, I've found many people who seem to have the same problem as I do, although I'm yet to find any kind of working solution. I'm hoping someone here can provide me with a working solution, otherwise I will have no alternative other than to uninstall both QuickTime and iTunes.
    Any suggestions would be appreciated.
    Windows XP
    Windows XP

    Try this, right click on a MP3 that you have on the HD and go to properties. Next to Opens with: click on Change and select another player to handle them. Also go to the settings of Firefox,-tools>options>downloads>plug-ins to see what is enabled in there to handle MP3's

  • File association in Firefox ESR

    I'm using Ubuntu 12.04 and Firefox ESR 10.0.9 installed but the file association is not working. For example, the history window when the download request to open the folder nautilus does not start. Pdf files, jpg and others are not open with their applications.
    The 16.0.1 version of Firefox installed by default works perfectly.

    Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can also try to reset Firefox:
    *https://support.mozilla.org/kb/Basic+Troubleshooting

Maybe you are looking for