How to show direcotry content in Unix

Hey
Greeting,have a simple question for Java Gurus,I am using Tomcat and servlets for my projects running on NT platform connecting to Oracle/Sybase servers on Unix boxes my problem is I want to show directory contents on unix box.. show directory name , filesize, date etc on browser to select file and load into database.
Please help me with code and ideas, partly or fully.
Thanks in advance guys.

If your servlet container is running on NT, the only way to show something on the remote unix is to telneting that unix box. You can look on the telnet task of Ant tool for examples. http://jakarta.apache.org/

Similar Messages

  • How to show Certificate Content from IE

    Hi,
    how to show Certificate Content Window from IE. I dont like to write it by myself;).
    Does anybody know if its posible?
    Regards

    Using Firefox, simply click the padlock.
    Suspect IE is much the same.

  • How to show the content of a table (long text) in a scrollable textbox?

    Hi,
    I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
    I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
    1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
    2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
    How to do that easily?  What is the UI Element needed to show that?
    Thanks!

    If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
    Even with TextEdit you can achieve what you want. Try this code...
         StringBuffer tmpBuffer = new StringBuffer();
         for(int index=0;index<wdContext.nodeLines().size();index++)
              wdContext.nodeLines().setLeadSelection(index);
              tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
         wdContext.currentContextElement().setData(tmpBuffer.toString());
    Regards
    Abhilash

  • How to show the content of a data object in listbox

    Hello together,
    i have created a service employee_srv for my data object "Employee". How can I show the content of this data object in a listbox in my view, for example DropDownByKey.
    Regards
    Waldemar Schakiel

    Hi,
    An example to create a dynamic context in Webdynpro ABAP:
    data:
    rootnode_info TYPE REF TO if_wd_context_node_info,
    dyn_node TYPE REF TO if_wd_context_node,
    tabname_node TYPE REF TO if_wd_context_node,
    tablename TYPE string.
    rootnode_info = wd_context->get_node_info( ).
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
    parent_info = rootnode_info
    node_name = tablename " Data object Table name
    structure_name = tablename
    is_multiple = abap_true ).
    ***Bind data to Dynamic table:
    DATA: stru_tab TYPE REF TO data.
    FIELD-SYMBOLS:
    <tab> TYPE table.
    create internal table
    CREATE DATA stru_tab TYPE TABLE OF (tablename).
    ASSIGN stru_tab->* TO <tab>.
    dyn_node = wd_context->get_child_node( name = tablename ).
    Bind internal table to context node.
    dyn_node->bind_table( <tab> ).
    Shruthi

  • How to show icon image on Unix

    I the Button Icons are fine on NT machines. When I move the application to a Unix machine, the icons won't show up. How do I set up to let them show up? Any suggestion? Thanks.
    -- [email protected]

    Hello,
    This plugin Does Exactly What You Need.
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
    Please read the comments on the plugin, in case you come across problem in running the plugin....
    Best Regards,
    Fateh
    If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all

  • How to show the content for a perticular time period(consider 30 days)

    Hi,
    There is a requirement that content should reside the portal only for 30 days and then it should be archived. Archiving means that it should be searchable from portal but it should not be visible on the portal. How would that happen?. Kindly tell me if there is an OOTB from jdeveloper or we need to do coding for that..
    Thanks,
    Arun

    Archiving means that it should be searchable from portal but it should not be visible on the portal.Before I got to this point I thought: a peanut - just define the Expiry Date parameter as entry date + 30 (this can even be automated) and you are done.
    The issue is that expired items are not searchable (except, perhaps, some admin searches). Having said that, the original idea is still valid, it only needs few more precisions:
    a) "should not be visible on the portal" - what does that exactly mean for you? Content items can be visible in Document section (e.g. in Spaces), they can be placed directly to pages, or displayed via Document Service Task Flows such as Content Presenter, Document Explorer, etc. Either way, there is one method which will work for all: in WebCenter Content it's called Archiver. Originally, it was designed to dump content items to the disk, and then, you could easily upload them to another system (with different metadata, if you will). Since Archiver works also if you work with just one system, you can use it to "mass update" metadata of desired items (older than 30 days). Note, however, that this method might be quite slow if you work with a lot of data.
    b) "should be searchable" - the idea of the Archiver (or another method alike) is that you take the item from its place ("searchable"/"visible") and put it to a new one (just "seachable"). Again, the question is what "searchable" exactly means for you. Some methods might work with portal-only data (from where you wanted to have it removed), whilst others might be more "federated" (e.g. WebCenter Content has a search portlet where you can search any content in the repository).
    There are definitely ways to implement what you intend, but you should provide more details.

  • How to show Resultset content in Java

    I had a PL/SQL package with a function get_references(), which supposely shows a list of description.
    A java class calls the package's function as show below. The reality is the list of description never
    shows up on my jsp page.
    Is there anyway I can tell the content of the resultset prior to it reaches to the JSP page
    while debugging in Java?
    Here is what I tried to do in my java code:
    see the SqlCall =
    {? = call ref_anatomicallocs_pckg.get_references ()}
    see the resultset for getAnatomicalLocs =
    oracle.jdbc.driver.OracleResultSetImpl@13eca0b5
    However, I'm seeing the oracle.jdbc.driver.OracleResultSetImpl@13eca0b5.
    Do I have driver problem or something else?
    Here is the function in the java code.
    public ResultSet getAnatomicalLocs()
                   throws SQLException
         int rtncode = -1,session_count = -1;
         if (connected_to_db)
         try
         String SqlCall = "{? = call ref_anatomicallocs_pckg.get_references ()}";
    System.out.println ("see the SqlCall = " );
         System.out.println (SqlCall);
    CallableStatement l_call = con.prepareCall (SqlCall);
         l_call.registerOutParameter(1,OracleTypes.CURSOR);
              l_call.execute();
              results = (ResultSet)l_call.getObject(1);
              System.out.println ("see the resultset for getAnatomicalLocs = " );
    System.out.println (results);
              l_call.close();
         catch(SQLException exp)
              throw exp;
    return results;
    Many thanks in advance!

    Where do you fetch from the ResultSet?
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • How to show the contents of a dropdown list with different colors

    Hi,
    I have a drop downlist on my dialog. I want to show each of its text attribute and its back ground with different color.
    Suppose I am showing 4 strings in the dropdown like Name1, Name2, Name3 and Name4, then how to change the color of each name and its background.
    Please let me know if it is possible.

    If the above asked is not possibe can we have an alternative as mentioned below :-
    A dropdown similar to the one shown in "Edit->Preferences->Grids->Colors" having our own text names instead of the default color names.
    So that I can show some color symbol and a text name along with it in my dropdown.
    One more query, is it possible to show the images/giff/png files in dropdown ?

  • How to show the contents of one dropdown in another dropdown

    hi all
    i have 2 dropdownlists
    i created a dropdownkey ui and inserted values into dropdown dynamically.  let us say i have months in the dropdown , and when i select a month name in the first dropdown i want to display the festival names of that particular month in the second dropdownlist.
    please guide me
    Thanks and Regards
    narayna Adhurthi.

    Hi Narayan,
    You can achieve this functionality by following Bhavik's suggestion. If you do not want to create the second drop down's data dynamically, I can give you a suggestion.
    Create simple types for each month's festival list. Create twelve attributes each's type being one of the created festival type. Let's call these attributes attr1,attr2....attr12. On selecting a value from the first dropdown, change the binding of the 'selectedKey' of the second dropdown to a corresponding attribute.
    For this in the doModify(), write the following lines of code :
    String selected_key_for_drop1 = wdContext....get<attribute bound to the first drop down>;
    IWDViewElement elmt = view.getElement("<your second dropdown's ID>");
    IWDDropDownByKey drop = (IWDDropDownByKey)elmt; 
    if(selected_key_for_drop1.equals("Jan"))
       drop.bindSelectedKey("attr1");
    else if(selected_key_for_drop1.equals("Feb"))
       drop.bindSelectedKey("attr2");
    Hope this helps,
    Best Regards,
    Nibu.

  • Mountian lion show package contents

    We bought my daughter a macbook pro with Mountain Lion. She has Sims 3. We backed up all of her custom stuff when she had windows 7 prior to this mac. She loaded the Sims games via DVD/CD ROM onto her new mac. We want to put her saved games etc into this folder in Applciations....I can't find how to show package contents? Where  is this now...or are we out of luck to do this.

    There's no reason to show package contents. What exactly are you trying to do? Saved games would usually be put into a separate folder most likely in the /Home/Documents/ folder. You don't make any changes to an application's package contents.

  • How do I get content from my iPad to show up on the tv screen using Apple TV without going thru iTunes?

    How can I get content from my iPad and my air book to show up on the tv screen using Apple TV, without going thru iTunes?

    You will need to use AirPlay to see that.
    Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices.

  • How to show an xml content in a Jsp page?

    I use <jsp:include page=".....xml" /> tag in a jsp file to include an xml file. When this jsp page is open, only the text content in the xml file shows up with plain text. I want this xml file shows up like in IE (with xml format). Does anyone know how to do it? Thanks.
    northcloud

    Thank you, BalusC & evnafets. Someone told me to use <c:import> to load the XML file into a scoped variable, and then use <c:out> to display it. The <c:out> will automatically convert the markup to HTML entities. I tried it, it works. It shows the content in the xml file as plain text (a long string). Any one give me some suggestion to make it looking better, for example, show each element in seperated lines. Thanks.

  • How to show content of a list which resides in other site collection in Office 365?

    Hi All,
    Can anyone help on How to show content of a list which resides in other site collection in Office 365 . Using Rest and Soap services this is not possible as we have limitations in office 365.So if anyone have any idea please let me know.
    Note : We are not allowed to use CSOM for this requirement.
    Many Thanks,
    Vinod.

    Hi Vinod,
    You can use cross site publishing feature of SharePoint 2013.
    http://blogs.msdn.com/b/justinvoels/archive/2012/09/24/sharepoint-2013-search-driven-publishing-and-cross_2d00_site-collection-publishing-overview.aspx
    https://technet.microsoft.com/en-us/library/jj635883.aspx
    Alternative to cross-site publishing in SP Online
    https://www.youtube.com/watch?v=chwHhEmIERg
    Best Regards,
    Brij K
    http://bloggerbrij.blogspot.co.uk/

  • When i log onto the internet a box come up on the bottom "show all content" how do i stop this

    When i log into windows a message comes up on the bottom of the screen "SHOW ALL CONTENT" how do I stop this message from coming up it is so annoying.
    This question was solved.
    View Solution.

    Hi,
    Close any open Internet Explorer windows.
    Open windows Control Panel, open Internet Options, click the Security tab and click Custom Level.  About half way down, under the heading Miscellaneous, there is an entry for 'Display Mixed Content' - click Enable and then Ok, then click Apply and Ok in the previous window.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • How to show catalog items with Approval Status:Pending in a Content Search Webpart

    How to show catalog items with Approval Status:Pending in a Content Search Webpart using cross site publishing. Thanks in advance.

    I don't think you're going to be able to. Usually Approval Status is used in conjunction with Major/Minor versioning and while Approval Status is pending the item is usually a draft.
    As a result the search crawler should not be able to see the draft items as it would not have the necessary rights to do so. (Good practice ensures that the Search Crawler has only read access and is not an elevated account for this reason)
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

Maybe you are looking for