Can anyone solve it by example

sir
***folder1 contain folder2****
***folder2 contains class files and abc.jar***
i make a jar file name abc.jar which contain a folder named images.
images have one property file i read to try it but still fail
so the path is
abc.jar\images\user.properties
i use the following code
try{
URL u1=null;
Properties prop=new Properties();
u1=getClass().getResource("/images/user.properties");
prop.load(new FileInputStream(u1.toString()));
}catch(Exception ex){System.out.println(ex.getMessage());}but exception is occur
that filename,directory name,volum label is not correct
i also set the class path variable in win 2000 as
classpath=e:\folder1\folder2\abc.jar;
plz guide me i already test the "/" instead of "\"
what can i do this job.
when i print the u1 it appers
jar:file:/e:/folder1/folder2/abc.jar!/images/user.properties
plz guide me that how i make jar file and access it with example

Hi Bas Jansen,
thank you for ur reply
The Paper size was correct and still blank page was comming,if u know anything plz reply me
iam waiting for ur reply
Regards
Raja Sekhar.T

Similar Messages

  • Can anyone give me an example for crm_svy_..._pai?

    Hi all, I have a survey, there are several questions. After I input the answers, I click the 'CHECK' button, I will check the answers. There will be different response to my answers. If the answer is not correct, I will post an error message.
    And I also need to retrieve data from tables to fill the blank.
    I am a beginner for CRM survey, can anyone help me? I create a FM:crm_svy_..._pai, and code in it right? But how can I do it?
    Can anyone give me an example for crm_svy_..._pai to do what I need?
    Many many thanks in advance!! 
    Heare is an example, but I don't its function and how does it work..
      read table lt_all_values into ls_value
                               with key answer_id = 'get_value'.
      if sy-subrc = 0.
        data: lt_values type crm_svy_api_string_t.
        append ls_value-value to lt_values.
        call method ir_survey_values->values_set
          exporting
            i_question_id = 'set_value'
            i_answer_id   = 'set_value'
            it_values     = lt_values.
      endif.

    Hi Yu,
    Could you tell how you solved your issue?
    Regards and tx in advance,
    Mon

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • My iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my prob

    Hello everyone my iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my problem please

    Hey Kirby17,
    Thanks for using Apple Support Communities.
    If you are not getting any sound from the speaker, follow this article.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Ensure that there is nothing plugged in to the headset jack or the dock connector.
    If the iPhone is in a protective case, make sure that the speaker port isn't blocked by the case.
    Make sure that the speaker and dock port aren't clogged with debris. If necessary, clean it with a clean, small, dry, soft-bristled brush. Carefully and gently brush away any debris.
    If an audio issue occurs when using a specific application, try testing other applications to see if the issue persists.
    If the iPhone is paired with a Bluetooth headset or car kit:
    Try turning off Bluetooth.
    If you experience difficulties with the Bluetooth feature, follow these troubleshooting steps.
    Restart the iPhone.
    If restarting doesn't fix the issue, ensure that your iPhone is updated to the latest version of iOS.
    If the issue is not resolved, please contact Apple Support.
    Have a nice day,
    Mario

  • Can anyone solve (or) give me a solution for this problem.....?

    Hi Everyone!
    Can anyone solve (or) give me a solution for this problem.....?
    We have used two folders Source & Finalwork. We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Is this possible to check whether both folder images Embedded color profile same or not.
    -yajiv

    Could you elaborate what you mean by this
    We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Possibly again with a screenshot to illustrate the task?
    // 2012, use it at your own risk;
    #target photoshop
    var theFolder = Folder.selectDialog ("select source folder");
    if (theFolder) {
    var theFiles = theFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var theOtherFolder = Folder.selectDialog ("select target folder");
    if (theOtherFolder) {
    var theOtherFiles = theOtherFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var missingFiles = new Array;
    var unmatchedProfiles = new Array;
    // work through files;
    for (var m = 0; m < theFiles.length; m++) {
              var check = false;
              var theFile = theFiles[m];
    // find name of the same name;
              for (var n = 0; n < theOtherFiles.length; n++) {
                        var theOtherFile = theOtherFiles[n];
    // if one is found;
                        if (theFile.name == theOtherFile.name) {
                                  check = true;
                                  var oneFile = app.open(File(theFile));
                                  var otherFile = app.open(File(theOtherFile));
    // check profiles;
                                  if (oneFile.colorProfileName == otherFile.colorProfileName) {
    // collect umages with unmatched profiles;
                                  else {unmatchedProfiles.push(theFile)};
    // collect missing files;
              if (check == false) {alert ("hahaha");missingFiles.push(theFile)}
    // alert of problems;
    if (unmatchedProfiles.length > 0) {
    alert ("the corresponding files for these do have a different color space:\n"+unmatchedProfiles.join("\n\n"));
    if (missingFiles.length > 0) {
    alert ("these files miss corresponding ones:\n"+missingFiles.join("\n\n"));
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
            return true

  • Can anyone solve this error? 0xc 19a0013

    can anyone solve this error? 0xc 19a0013 my black ink cartridge will not print and its full. i've cleaned the heads and still no black.  please help.

    Hello family1023, and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are experiencing print system issues.  I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find your product number. Also, please include which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit. With this information and the product number we can provide you with accurate information.
    How Do I Find My Model Number or Product Number?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please let me know what you find, and thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Can anyone solve this puzzle using SQL?

    Can anyone solve this puzzle using SQL?
    http://www.greylabyrinth.com/puzzle/puzzle182

    DylanB123 wrote:
    Took me almost 4 min just to get all the permutations/combinations using only dual. May try out the full thing when traffic does down on the DB.Well this looks like it gives the correct answer...
    SQL> select * from disks;
          DISK COLOUR
             1 WGYBRK
             2 WBYGKR
             3 WBGRKY
             4 WRGYKB
             5 WKGBYR
             6 WBKYGR
             7 WGKBYR
    7 rows selected.
    Elapsed: 00:00:00.04
    SQL> select   disk_perms,
      2           offset_1,
      3           offset_2,
      4           offset_3,
      5           offset_4,
      6           offset_5,
      7           offset_6,
      8           offset_7
      9    from   (select   permutations disk_perms
    10               from   (    select   replace (sys_connect_by_path (n, ','), ',')
    11                                       permutations
    12                             from   (    select   to_char (level) n
    13                                           from   dual
    14                                     connect by   level <= 7) yourtable
    15                       connect by   nocycle n != prior n)
    16              where   length (permutations) = 7) disk_permutations
    17           cross join
    18           (select   tab1.c offset_1,
    19                      tab2.c offset_2,
    20                      tab3.c offset_3,
    21                      tab4.c offset_4,
    22                      tab5.c offset_5,
    23                      tab6.c offset_6,
    24                      tab7.c offset_7
    25             from   (select   level - 1 as c from   dual connect by   level <= 6) tab1,
    26                    (select   level - 1 as c from   dual connect by   level <= 6) tab2,
    27                    (select   level - 1 as c from   dual connect by   level <= 6) tab3,
    28                    (select   level - 1 as c from   dual connect by   level <= 6) tab4,
    29                    (select   level - 1 as c from   dual connect by   level <= 6) tab5,
    30                    (select   level - 1 as c from   dual connect by   level <= 6) tab6,
    31                    (select   level - 1 as c from   dual  connect by   level <= 6) tab7) offset_combinations
    32           join disks d1 on d1.disk = substr(disk_perms,1,1)
    33           join disks d2 on d2.disk = substr(disk_perms,2,1)
    34           join disks d3 on d3.disk = substr(disk_perms,3,1)
    35           join disks d4 on d4.disk = substr(disk_perms,4,1)
    36           join disks d5 on d5.disk = substr(disk_perms,5,1)
    37           join disks d6 on d6.disk = substr(disk_perms,6,1)
    38           join disks d7 on d7.disk = substr(disk_perms,7,1)
    39    where substr( substr(d6.colour,offset_6+1)||substr(d6.colour,decode(offset_6,0,7,1),offset_1), 3,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 5,1)
    40    and   substr( substr(d5.colour,offset_5+1)||substr(d5.colour,decode(offset_5,0,7,1),offset_5), 2,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 5,1)
    41    and   substr( substr(d5.colour,offset_5+1)||substr(d5.colour,decode(offset_5,0,7,1),offset_5), 1,1) = substr( substr(d6.colour,offset_6+1)||substr(d6.colour,decode(offset_5,0,7,1),offset_5), 4,1)
    42    and   substr( substr(d4.colour,offset_4+1)||substr(d4.colour,decode(offset_4,0,7,1),offset_4), 1,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 4,1)
    43    and   substr( substr(d4.colour,offset_4+1)||substr(d4.colour,decode(offset_4,0,7,1),offset_4), 6,1) = substr( substr(d5.colour,offset_5+1)||substr(d5.colour,decode(offset_5,0,7,1),offset_5), 3,1)
    44    and   substr( substr(d3.colour,offset_3+1)||substr(d3.colour,decode(offset_3,0,7,1),offset_3), 6,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 3,1)
    45    and   substr( substr(d3.colour,offset_3+1)||substr(d3.colour,decode(offset_3,0,7,1),offset_3), 5,1) = substr( substr(d4.colour,offset_4+1)||substr(d4.colour,decode(offset_4,0,7,1),offset_4), 2,1)
    46    and   substr( substr(d2.colour,offset_2+1)||substr(d2.colour,decode(offset_2,0,7,1),offset_2), 5,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 2,1)
    47    and   substr( substr(d2.colour,offset_2+1)||substr(d2.colour,decode(offset_2,0,7,1),offset_2), 4,1) = substr( substr(d3.colour,offset_3+1)||substr(d3.colour,decode(offset_3,0,7,1),offset_3), 1,1)
    48    and   substr( substr(d1.colour,offset_1+1)||substr(d1.colour,decode(offset_1,0,7,1),offset_1), 3,1) = substr( substr(d2.colour,offset_2+1)||substr(d2.colour,decode(offset_2,0,7,1),offset_2), 6,1)
    49    and   substr( substr(d1.colour,offset_1+1)||substr(d1.colour,decode(offset_1,0,7,1),offset_1), 4,1) = substr( substr(d7.colour,offset_7+1)||substr(d7.colour,decode(offset_7,0,7,1),offset_7), 1,1)
    50    and   substr( substr(d1.colour,offset_1+1)||substr(d1.colour,decode(offset_1,0,7,1),offset_1), 5,1) = substr( substr(d6.colour,offset_6+1)||substr(d6.colour,decode(offset_6,0,7,1),offset_6), 2,1)
    51  /
    DISK_PERMS
      OFFSET_1   OFFSET_2   OFFSET_3   OFFSET_4   OFFSET_5   OFFSET_6   OFFSET_7
    5172643
             5          0          3          2          5          4          2
    Elapsed: 00:00:03.90
    SQL>If you take the positions as in
       1
    6   2
       7
    5   3
       4and the rotations (offsets) as anticlockwise based on my colour strings being in a clockwise order from the top.

  • Can anyone please find me examples of these methods.......

    I'm trying to get a better idea what "Helper methods" do but cannot find any good examples, can anyone please find me examples of these method.
    Also how do I print methods between different classes in a program??
    many thanks

    Also how do I print methods between differentclasses
    in a program??This question makes no sense to me.I've got some classes that need to print methods from
    an input/output class, what code is needed for
    this????You want to print methods? You might use Reflection for this. An Input/Output class? What is that? You want to print method signatures from a class that handles IO? Why should it matter what the class does?
    I've no idea what code might be needed to do whatever it is you are wanting to do here - please clarify and see if we can get a more useful answer.

  • Can anyone provide me the examples of OC4j basic authentication

    Can anyone provide me the examples or links of OC4j basic authentication?
    Thanks in advance

    Can anyone provide me the examples or links of OC4j basic authentication?
    Thanks in advance

  • Can anyone give me an example of direct, queued and unserialized delta?

    hi all,
    Can anyone give me an example of direct, queued and unserialized delta for fi and sd applications.
    thanxs in advance
    regds
    hari

    hi,
    Update Methods,
    a.1: (Serialized) V3 Update
    b. Direct Delta
    c. Queued Delta
    d. Un-serialized V3 Update
    Note: Before PI Release 2002.1 the only update method available was V3 Update. As of PI 2002.1 three new update methods are available because the V3 update could lead to inconsistencies under certain circumstances. As of PI 2003.1 the old V3 update will not be supported anymore.
    a. Update methods: (serialized) V3
    • Transaction data is collected in the R/3 update tables
    • Data in the update tables is transferred through a periodic update process to BW Delta queue
    • Delta loads from BW retrieve the data from this BW Delta queue
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Issues:
    • Even though it says serialized , Correct sequence of extraction data cannot be guaranteed
    • V2 Update errors can lead to V3 updates never to be processed
    Update methods: direct delta
    • Each document posting is directly transferred into the BW delta queue
    • Each document posting with delta extraction leads to exactly one LUW in the respective BW delta queues
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    • Extraction is independent of V2 update
    • Less monitoring overhead of update data or extraction queue
    Cons:
    • Not suitable for environments with high number of document changes
    • Setup and delta initialization have to be executed successfully before document postings are resumed
    • V1 is more heavily burdened
    Update methods: queued delta
    • Extraction data is collected for the affected application in an extraction queue
    • Collective run as usual for transferring data into the BW delta queue
    Transaction postings lead to:
    1. Records in transaction tables and in extraction queue
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    • Extraction is independent of V2 update
    • Suitable for environments with high number of document changes
    • Writing to extraction queue is within V1-update: this ensures correct serialization
    • Downtime is reduced to running the setup
    Cons:
    • V1 is more heavily burdened compared to V3
    • Administrative overhead of extraction queue
    Update methods: Un-serialized V3
    • Extraction data for written as before into the update tables with a V3 update module
    • V3 collective run transfers the data to BW Delta queue
    • In contrast to serialized V3, the data in the updating collective run is without regard to sequence from the update tables
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3.This BW Delta queue is read when a delta load is executed.
    Issues:
    • Only suitable for data target design for which correct sequence of changes is not important e.g. Material Movements
    • V2 update has to be successful
    hope it helps
    partha

  • Hi i got a mac mini but when i connect it to my smartax mt882 modem via ethernet it says device not connected can anyone solve this issue it work fine with the usb connection but the ethernet is giving me problems plz help

    hi i got a mac mini but when i connect it to my smartax mt882 modem via ethernet it says device not connected can anyone solve this issue it work fine with the usb connection but the ethernet is giving me problems plz help

    Hello, give this a try...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x/10.8.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • I have set a passcode for my iphone and later I forgot it, and I tried it so many times but it was not correct now the iphone is disable it doesn't work in tune, can anyone solve this problem??

    I have set a passcode for my iphone and later I forgot it, and I tried it so many times but it was not correct now the iphone is disable it doesn't work in tune, can anyone solve this problem??

    You can solve this problem. Just follow these instructions:
    http://support.apple.com/kb/ht1212

  • Can anyone give me an example?

    I want to lucubrate M-UI ,CAN anyone give me an example just for my beginning?

    What is "lucubrate M-UI ,CAN"???
    CUL8er,
    Nick.

  • Can anyone solve this query requirement

    Would like to know if anyone solved this situation in the query before. If yes, or If you have any ideas, could you please share it with me.
    Below is the scenario.
    Cube data: We have a number of 'FACILIIES'. 'Surveys' are conducted for each facility once in every six to 18 months. No fixed time intervals though. And surveys are numbered sequencially, always in the increasing order with respect to time. each survey has a 'survey date'. and a keyfigure 'Count'.                                                  
    DATA IN THE CUBE AS OF 4/30/2005               
    FACILITY...SURVEYID...SURVEYDATE...COUNTKEYFIGURE     
    525...         121...  1/6/2004...         6     
    624...         132...  2/20/2004...    7     
    525...         138...  10/1/2004...    5     
    624...         140...  9/15/2004...    4     
    525...         157...  3/10/2005...    8     
    624...         245...  4/15/2005...    6     
    If the query is run for the above data, is shouls be displayed like this.               
    REPORT AS OF 04/30/2005                    
    FACILITY...LATESTSURVEY...LATESTCOUNT...PREVIOUSSURVEY PRECOUNT
    525... 157... 8... 138... 5
    624... 245... 6... 140... 4
    Once the data is updated further, this is the data in the Cube as of 10/30/2005
    DATA IN THE CUBE AS OF 10/30/2005          
    FACILITY...SURVEYID...SURVEYDATE...COUNTKEYFIGURE     
    525...          121...     1/6/2004...     6     
    624...          132...     2/20/2004...     7     
    525...          138...     10/1/2004...     5     
    624...          140...     9/15/2004...     4     
    525...          157...     3/10/2005...     8     
    624...          245...     4/15/2005...     6     
    525...       290...     8/20/2005...     9     
    624...          312...     10/15/2005...     4     
    REPORT AS OF 04/30/2005                         
    FACILITY LATESTSUREY LATESTCOUNT PREVIOUSSURVEY PRECOUNT
    525...          290...     9...          157...     8     
    624...          312...     4...          245...     6     
    Dynamically, the latest survey and previous survey has to be determined. Any ideas on how to solve... We alrady thought of making changes to the Survey Master data. Any thing that can be done in the query itself?
    thanks
    Gova
    (I could not improve the display format, so I used '...' to separate the fields. may be SDN should look into improving the display format)

    Hi Gova..
    We too had a similar requirement..to get the previous records..
    We had to end up having to populate the Previous record in a seperate field on the same line..
    I think you are on the right path to modify the master data and have the previous survey and previous count populated on every line..
    Good Luck
    Ashish..

  • Can anyone show me an example of multiple clients(RMI)?

    Hi.
    Can anyone show me one simple example of a server serving multiple clients using RMI?
    I know that I have to use thread but I'm not really use to it...
    Thank you :)

    You don't have to use threads, you don't have to do anything. Any RMI server will service multiple clients simultaneously.

Maybe you are looking for

  • How to approach/ handle Db triggers error messages

    hi folks, -jdev 11.1.1.5.0 - adfbc i had a dbtable. which holds some dbtriggers AFTER INSERT OR UPDATE ON sometable FOR EACH ROW RAISE_APPLICATION_ERROR(-20942, 'Message id');when it vialotes the condition means this raise app error will thrown. ok f

  • Dear Friends, I have an iPad 2 Version 6.0.1.

    Hi, I would like to know if i have the chance to transfer any program from the IPad to a computer MacBook Pro. The software its name is LogTen Pro and I need to have in the computer. Thank you averybody ....

  • XML C++ SDK Class Generator Question

    Hello. I have an XML schema definition file where some elements are defined inside other elements. When I generate classes for this schema I don't get classes for such elements (but only for the outermost level elements). How to use the class generat

  • How to retrieve the records

    Actually I have three tables. Table1 PID varchar(10) primary key EID varchar(10) Table2 PID varchar(10) primary key PDESC varchar(30) Table3 PID varchar(10) primary key Value varchar(10) All the three table PID values will be different. Nothing will

  • Push a simple shortcut to users desktop

    I am trying to push a shortcut to an Access database to users desktops using NAL. What is the procedure for this. Everything I try fails with a D01C error. I am using Zenworks 6.5 SP2.