How to create an autocreate link?

hie..
I am currently trying to develop a webpage that would auto create a link for all the files which resides in a specific folder in the UNIX server. When new folders or files are created in UNIX, the link to the files and folders should auto create itself accordingly in the webpage . Users should be able to view the existing links and also any new links updated in the web page when the user created the file or directory in UNIX. Clicking on these links should enable the user to view the UNIX files.
Softwares used:
jakarta-tomcat-5.5.9
j2sdk1.4.2_09
-What method should be used to enable the auto create function in the web page?
-How do I link the files in from JSP to the UNIX server files?
I would appreciate any advise as I am really at a loss.Thank you.

I think the cleanest way to get the info is to have the business part of your app create a connection to an FTP server on that Unix box that can in turn browse the directories and hand back the information. Direct file access from a J2EE environment is rather to be avoided, it seems, and I'm not sure whether the file server and your app server are the same machine.

Similar Messages

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • How to create a database link on an ms acces data source

    Hello every body
    Is it possible to create a database link on an MS access data source under
    oracle 10 g and Apex ?
    If yes how to do it ?
    Thanks in advace

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • How to Create a Dynamic Link Oracle 10g

    Hi all,
    I have a requirement like i am using the below sql query in my application
    select * from emp@testlink;Now i have 3 users i have created the seperate link for this three users.
    ex: test and work and office
    Now if test login to pc the above code will be
    select * from emp@testlink;if work entered dynamically it will be as
    select * from emp@worklink;same as office .
    @||variable||link;
    variable i have to pass it in dynamic.
    How to achieve this??
    Can anyone suggest me thanks in advance.
    Cheers,
    San..

    Did you try dynamic SQL?
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/dynamic.htm
    Something like this.... (UnTested)
    DECLARE
    v_user VARCHAR2(50);
    BEGIN
    EXECUTE IMMEDIATE 'select * from emp@' || v_user || 'llink';
    END;In your case, the link name is based on the user, you can simplify it like this
    DECLARE
    v_user VARCHAR2(50);
    BEGIN
    EXECUTE IMMEDIATE 'select * from emp@' || LOWER(user) || 'llink';
    END;You might need to use INTO clause for the select statements.
    Regards,
    Rakesh
    Edited by: Rakesh on Apr 6, 2011 6:05 PM

  • How to create a file links .....

    Hi All!
    I want to achieve following, using the IFS java apis. How can i do that. what classes - methods i can use from ifs. A code snippet will be really helpful.
    Here goes my task of creating links to a file from different folders in repository..........
    To create a file link:
    Select check box to the left of the file or folder you want to display in another folder....
    Click the Edit icon and choose Copy.......
    Navigate to the folder in which you want to create the link....
    Click the Edit icon and choose Paste as links....
    If you want to create a link in more than one location...:
    Navigate to the next folder in which you want to create a link.....
    Click Edit and choose Paste as links.....
    Continue until you have created links in all desired locations.....
    But, I want to achieve above using Java API.
    Your help is appreciated.
    thanks,
    sa pa

    Why not make them one file?
    Dan Smith > adobe community expert
    Flash Helps >
    http://www.smithmediafusion.com/blog/?cat=11
    http://www.dsmith.tv
    "tanktery" <[email protected]> wrote in
    message
    news:fpmrmi$jiq$[email protected]..
    >I created two XML files an XML file A and an XML file B
    and would like to
    >know
    > how to create a link between the two.
    > But in file B I have articles that I would like to
    create links to from
    > the a
    > A file. How do I link 2 XML files and link to
    subsections with in them.
    > any
    > thoughts
    >

  • How to create a database link between an 8i (apps) database and APEX

    Want to link my Oracle APPS databse on 8i with Oracle XE and APEX. Any idea how to achieve this ?

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

  • Crystal report ( how to create a hyper link for the crystal report file)

    hello all,
    how to create a hyperlink for my report file....nd i want it open in excel format.

    Hello Uher,
    sorry for the insufficient details,
    actually we are calling some actuate reports from actuate server, and the URL looks like this
    "https://iconsole.xxx.com/iconsole/viewer/viewreport.jsp?
    outputFileType=XLSX&fromwhere=viewDocument&outputName=
    /filelocation/ReportOutputs/Reportname.xlsx&serverurl
    =http://xx.xxx.com:8010&volume=xxx&userid=xxx&password=xxx"
    which would generate an excel output,
    my question is, can we have some url in which we would specify the output format, as far my research i found  URL reporting
    some thing like this
    "http://" + servername +
    ":8080/OpenDocument/opendoc/openDocument.jsp?outputfiletype=xlsx/
    filelocation/userlogondetails
    but my client needs an excel output, with out going through any web page or viewer controls and generating buttons.
    Thank you

  • How to Create Public database link in oracle 9i?

    Friends,
    OS: RHEL AS 3
    DB: 9iR2
    database name 1 = nubul
    database name 2 = test
    in the 'nubul' database server using system user.
    i created a database link to connect the 'test' database
    sql> create public database link test using 'test';
    database link created.
    then i logged in as normal user....
    sql> select count(*) from employee@test
    Error at line 1:
    ORA-12154: TNS: could not resolve service name
    where i am making mistake?
    i gave the linkname as my remote database name.
    am i have to make any entry in the tnsnames.ora?
    thanks & regards

    You have to remember that when you access a dblink, the database where the link is defined is acting as a client to the database to which the link points ... exactly the same as if you you were using sqlplus on the machine hosting the db where the link is defined. In other words, given:
    Host 'Host-src', with database 'db-src', with a dblink 'lk_target'
    Host 'host-trgt', with database 'db-trgt'
    When you connect to db-src and access lk-target, db-src is now acting as a client to db-trgt. Exactly as if you had opened sqlplus on host-src and connected directly to db-trgt. So, given the above scenario
    host-src$> sqlplus scott/tiger@db-src
    sql> select * from emp@lk_target;when you execute that SELECT to the link, the same tns considerations are in effect as if you had
    host-src$> sqlplus scott/tiger@db-trgtThe same tnsnames.ora entry, on the source machine, is required for both.

  • How to create a Tab Link in the existing view

    Hello Experts,
    My requirement is to make one view as Tab Link.
    You must have seen in many existing IC Web screens, there are multiple tabs in the view area and you can toggle between the views by clicking the tab links.
    As per my requirement, in the component ICCMP_BT_INR, in one of the views i need to create a tab link for the view Questionnaire which is part of different component ICCMP_SURVEY
    Could you please guide me here ?
    Regards,
    Srikanth

    Hi,
    I quite certain that you can do this but it is lot of work. You need to create navigations links in run time repository, create plugs, create viewset with views. And then mostly important you need to call appropriate plugs, navigations. I am afraid I can not explain every thing step by step but definitely it requires lot of details and work.
    However if you can see some existing examples then you will get an idea. One good example I have worked on is IUICMIO_MAIN and IUICMIO_METER. In this when MIO_ACCOUNT is called in MAIN, it will call two tabs from IUICMIO_METER dynamically.
    Hope this helps.
    -ASB

  • How to Create Company and link with Plant

    Dear All
    Kindly help me to create Company and link with Plant and Storage Location through SPRO.
    Kindly trll me TCODE.
    Waiting for Reply
    Thanks & Regards
    Alok

    HI,
    Go to OX02 and create a company code by copying the standard company code 0001 / 1000
    Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
    OX09 - maintain storage loaction for the created plant
    OX08 - create purchase org copying from standrard 0001 / 1000
    Go to OX18 and assign your plant to company code
    OX17 assign purchase org to plant
    In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
    After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
    Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
    Thanks
    Kiran

  • How to create a database link ?

    i want to create a database link.please give mesteps

    There is a chapter in the DBA Administration manual for versions 8.1, 9.2, and 10g on this topic which provide all the information you need.
    You will need to choose the type of database link: global, current user, or imbedded user and if you need a public or private link.
    Basically all you do is create a tnsnames.ora entry for the remote db and then create a database link (See SQL manual entry CREATE DATABASE LINK) that references the tnsnames.ora entry.
    The manuals or the entire manual set can be downloaded from technet.
    HTH -- Mark D Powell --

  • How to Create a hyper link iview in portal

    Hi Guys,
    Can any one help us to create hyper link url iviews ( I want to open a iview when click on the link of another iview )
    Thanks in advance

    Hi,
    Its very easy.
    Step1) Go to content admin -> pcd content ->  Create a folder in pcd content.
    In that folder create an iview. you will get so many iview templates -> select your desired template iview.
    (If you still confused, search in the sdn for creating an iview in pcd content).
    After creating that iview, open the same iview as object. check the quick link property. intially it will be blank.  set the quick link property as iview1(as an example).
    Step2) go to content admin->km content and to go to ur desired folder, say documents.
    Create a folder abc and  inthat create an external link iview1.  give the url as /irj/portal/iview1.
    Step3) create a KM Navigational iview(iview2) and open as object. set the property 'path to document' as /documents/abc.
    Preview that iview2 . you will get an hyper link iview1. on clickink that iview1 details will display.
    Search in the SDN for creating KM navigational iview or any other iview.
    Hope that helps.
    Raghu

  • How to create a working link anchor in an EXCEL document with the report generation toolkit?

    I am using the latest report generation toolkit and want to add links on the first worksheet pointing to the other worksheets in the same document.
    I am using the "Append Hypertext Link Anchor to Report" VI. The links are created, but don't work when clicking them.
    Question now is: How does a link to a cell on a different worksheet needs to look like?
    It can not be that complicated but all variations I tried did not work and I could not find any information about this problem. So any help is appreciated!
    Thanks and Regards,
    Ingo
    Solved!
    Go to Solution.

    Thanks, Brian, for your support! - It's working.
    It's hard to understand why NI did not pass this parameter to the top of the call chain...
    I also needed some time to understand the syntax of the string passed to the subaddress node:
    The name of the worksheet needs to be framed by single quotation marks and the following cell address must preceeded by an exclamation point (!).
    A working link pointing to cell "A1" of "Worksheet 1" looks like:
    'Worksheet 1'!A1
    Maybe also of interest: If you want to point the link to a worksheet inside the document itself, the parameter "address" (URL of link - href) can be left empty.
    Thanks and Regards,
    Ingo

  • How to create an embedded link with VBScript that references user website from Active Directory?

    I have scoured the web for days and have not been able to quite come up with exactly what I need for this. I have created an Outlook signature deployment using VBScript which sets information in an already formatted Word doc using placeholders. (Ex. [Displayname],
    [Initial], [City])
    All of that works as expected, but now marketing would like to have an embedded link reference some of our users personal web pages. So the link would display some kind of standard text like "Click Here". Once clicked on the user would be redirected
    to the personal web page of the person who sent the email. My problem is, I have no idea how to get the hyperlink to pull in the information from Active Directory...another problem is I know only enough coding to be dangerous so I am stuck. 
    Here is a sample of what I am working with, I am hoping someone can point me in the right direction. Thanks!
    '----- Connect to AD and get user info -----'
    Set objSysInfo = CreateObject("ADSystemInfo")
    Set WshShell = CreateObject("WScript.Shell")
    strUser = objSysInfo.UserName
    Set objUser = GetObject("LDAP://" & strUser)
    strDisplayName = objUser.displayName
    strFirstname = objUser.FirstName
    strLastName = objUser.givenName
    strInitials = objUser.initials
    strName = objUser.FullName
    strTitle = objUser.Title
    strDescription = objUser.Description
    strOffice = objUser.physicalDeliveryOfficeName
    strCred = objUser.info
    strPOBox = objUser.postOfficeBox
    strStreet = objUser.StreetAddress
    strCity = objUser.l
    strPostCode = objUser.PostalCode
    strPhone = objUser.TelephoneNumber
    strMobile = objUser.Mobile
    strFax = objUser.FacsimileTelephoneNumber
    strEmail = objUser.mail
    strWeb = objuser.wWWHomePage
    '----- Apply any modifications to Active Directory fields -----
    'Use company info page if user does not have a Linked-In account specified
     if strweb = "" Then strweb = "http://www.linkedin.com/company/58654"
    '----- Open Word template in read-only mode {..Open(filename,conversion,readonly)} -----
    Set objWord = CreateObject("Word.Application")
    Set objDoc = objWord.Documents.Open(strTemplatePath & strTemplateName,,True)
    Set objEmailOptions = objWord.EmailOptions
    Set objSignatureObject = objEmailOptions.EmailSignature
    Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
    '----- Replace template text placeholders with user specific info -----
    SearchAndRep "[DisplayName]", strDisplayName, objWord
    SearchAndRep "[Name]", strName, objWord
    SearchAndRep "[Description]", strDescription, objWord
    SearchAndRep "[Title]", strTitle, objWord
    SearchAndRep "[Street]", strStreet, objWord
    SearchAndRep "[POBox]", strPOBox, objword
    SearchAndRep "[City]", strCity, objWord
    SearchAndRep "[State]", strState, objWord
    SearchAndRep "[PostCode]", strPostCode, objWord
    SearchAndRep "[Phone]", strPhone, objWord
    SearchAndRep "[Mobile]", strMobile, objWord
    SearchAndRep "[Fax]", strFax, objWord
    SearchAndRep "[Email]", strEmail, objWord
    'SearchAndRep "[Web]", strWeb, objWord
    '----- Replace template hyperlink placeholders with user specific info -----
    'SearchAndRepHyperlink "[email]", strWeb, objDoc
    SearchAndRepHyperlink "[Web]", strWeb, objDoc
    '----- Set signature in Outlook -----
    Set objSelection = objDoc.Range()
    objSignatureEntries.Add "NewCBSig", objSelection
    objSignatureObject.NewMessageSignature = "NewCBSig"
    'see note below if a different reply signature is desired
    'objSignatureObject.ReplyMessageSignature = "Full Signature"
    '----- Close signature template document -----
    objDoc.Saved = TRUE
    objDoc.Close
    objWord.Quit

    Can you ask a specific question? You have posted a script and noted you need a link but there is no question.
    ¯\_(ツ)_/¯

  • How to create a download link for video file?

    Hello guys,
    I know this is not a question directly related to OS X, but I just can't find a solution. So I was hoping that some of you might know the answer, or could recommend further reading.
    I have .mov video files (video footage) on the server. I would like to make these files accessible for download, via link.
    So I am wondering .... how can I create a link, which would allow people to download .mov video files from the server?
    Thanks for any advice or tip.

    The question is, where is the server?
    Is it on its own static IP? If it is not, it likely is on a DHCP configuration.
    For those with DHCP, I recommend http://www.dyndns.com as a workaround, otherwise the links given will have to change as often as every hour!
    Is it on a router, or does it have a firewall turned on in its sharing preferneces? Routers and firewalls block direct access from the outside. You need to setup the web sharing access on your router or firewall before someone can access it via the web.
    Is the .mov file saved via Quicktime? You would also need to provide link on your page to http://www.apple.com/quicktime so that it may be downloaded by those who don't have it. If it is another format, you'll need a link to whatever format it is.
    HTML for putting the video right on the page is usually controled by the EMBED function. That's covered here:
    http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
    Otherwise a simple hyperlink to the file will do, once you have an open web sharing port on a static IP or dyndns controled domain.

Maybe you are looking for

  • Mac Mini 10.6.8 slow startup

    I have a mac mini with 2 gb ram running 10.6.8. Hard drive is 500gb with over half of that unused. Initial boot time first thing in the morning is slightly over a minute. It also starts programs pretty slow after that for about 30 minutes. Then it se

  • Document Management System in KM

    hi experts, can anyone share few points on Document Management System life cycle. can anybody give me steps for DMLC thank you, vijai

  • 'User failed to respond' (error -8) - a serious issue that needs attention

    Based on the various posts here it is becoming increasingly apparent that, in most cases, this is not a user defined issue related to incorrect router settings/port configurations etc.. There also appears to be a fairly conspicuous correlation betwee

  • FCP to QT shimmers

    Posted this as an iDVD problem but narrowed it to this: When I try to save a FCP file to Quicktime, it comes out with shimmering noise in high contrast areas, one scene has chairs that seem to move back and forth within the image. Tried Streamclip fr

  • A wrong query on oracle press documentation

    Hi all, i've tried to solve on hr schema the following problem: Write a query to identify the highest salary paid in each country. To solve this problem on the material was writed the followiong query: select max(salary),country_id from (select salar