Java with xml please help me :(

Hi,
I need to design a Jva GUI interface where when an action is triggered the event will
first look at some pattern(rules) defined in a XML file before been fired. I have no
idea of how the communication is going to be established . I have never used xml in the past.
Any help will be very very appreciated!
Thank You

Hello,
Try to download Jaxp-1.1, U will get 3 JAR files - xalan.jar, crimson.jar and jaxp.jar.Set the classpath to this jar files. U will find the ZIP files in http://java.sun.com/xml/jaxp-1.1/docs/api, Iam not sure about the URl.Still need any help mail me to [email protected]
Thanx

Similar Messages

  • Trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    There is a version of Firefox 4 available for PPC Macs:
    TenFourFox 4.0.1 Firefox 4 For PowerPC Browser Released
    Version 4.0.1 of TenFour Fox, FloodGap's port of Firefox 4 for Power PC
    Macs that supports both Mac oS X 10.4 and 10.5. has been released.
    Mozilla.org dropped support for OS 10.5 after Firefox 3.6 and for Power
    PC with the fourth beta of Firefox 4.
    TenFourFox uses almost all the same code as Firefox 4 and has nearly all
    the same features, including faster JavaScript, WebM video, and HTML 5
    and CSS 3 support, as well as new and emerging Web features, but with
    the code needed to keep your Power Mac functional and fast. Out of beta
    and it's ready for action, versiob 4.0.1 is a performance, security and
    stability update incorporating Mozilla's Firefox 4.0.1 plus AltiVec acceler
    -ation for WebM and browser graphics, and G5 JavaScript acceleration.
    For more information, visit:
    http://www.floodgap.com/software/tenfourfox/
    Source: from http://www.applelinks.com - posted April 25, 2011)
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    With SilverLight, Microsoft attempted to create their own version of what a replacement for Flash could be - but not to universal acclaim. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards) if you are using a PPC Mac, but even this will not work with Safari 4. Version 2 only works with Intel Macs and does work with Safari 4/5. The solution is to download and install the latest version of Flip4Mac, which now includes a Silverlight component:
    http://dynamic.telestream.net/downloads/download-flip4macwmv.htm
    But the latest news is that Microsoft will probably abandon Silverlight in favour of HTML5:
    http://www.appleinsider.com/articles/10/10/29/apples_ios_pushes_microsoft_to_dia l_down_silverlight_for_html5.html  and
    http://www.bbc.co.uk/news/technology-11673384

  • I just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    i just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    PS Here is a source for a keyboard.  Try it if you have not done so already
    http://m10lmac.blogspot.com/2012/12/new-mongolian-keyboard-layout.html
    For questions about why Word doesn't do something, try
    http://answers.microsoft.com/en-us/mac/forum/macword

  • Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004 Please help me in solving this problem.

    Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
    Please help me in solving this problem. 

    Make sure Java is enable in your browser's security settings.
    Open Java Preferences (in Utilities folder)
    Make sure Web-start applications are enabled.
    Drag Java 32-bit to the top of the list.
    jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol).

  • I can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    i can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    If you are the original owner of the phone and know the Apple ID and password that were used to activate it originally, and if you have an existing backup to restore from, you can force it into recovery mode (which will completely erase it) and restore it as explained here: If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support.  When you do you will encounter activation lock, and will have to provide the ID and password used to activate it originally in order to activate it again.  If you can't, you won't be able to activate and use it.

  • I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    Can you access other apps? Can you acess the internet? Can you access applications that use internet besides facebook?
    If answer is yes to all of these; contact Facebook.

  • My factory unlocked iphone 4s mms is not working with tmobile, please help...

    my factory unlocked iphone 4s mms is not working with tmobile, please help...

    Check out this link. It should fix the problem
    http://support.t-mobile.com/thread/17918?tstart=0

  • HT1296 my outlook calendar is not syncing with Ipad. please help

    my outlook calendar is not syncing with Ipad. please help

    I've got the same problem and no one is answering to it. call up the apple support and waited for almost 30mins before i can get help, after an hour they only keep asking me for account emails and stuff, end up getting nothing solved. Sad!

  • My iphone 3gs is not syncing with itune please help me

    my iphone 3gs is not syncing with itune please help me

    Did you ever get help with this issue?

  • HT201210 cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    If you mean updae server
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    Otherwise what server are you talking about

  • Hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    if you are signed in to iTunes with your AppleID, click on the AppleID > view account > payment information > enter in your information

  • HT2534 im unable to get the none option while proceeding with itunes,,.please help me

    im unable to get the none option while proceeding with itunes,,.please help me

    Please help me understand your question. (What happens in vagueness, stays in vagueness.)

  • How to sort taxonomy with Java api?  Please Help

    Can someone please help me out?  I understand and can display the contents of a taxonomy. But I need it to be displayed in alphabetical order.  Manual ordering does not exist for taxonomies.  How do you sort a taxonomy in java?
    The following snip of code can get the taxonomy and loop through it but isn't ordered correctly.  Can some kind of comparator be used somehow?  Points will be rewarded!  Please help.
    //Get connection to KMCM path
    RID rid = RID.getRID(strPathToKMCM);
    IResource resource = ResourceFactory.getInstance().getResource(rid, context);
    ICollection collection = (ICollection) resource;
    IResourceList children = collection.getChildren();
    for (int i = 0; i < children.size(); i++){
         IResource ir = children.get(i);

    I'd also be interested to know how to do this.
    I found this code section to sort by date, but couldn't change it to get it to work to sort alphabetically.
    private void sortResouceListByDate(IResourceList resourceList) throws Exception {
    // create property names to index properties
    IPropertyName iPropSort = new PropertyName("http://sapportals.com/xmlns/cm", "modified");
    //create a comparator to order the resource list
    ResourcePropertyComparator rRPC = new ResourcePropertyComparator(iPropSort, false);
    //order the resource list
    resourceList.sort(rRPC);
    Link where code was found:
    https://forums.sdn.sap.com/thread.jspa?forumID=42&threadID=148468&messageID=1670970#1670970
    We are using:
    Portal 6.0.15.0.0
    KM 6.0.15.4.0
    Thanks!!

  • JAVA-XML Please Help

    Hello All,
    I'm somewhat new to Java and XML and I'm having this problem:
    I have an program that does an HTTP Post and gets back an XML response. I'm trying to parse the response. I'm completely lost I think, and I apologize for my utter stupidity or if I haven't provided enough information. What follows is a snippet of code and the error message I'm getting:
    //conn is my Http connection
    // get the results
         conn.connect(); // throws IOException
         int responseCode = conn.getResponseCode(); // 200, 404, etc
         String responseMsg = conn.getResponseMessage(); // OK, Forbidden, etc
    // Read the response XML document
    XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    org.xml.sax.ContentHandler handler = new DefaultHandler();
    parser.setContentHandler(handler);
    InputStream in = conn.getInputStream();
    InputSource source = new InputSource(in);
    parser.parse(source);
    in.close();
    conn.disconnect();
    Error Message:
    org.xml.sax.SAXParseException: The root element is required in a well-formed document.
    I think my problem is here but I'm not sure:
    org.xml.sax.ContentHandler handler = new DefaultHandler();
    Thanks for all of your help,
    Lance

    hi
    i think u should first read the file using JFlieChooseran d grt the file likr this:::::::
    public File getXMLFileChooser()
         //Create a file chooser
         fc     = new JFileChooser();
         String type[] = new String[] {"xml"};
         fc.addChoosableFileFilter(new MyFileFilter(type,"XML Files(*.xml)"));
    fc.setMultiSelectionEnabled(false);
    int returnVal = fc.showOpenDialog(XMLFileChooser.this);
         if (returnVal == JFileChooser.APPROVE_OPTION)
         file     =fc.getSelectedFile();
              return file;
    ///now this file is to be read using BufferedReader & FileInputStream
         File file;
         FileInputStream fis;
    BufferedReader bdr=null;
    String record=null;
    FileInputStream fis = new FileInputStream(file);
    bdr= new BufferedReader(new InputStreamReader(fis));
    while ( (record=bdr.readLine()) != null )
    ParseFile(record);//in this method u can parse the file
    if it something u want i can help u more....
    cheers||||

  • I cann't execute javac with parameters. please help !!

    Hi All!!
    I can't understand how to execute application or bat file (javac.exe for example) WITH parameters correctly.
    I can execute javac.exe or bat file - WITHOUT parameters :
    Process p = Runtime.getRuntime().exec(WIN_PATH + " " + WIN_FLAG + " " + "javac.exe");
    But I can't execute correctly the command like:
    "javac.exe -classpath C:\Alex; Test.java"
    I tried to use exec(str,env[]) and exec(cmd[]) methods, but there were different errors as a result :(((
    How can I execute the command "javac.exe -classpath C:\Alex; Test.java" ? Is it possible?
    Please help me by a good idea.
    Thank you.

    right you are! That's why we use "\\" instead "\" :)
    If i try to execute this command -
    cmd=WIN_PATH + " " + WIN_FLAG + " " + "c:/j2sdk1.4.0/deleteMe/javac.exe -classpath C:/WORK/jboss-3.0.3/client/jboss-j2ee.jar;S:/Alexander/jars/sys.jar;S:/Alexander/jars/ejb_conf_dev.jar;S:/Alexander/jars/; C:/j2sdk1.4.0/deleteMe/aaBean.java";
    my OS Windows 2000 returns na error - "Error opening icon..."
    What's wrong?
    Thank you...

Maybe you are looking for

  • Laptop can no longer connect - Hub doesn't seem to see it any more

    Hi Please bear with me - this is probably going to be long! I have been tearing my hair out for the last 36 hours trying all sorts of things to get my laptop to connect to the hub, but to no avail. Also, I am no tech expert - everything I know I find

  • HDMI output not working after Windows 8.1 update

    I am using an Envy TouchSmart 15 and I have just run an update of Windows 8.1 based on the system auto update (it ran 5 updates). Prior to the update, I used a 27" monitor as the main screen and this was connected via the HDMI port.  Right after the

  • Problem with pdf print

    HI frnds, I have got s issue here with pdf printing of a doc through the webdynpro application. What i see is that the pdf source data is passed to a component of property intercative forms in webdynpro. When the user is displaying the pdf and when h

  • Terminal Server - Opening & closing attachment freezes GW

    Hello, we are running a Terminal Server Farm on Windows 2008 R2 with GroupWise 2012 SP2. All of our users have problems when opening an attachment (PDF, DOC, XLS...) from a mail and closing the opened Application (Word, Acrobat Reader, Excel....). Af

  • Can't send emails from Mail with microsoft word attachments

    Ok, this is a weird one. About a month ago I realized that people weren't receiving my emails sent from Mail when I attached Microsoft Word documents to them. I can attach anything else, but the second I throw in a .doc, the email simply won't be rec