How to disable the Directory listing for the whole server or a particular a

Please let me know how to disable the Directory listing for the whole server or a particular application.
Thank You

I want to disable the tab focusing( tab index) for a JTextField objectsLook through the API and find methods with the word "focus" in the method name.
Also can u tell me about how to change the tab index orders for JTextFields."How to Use the Focus Sub System":
http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

Similar Messages

  • Lion Server: How can I enable directory listing for the Web Server?

    The functionality was part of the Server App in Lion Server but was not included in Lion.  Can anyone shed some light on how to enable Directory Listing.  Any help is appreciated!

    Go to /etc/apache2 and edit the file 000_any_80_.conf
    using sudo nano command and replace  "-Indexes" with "+Indexes".
    Restart Apache with "sudo apachecrl restart"
    Good luck,
    Ricky
    from Costa Rica

  • Directory lister for the web.

    Hi
    Here iam attaching my project code for my particualr aplication
    The source code for a directory lister for the web. You give it
    one or more URLs as arguments and its not displays the formatted results .. can any body will help me
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class WebList extends abcd.Application
    static final String progName = "WebList";
    public static void main( String[] args )
    (new WebList()).compat( args );
    public int newMain( String[] args )
    int argc = args.length;
    if ( argc == 0 )
    usage();
    return -1;
    for ( int argn = 0; argn < argc; argn++ )
    if ( argc > 1 )
    if ( argn > 0 )
    out.println( "" );
    out.println( args[argn] + ":" );
    list( args[argn] );
    return 0;
    private void usage()
    err.println( "usage: " + progName + " URL ..." );
    void list( String urlStr )
    String base = abcd.Utils.baseUrlStr( urlStr );
    Enumeration as;
    try
    as = new abcd.Spider( urlStr, err );
    catch ( MalformedURLException e )
    err.println( e );
    return;
    while ( as.hasMoreElements() )
    URLConnection uc = as.nextElement();
    if ( uc == null )
    continue;
    URL thisUrl = uc.getURL();
    String thisUrlStr = thisUrl.toExternalForm();
    if ( thisUrlStr.startsWith( base ) )
    thisUrlStr = thisUrlStr.substring( base.length() );
    if ( thisUrlStr.length() == 0 )
    thisUrlStr = ".";
    String mimeType = uc.getContentType();
    int len = uc.getContentLength();
    long mod = uc.getLastModified();
    Date modDate = new Date( mod );
    String modDateStr = abcd.Utils.lsDateStr( modDate );
    out.println(
    abcd.Fmt.fmt( mimeType, 14, abcd.Fmt.LJ ) + " " +
    abcd.Fmt.fmt( len, 8 ) + " " +
    modDateStr + " " + thisUrlStr );
    try
    InputStream in = uc.getInputStream();
    in.close();
    catch ( IOException e ) {}
    }

    Hi,
    It is enumerating the files reachable at or
    below those URLs, i hope it will full fill your application requirements.
    and also in the for loop you have to do pre increment not post increment so it may be the casue for entier your logic ..
    as per my knowledge iam changing the code .. i hope it will work for your application...
    still if you have any querys please post me with details of your projects so that i can help you more..
    here is modified code:
    =================
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class WebList extends abcd.Application
    static final String progName = "WebList";
    public static void main( String[] args )
    (new WebList()).compat( args );
    public int newMain( String[] args )
    int argc = args.length;
    if ( argc == 0 )
    usage();
    return -1;
    for ( int argn = 0; argn < argc; ++argn )
    if ( argc > 1 )
    if ( argn > 0 )
    out.println( "" );
    out.println( args[argn] + ":" );
    list( args[argn] );
    return 0;
    private void usage()
    err.println( "usage: " + progName + " URL ..." );
    void list( String urlStr )
    String base = abcd.Utils.baseUrlStr( urlStr );
    Enumeration as;
    try
    as = new abcd.Spider( urlStr, err );
    catch ( MalformedURLException e )
    err.println( e );
    return;
    while ( as.hasMoreElements() )
    URLConnection uc = (URLConnection) as.nextElement();
    if ( uc == null )
    continue;
    URL thisUrl = uc.getURL();
    String thisUrlStr = thisUrl.toExternalForm();
    if ( thisUrlStr.startsWith( base ) )
    thisUrlStr = thisUrlStr.substring( base.length() );
    if ( thisUrlStr.length() == 0 )
    thisUrlStr = ".";
    String mimeType = uc.getContentType();
    int len = uc.getContentLength();
    long mod = uc.getLastModified();
    Date modDate = new Date( mod );
    String modDateStr = abcd.Utils.lsDateStr( modDate );
    out.println(
    abcd.Fmt.fmt( mimeType, 14, abcd.Fmt.LJ ) + " " +
    abcd.Fmt.fmt( len, 8 ) + " " +
    modDateStr + " " + thisUrlStr );
    try
    InputStream in = uc.getInputStream();
    in.close();
    catch ( IOException e ) {}
    Regards,
    TirumalaRao.
    Developer Technical support,
    sun MicroSystem, India.

  • How to Create Interactive report lists for the gross sales, credit ....

    How to Create Interactive report lists for the gross sales, credit returns, and gross weight for the               customer for the current year and comparing the same with that of the previous year for the same period.....
    plz tell me steps to accomplish this....plz ...give me the detail description..plz......many many thnx in advance...

    Hi raja,
    Display a checkbox , customer number on the basic list and also set a GUI STATUS  on the basic list.....
    Select the customer by checking the checkbox and click on the button you create in the GUI status....
    Write the desired code to be displayed in
    AT USER-COMMAND even checking the sy-ucomm....
    so this would make you to into interactive list...
    Hope this would help you.
    Regards
    Narin Nandivada

  • Where can I find the song list for  the glenn miller gold collection

    Looking for help!!
         Where can I find the song list for the CD of The Glenn Miller Gold Collection DIGITAL DEJAVU?
                   [email protected]

    Thank you for trying but this is the wrong disk. I'm looking for the list on the disk made in Italy by Phonocomp SpA . It has a number on it of 5-105-2 and CEDAR  DIGITAL REMASTERING  1992DEJAVU.
           I have tried to attach a picture  of the disk but it will not paste to this reply.
                               Herbert Hamlin        [email protected]

  • How to Disable client side validation for the message text input

    Hi,
    I have scenario where i need to by pass the client side validation for a message text input
    Scenario is
    I have a message text input field(say XYZ), i set the max length for the item as 20
    Now when im trying to enter the greek characters into it, it is allowing me to enter till 20 characters
    But when i try to submit the form ..my client side validation is firing..
    The Error says the XYZ is too long
    The problem is, in greek each character takes two bytes.(In english it is only 1).While entering the content it allowing 20 characters and when validating it is checking for bytes(if we enter in greek the length will be 40 bytes not 20)
    I cannot increase the max length .coz i have restrict the character length to 20 only.(english or Greek).
    Please help me in this regard.
    Regards
    Sandeep.

    Thanks for the information.But we dont have any option either declaratively or programatically to disable the client side validation for the message text input..I referred java docs ..i dint find any method which does..
    Correct me if im wrong

  • How to find the parts list for an existing server.

    I need to know what kind of integrated controller is in my DL 385 G7 server.
    The website is unable to tell me anything - or at least I've only invested 45 minutes in trying to find the actual data.
    I have the Serial number, the Product number, the Product Name, and even the Server Warranty and HP Care Pack Warranty Number, yet I can't find a simple parts list of the purchased configuration!
    Let's see an Expert show me the way to find out if this integrated controller supports RAID10, and how many disks, when installing VMware ESXi (the free version.)  I am going to assume at some point I will have to pick up some drivers as well.

    Hi noosh,
    I see the product in question is an enterprise product which may have better exposure in a community more experienced with it's use.
     You may have a better response at the forums for business support, if you'd like to give them a try:
     http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support
    Thank you,
    -AntoniusL
    HP Support Forums Moderator

  • How do you determine in the voice listing for the bill if the call is incoming or outgoing

    I have selected the "Calls, Messages, Data" tab and clicked on voice, but the detail does not indicate if I made the call or received it.  I tried clicking on "View Additional Call Detail" but all it does it make the screen go gray and does nothing.
    I get to and from information on messaging but not calls.   Am I looking in the wrong place.

        Hi rsm711!
    You pose a great question, and I'm happy to help. I checked online, and I see that the origination and termination of calls are not listed on vzw.com but if you click on the "View and Save Printable Bill" link, after clicking the "View Current Bill" link from the homepage, you can see whether the calls were incoming or outgoing.
    Once the bill pulls up, you will be able to view all of the call details for each line. You can save the bill to your PC from there, as well as print the bill (or a portion of it).
    I hope this helps, have a great day!
    Christina B
    VZW Support
    Follow us on Twitter @VZWSupport

  • Why did apple charge me more than the price listed for the app?

    My iTunes gift card was purchased in the US with US dollars. The price listed is in US dollars. The amount taken from my credit is not what was listed on the price. I am quite angry about this deception. And I can't possibly be the only one to have had this happen.
    Here is what happened:
    I had $19.82 in credit. All credit had been purchased in the US, normally, with US legal tender.
    I clicked a button stating clearly $9.99 and now I have $9.06 in credit. So I've paid $10.76 for something sold to me as costing $9.99.
    It's not about the difference, it's about the fact that I've been charged a price not disclosed beforehand and have no recourse now. How many other people have been cheated this little bit from each of their purchases?
    Does anyone know someone I can file a claim with?

    See quote below from Apple terms and conditions.
    Your total price will include the price of the product plus any applicable sales tax; such sales tax is based on the bill-to address and the sales tax rate in effect at the time you download the product. We will charge tax only in states where digital goods are taxable.
    http://www.apple.com/legal/itunes/us/terms.html#SALE
    Stedman

  • I have a toshiba 380 exp harddrive and I have like 12K files backedup. If i have to use it to add to Itunes later.will the coments field be added as well like it is on my itunes.? I have the songs listed for the LPs under comments.but does it save like th

    when i make changes on my Itunes files..and it saves..will it also import those same comments section should i need to use my backup to reload files later? or just the main title? putting all those songs listed again would take me days,, weeks maybe

    I like that I would be able to maintain my iPhoto library data for Faces and Places in Aperture, but am concerned that when the iPhoto library is "upgraded" for Aperture, and I decide I don't really need that program, the upgraded library won't work with iPhoto anymore.
    The iPhoto library isn't changed in any way by Aperture. Aperture will import the Library and you can choose to copy the files to the Aperture Library or reference them within iPhoto. As long as you don't delete files from the iPhoto Library via Aperture (which you could do if you choose to Reference) there is no impact on iPhoto
    Will I still be able to use iPhoto to access and organize my library, or will it be forever converted for use with Aperture?
    They are completely different libraries.
    Recently, iPhoto bugs make Events show up multiple times in iTunes when syncing for iPhone and iPad.
    Fixed in the 9.1.3 update.
    Will I find a better user experience with Aperture, or does it also use the single file library and suffer the same struggles iPhoto users have been seeing lately?
    Like iphoto, Aperture can use the "single file library" or it can use a Referenced Library (just like iphoto can). Note that using a Referenced Library offers not a whit more in terms of features or capabilities. It's file storage plain and simple. Nothing more.
    No you won't see the "same struggles iPhoto users have been seeing..." because Aperture is an entirely different allication.
    But you my see Aperture or Lightroom struggles
    Regards
    TD

  • Re:Error while updating Warehouse List for the items in DTW..!!!

    Dear SAP Members,
    We have transferred the items through DTW but while updating the warehouse list for the items.i got a error message like this:
    No.     Status                  Key               Reason
    1         Updatefailed       ItemCode       cannot find this object in B1-application defined or object defined error65171
    How to resolve this issue.It shows error for 600 records.It is very dfficult to enter manually.Help me on this issue.
    With Regards,
    Revathy

    Hi Revathy,
    I suggest you use SQL Server Management Studio. I am not sure which DTW template you are using. All templatesl map to certain tables in B1. You should perfform a select on that table in SQL Management Studio.
    It seems like the column that connects DTW Template in excel to the column in B1 Table do not match. Usually you may have incremental numbers in starting sequence in DTW Template, however, it is different in B1. You may need to copy the numbers over to DTW Template.
    If you want to do it automatically, you can achieve it through mapping or you could write your own little program that takes data from B1 tables and replace the one in Excel in that column.
    If it is one time effort you may just map them manually.
    I hope I am making sense to you.
    If you want us to try it out, give the name of the template, the content in the template may be few lines.

  • Is it possible to create the ALV output with dropdown list for the columns

    Hi forum experts,
                              Could the ALV output contain the dropdown list for the column names? if yes, then how we can acheive this to happen.
    Thanks in advance,
    Regards,
    Samad.
    Edited by: Samad arif on Aug 21, 2009 4:40 PM

    Hi Arif,
    Yes we can .FOr the codding check the article,
    [dropdowns in ALV|https://wiki.sdn.sap.com/wiki/display/Snippets/DropdownsinALV]
    regards,
    Archana
    Edited by: Archana Kumari on Aug 21, 2009 1:22 PM

  • Pull list for the component of the phantom assembly

    Hi
    I am in rem process. while doing the pull list for the fianl product using Entry with bom explosion.
    i did not get the components (level 3)for 1 assembly(level 2 ) which is phantom one under the final product (level 1) BOM.
    i also maintained the production stor loc for the components and the phantom assmy.
    i check the stock in the production storage location . no stock is there in the location.
    what is the problem . how to get the component of the phantom in the pull list.

    Dear Raj,
    If your FERT contains a HALB and inturn this HALB contains say HALB1 which is a phantom assembly
    and and another 2 raw materials means,when you execute MF60 For HALB,you will get the 2 raw
    materials along with the component's of phantom assembly.
    Check and revert back.
    Regards
    Mangalraj.S

  • Directory listing for a directory within the webapplication

    Hi,
    I have a the code which does the directory listing of a given directory using its absolute path. eg new File("c:/webapp/tempdir");).
    I want to do the directory listing by giving a path relative to the context path of the webapp like(new File("/temp");)
    When I try to do
    <%
    File f1=new File("/tempDir");
    f1.exists(); --> returns flase
    %>
    tempDir is a directory in my webapplication. How should I reference this? Should I have to use file:// or http://?
    Looking forward for your help
    Thanks in advance

    There is a method in ServletContext: getRealPath.
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    It turns a website relative path into a real location on disk.
    // only need this line in a servlet.  "application" is already defined in a jsp
    ServletContext application = getServletConfig().getServletContext();
    String filePath = application.getRealPath("/tempDir");
    File f1 = new File(filePath);Some issues with using this approach:
    If your application is in an unexploded WAR file, then getRealPath() can return null, as there isn't really a location on disk that it relates to.

  • How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs.

    How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs. This is important as otherwise while I am in the app tab, i mistakenly start browsing from that tab and meaning of the app tab is completely lost...

    How can I view my full billing history for the app and music stores without iTunes installed?
    No.
    If my account has been compromised
    If you even think this may have happened, immediately change your password.
    See this -> Apple ID: Changing your password

Maybe you are looking for

  • Put Purchase Orders checkbox in the first Tab in sales order window

    How do I use UI SDK to put the Purchase Orders checkbox in the first tab in sales order window?

  • Purchase Reqisition & PM Order - Table

    Hi All, In which table I can get the Purchase Requisitions created through PM Order. I need the link, where I can find both PR & PM Order. I have tried table RESB, evethough it has PR & PM Order, I could not see any records in table where as those ar

  • Getting my 8330 to have an Enterprise Activation

    I just got a 8330 from Sprint.  We have a small office and our own Microsoft Exchange Server.  I got the BlackBerry Professional server download form BlackBerry and our outside tech installed it successfully and gave me my address and password.  I ha

  • CTM - Global customizing settings - Best practices

    Colleagues We are in the process of optimizing the performance of our CTM engine. We are using SAP recommended standard settings for live cache accesses. Currently we are operating in asynchronous mode with packet size of 1000. Here are other setting

  • Firefox freezes after I add a bookmark

    After I add a bookmark Firefox freezes. It starts as soon as the save bookmarks dialogue box appears so I can't choose where to save the bookmark but after the freeze ends (about 20-30 seconds) the bookmark has been saved. I also have another problem