Is there any way to prevent web.xml from any change ?

hi all,
we have a filter in web.xml. Now we want to prevent it from any change in future. I mean after making a war(EAR) no one can change the filter in web.xml. if he chaged it then he will not be able to re deploy the application.Right now it is in web.xml so one can easily change it and then he can redeploy the application.
Is there any way to prevent web.xml from any change after making EAR(WAR)?
One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
Could some one help me to do this?
thanks,
dinesh

I think you could use some third party software to lock the folder like FolderLock, just make sure others ppl cannot access your file should be fined.
This is my stupid solution only,cheers.

Similar Messages

  • Is there any way to prevent web.xml from any change like java class?

    hi all,
    Is there any way to prevent web.xml from any change after making EAR(WAR)?
    One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
    Could some one help me to do this?
    thanks,
    dinesh

    hi,
    Not at development level. We want it after deploying the application on server .
    We want to create it (web.xml) at tomcat startup (or in any other web/app server ) before loading any context.
    Is there any way to run a simple java class(not servlet) on tomcat startup(before initializing the contexts)?
    Message was edited by:
    DP_java
    Message was edited by:
    DP_java

  • Is there any way to prevent the OS from querying the Superdrive when start

    Just a random question. Whenever my MacBook Pro starts up (either from sleep or a complete/fresh start, the OS queries the drive slot to see if there is a disc present. While this may be normal behavior, it seems to slow down the start up process. (I rarely ever have a disc in the drive). Just curious if this, in fact, normal, or if there's something awry.

    Is there any way to prevent the OS from querying the Superdrive when start
    No
    he OS queries the drive slot to see if there is a disc present.
    How can you tell? Based on the noise it makes?

  • Is there a way for preventing the placeholder from appearing if there is not content for it?

    I am creating a structure with tags and place holders.  However, not all my entries have all the same information. For example, my first entry has a 3 line address (123 West Street, Suit 23, Lincoln NE 68521) but my second entry only has 2 line address (456 North Street, Lincoln NE 68521).  When imported into my structure, the second address reads 456 North Street, <address2>, Lincoln NE 68521. My question for you is, is there a way for preventing the placeholder from appearing if there is not content for it?

    IJWAA,
    A work-around if you don't already use XSLT (to avoid having to) is to not have placeholder text, just use empty tags in your text layout that correspond to your incoming XML structure (any unused by the incoming structure IN ORDER, will be skipped). So long as you don't mind the blank line (rather than left over placeholder copy).
    If you had placeholder copy in your text box (<address2> for example) look at it using the story editor window (edit > edit in story editor, or command-y/control-y) so you can see the surrounding tags... style the surrounding tags by selecting them with the cursor and applying character or paragraph styles (with text in between the tags at the time) and then delete only the placeholder text from the middle of the sandwich, leaving the tags in tact. Trying to do this without being in the story editor will not work.
    Also, when importing the XML, I believe you'll still need to use "merge content" and "don't import empty white space" as you have been in order to replace placeholder text in any areas you had it.
    For situations when you have a mixture of dynamic and static text in the same text block and you are merging data (more so when the placeholder text has been deleted as I've suggested above but the dynamic tags for the possible incoming text are still there), you can use a tag you've created (I call mine "staticText") in your layout to wrap ANY bits of text you don't want to accidentally delete when the surrounding tags get populated or not, using the merge option upon importing your XML. Just be sure never to use "staticText" as an actual tag in your structure or surrounding incoming data. The text contained within staticText tags in your layout will be ignored by incoming data, and won't accidentally get deleted when it's sandwiched between two sets of tags that are dynamically populated when merge content is the import option.
    In my example below I'm using brackets/carats with the tag name instead of the color coded tag icon you see in the story editor, also I've used LB here to indicate a regular line break in Indesign and SP a regular space character in indesign:
    [staticText>Name:<staticText][firstName>Abc<firstName][staticText>SP<staticText][lastName>Xyz<firstName][staticText>LB<staticText]
    [staticText>Address:<staticText][address1><address1][staticText>LB<staticText]
    [address2><address2][staticText>LB<staticText]
    all other tags on following lines...
    This should just leave a blank line for address2 when no data comes in for it. I'm assuming you have line breaks, if not, all the better.

  • Is there a way to prevent an image from turning blue when selecting it?

    I'm exported a pdf from InDesign that will be used as a brochure for one of the exhibitions at our museum. I'm wondering if there's any way to prevent an image from turning blue when a reader clicks on it. Since all of the images are works of art, I'd rather that they not change color when people click on them.
    I changed the security settings so the images couldn't be copies, hoping that would prevent the blue square, but it didn't help.
    thanks for any suggestions.
    Chris

    There are several ways to do that and here are but two of them.
    1. If you want to make a new image you can right click on the channel, click on Duplicate Channel and under Destination>Document, select New
    2. If you want to add a new layer to your document, click on the channel in the channels panel, go to Select>All, then Edit>Copy, click on RGB in the channels panel and then Edit>Paste

  • Is there a way to prevent the display from waking up?

    is there a way to prevent the display from waking up when using the (play, next, volume up/down, etc.) keys for itunes?

    How to stop the searching on dashboard when one opens the dashboard...
    If you search, there are more threads on this topic in this forum.

  • Is there a way to prevent ibooks author from shutting down after just one or two uses of the alpha tool?

    Is there a way to prevent ibooks author from shutting down after just one or two uses of the alpha tool?

    Hello One Job at a time,
    Deleting the application will not delete your projects.
    Normally I keep all my work files on a separate drive.
    If you command click on the title name of your project you will get a drop down path to show you the location of your book project.
    or you can click on the drop down triangle beside its name to duplicate.
    Just remember where you saved the file too.
    In your applications folder on your computer select the iBA icon and press delete and also erase / empty the trash can.
    You can then go back to the APP STORE and install iBA from new again.
    I hope this helps.
    Regards,
    Nigel

  • Is there any way to prevent excess rows from being added to a table on the front panel?

    Whenever I programmatically add rows through a property node I can still go into the front panel and keep adding additional rows through the table. Is there any way to prevent this "excess scrolling"? Maybe grey out the rows or something? 
    At least I have chicken

    Hello Labviewleroy,
    You should be able to right click on the table on the front panel and select
    Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    You could also consider changing their visibility programmatically using a property node for the control or indicator that you are referencing. You can create the property node by right clicking on the control on the block diagram and selecting
    Create>>Property Node>>Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    Cheers,
    -Joel
    Motion PSE
    National Instruments

  • Is there any way to prevent an ipad from using open wifi

    There are many open public wifi networks where my son can access inappropriate adult websites.  Is there a way to prevent him from using open public wifi networks.
    Dont they have restrictions so that people cannot access inappropriate material.?

    How Do I Block Websites on My iPad?
    http://www.ehow.com/how_8716944_do-block-websites-ipad.html#ixzz2lh8910jd
    How To Set Parental Controls and Block Content on the iPhone, iPad, and iPod touch
    http://blog.laptopmag.com/how-to-set-parental-controls-and-block-content-on-the- iphone-ipad-and-ipod-touch
    How to block specific websites from being accessed with Safari for iPhone and iPad
    http://www.imore.com/how-block-specific-websites-being-accessed-safari-iphone-an d-ipad
    How To Setup Parental Controls On The iPad
    http://content.mobicip.com/content/how-setup-parental-controls-ipad
    ParentKit
    https://itunes.apple.com/us/app/parentkit/id600618138?ls=1&amp;mt=8
    Parental TimeLock - Time limit for children
    https://itunes.apple.com/us/app/parental-timelock-time-limit/id689577280?ls=1&am p;mt
     Cheers, Tom

  • Is there a way to prevent AD users from accessing the VPN?

    I have ASA 5510's that authenticate users to the Active Directory. Is there a way to prevent users, that even though they are validated through the AD from being to establish a VPN connection?

    Haven't tested this lately, but with the ipsec client, you used to be able to go to an AD user's "dial-in" tab, and there was a check box there for "allow remote access" or something that. If this was checked, they could authenticate via IAS, if not, they couldn't. This allowed only selected users within AD to use the VPN. Not sure if this is still the case, but it's a start...

  • Is there a way to prevent add-ons from being disabled? (i.e. prevent safe-mode, etc.)

    If you have a content blocker installed, it can be disabled by starting firefox in safe mode or by disabling it in the add-ons screen. Any way to prevent this?

    No, you can't prevent starting Firefox in [[Safe mode]] to disable extensions.
    You will have to use outside Firefox if you want to block content.
    * http://kb.mozillazine.org/Parental_controls
    * http://en.wikipedia.org/wiki/Category:Content-control_software
    * http://en.wikipedia.org/wiki/List_of_content-control_software
    * http://en.wikipedia.org/wiki/K9_Web_Protection

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Any way to prevent macbook air from sleeping when lid closed?

    I believe there is no way to keep your macbook/air running when you shut the lid.
    I am running a background job where I am downloading a huge amount of data from the internet, which is coming through slowly (other applications could be where I am running a web server....). I want the machine to be running, but not keep the lid open - since I might want to move the laptop, not leave the screen/keyboard exposed.
    Where can I request Apple to add support for this behavior? Or did they anticipate this request in Mountain Lion already?
    Any suggestions? Others who would like the same feature?

    NoSleep makes closing of your MacBook lid possible without going into sleep mode. Now you shouldn't plug your mouse and monitor to stay computer awake - just check a tick in the System Preferences and continue downloading of huge files and watching favorite movies over the network with lid closed.
    here you go : http://lifehacker.com/5934158/nosleep-for-mac-prevents-your-macbook-from-sleepin g-when-you-close-the-lid

  • Is there a way to prevent Robohelp WebHelp from appending characters to the end of the URL address for a TOC Entry?

    I am running RoboHelp 10 on Windows 7 Enterprise SP1 64 bit OS.
    WebHelp is appending characters to the end of the TOC entry's URL address. The characters "bc-n" where n is a number are being generated for all of the TOC Page Entries when I generate WebHelp output. We are exporting the HTML files for import into an application. The TOC Page Properties Link to: property does not contain the characters in RoboHelp.
    We have standardized names defined for our application and the appended characters are not going to work in the application.
    cid:[email protected]
    When I use the generated html output in IE10 Version 10.0.9200.16635 Update Versions: 10.0.7 (KB2846071) the characters show up in the URL when I hover the mouse over the TOC entry as shown in the screenshot below.
    cid:[email protected]
    The two screenshots show that the Link to property does not have the characters "bc-7" but the URL address does.
    Is there a setting or way to configure RoboHelp to prevent Robohelp WebHelp from generating and appending characters to the end of the URL address for TOC Entries?

    I have never known Rh add any characters so I think something else is at play here. Please open one of the sample projects and see what happens there. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • In fullscreen mode, is there a way to prevent the page from shifting down when displaying the menu and tabs?

    In fullscreen mode (F11), when moving the mouse toward the top of the screen to display the tabs & stuff, the page displayed is shifted down. This makes it annoying when returning down with the mouse - you want to reach a certain link, for example, but your target gets shifted up once the tabs & stuff is hidden back.
    Is there any way to make the tabs & stuff display 'above' the page content, like on another layer?

    Is it the web page display that is changing its own position, or is it something
    about the toolbars that is pushing the page down? I have the same issue with
    my browser using an add-on to show a multiple line bookmark bar.

Maybe you are looking for

  • ITunes crashes at startup

    Hello, Got a major issue here. Suddenly my iTunes crashes everytime at startup. First my specs and versions; iMac 27" 2.66 Ghz Intel Corei5 with 8 GB DDR3 Version 10.8 Mountain Lion iTunes version 10.6.3 iPhone 4 16 GB version 5.1.1 iPad 3 32 GB vers

  • Is there program for precise measuring of web traffic in/out my Mac?

    Some ISPs have their proprietary web traffic/usage indicators   but they are  crude, of no use for precise measurements. Widgets are  of no hellp either. Is there  a program which can display the internet traffic in/out of a computer at any given mom

  • Mountain Lion dock causes kernel panic

    Greetings. I have a mid 2009 MacBook Pro, 15" model with dual core i5 processor.  I have a wierd bug that whenever I open an app from the dock the system will shut down and restart.  This has been happening ever since I upgraded to Mountain Lion.  I'

  • Jerky video - slow responses using Premiere Elements 9

    I just bought a new laptop (desktop) replacement, specifically to create videos on DVD.  I am using video footage that was originally in the AVCHD format but were converted to MP4's.  All videos appear fine on the workspace.  But when dragging the cl

  • RAW processor for Canon 7D

    Does anyone know when Adobe will have a download to allow CS3 to process RAW files from the new Canon 7D?