User Profile

Collapse

Profile Sidebar

Collapse
mariaz
mariaz
Last Activity: Apr 29 '08, 11:28 AM
Joined: Mar 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mariaz
    started a topic Update the database only when new data

    Update the database only when new data

    Hello, I am creating a project where I parse an xml page (feed from a website) in a javabean file and I insert the parsed data in a mysql database. I want this data that gets inserted into the database to be shown in my project when it deploys (the project is jsf and I am using NetBeans). What I want to ask is how can I update the data of the database only when the xml page has new data, because what happens now is that every time I refresh my page,...
    See more | Go to post

  • Thank you very much!I will google the keywords you mentioned and hope to figure it out!
    See more | Go to post

    Leave a comment:


  • You're right, I must write more details. The xml page whose data I want to take is online (actually it is a feed of a website, so its data constantly refresh). That is why I need a way of parsing the xml page through its url and not through its location on a computer. I will look into the suggestion you made, thank you, and if anything else comes to mind I would appreciate it if you could inform me!
    See more | Go to post

    Leave a comment:


  • I said in my original post that my project is jsf, so the java file I am talking about is a javabean file.From what I have been searching today, I found out that there is a way to create a SAX parser with java and this is possible in jsf projects, but I am not sure. So maybe I really don't need to use javascript at all. Is this true?
    See more | Go to post

    Leave a comment:


  • I tried using the request.getPara meterValues in the java file but it doesn't recognize it. I don't know how much of a difference makes the fact that it is in jsf. I just need to pass the values of the javascript array to a java file....
    See more | Go to post

    Leave a comment:


  • mariaz
    started a topic how do I get an array from javascript into java
    in Java

    how do I get an array from javascript into java

    Hello, I have an array in a javascript file, and I want to pass its values into an array in java. Does anyone know how can I do this?My project is jsf but I am using a javascript file to get data from an xml page and save them into an array (the array I am talking about), and I want this array to pass into the java file in order to edit it in my bean.Thank you in advance!
    See more | Go to post

  • mariaz
    started a topic passing a javascript array to java

    passing a javascript array to java

    Hello, I have an array in my javascript file:
    var locations=new Array();

    and I want to pass the attributes of the array into my java file, does anyone know how can this be done?
    Thank you in advance!
    See more | Go to post

  • mariaz
    replied to insert data from xml page into mysql database
    in XML
    I would prefer using java, if that is possible, because I'm using NetBeans and with java it would be easier for me, but I don't know if that's possible. Is there a useful tutorial for this kind of operation?...
    See more | Go to post

    Leave a comment:


  • mariaz
    started a topic insert data from xml page into mysql database
    in XML

    insert data from xml page into mysql database

    Hello, I have an xml page, which is not saved in my computer but it is online, because it a feed of a website. I want to import the data from this xml page into a mysql database. Can anyone suggest some steps as to how I can do this?I need the database because I have to write queries about the data, that is why I am not using directly the xml.Thank you in advance!
    See more | Go to post

  • I think the mistake must be in this function, it is the last function of the php file:

    Code:
    function parseTemplate( $variables="", $tmpl="" ) {
    		if ( $tmpl ) {
    			$this->setTemplate( $tmpl );
    		}
    		if ( $variables ) {
    			$this->setVars( $variables );
    		}
    		if ( isset( $this->content ) ) {
    			// Replace all variable values
    			$this->patterns['jxtvalue']
    ...
    See more | Go to post

    Leave a comment:


  • mariaz
    started a topic How to fix "undefined index: regexp code on line 1"
    in PHP

    How to fix "undefined index: regexp code on line 1"

    Hello, I am getting a Notice error on my website that says:
    Notice: Undefined index: _created_format ted in C:\EasyPHP1-8\www\eP\compon ents\com_jamboo k\jxtemplate.ph p(125) : regexp code on line 1

    but I don't know what it means..I have no index _created_format ted on my php page and I can't find my mistake..Can someone help me with this?Which part of my code should I see for mistakes, and what kind of mistakes might these be?When...
    See more | Go to post
No activity results to display
Show More
Working...