6,049 Topics

Member Avatar for
Member Avatar for andy_1234

hi i am new to coding i have an xml file named employees.xml [code] <employees> <employee id="1" name="carla weis" budget="100"/> <employee id="2" name="tom knox" seniorid="1" budget="50"/> <employee id="3" name="karl rogers" seniorid="1" budget="400"/> <employee id="4" name="beverly smith" seniorid="2" budget="200"/> <employee id="5" name="tom stern" seniorid="4" budget="700"/> <employee id="6" name="eveyln wilson" seniorid="2" budget="350"/> …

Member Avatar for andy_1234
0
373
Member Avatar for OffbeatPatriot

I'm making a game engine and an integral part of the game is that it populates worlds based on maps loaded from a XML file, a method "Actor load(Map<String, String> code)" in a class ActorLoader takes a map and returns an actor based on this map. When you make a …

Member Avatar for ~s.o.s~
0
180
Member Avatar for ceyesuma

Hello Is there a way to get data from the db with ConnectStudentDAO and populate the StudentBean.java and then copy the bean over to the model (Student.java) Is this how it is done. I'm not sure how to work out the Cast error. Thanks [b]LoginInfoBean.java[/b] [code] public String loginAction(String newUser, …

Member Avatar for ceyesuma
0
127
Member Avatar for johndoe444

Say I have an xml document contained in the variable xmlDoc Now if I send that to the server using [ICODE]xmlHttp.open("POST", url, true); xmlHttp.onreadystatechange = handleStateChange; xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;"); xmlHttp.send(xmlDoc);[/ICODE] How is the serverside php code going to handle this? As form data are retrieved as fn = _POST["firstName"] if the …

Member Avatar for johndoe444
0
75
Member Avatar for ceyesuma

Hello Could someone tell me if this code is even close to code for a login using a DAO and an embeded db? if not there is a proceedure losted below that I really don't understand the '?' and how to use the uid to query the db [b]specific question[/b] …

Member Avatar for ceyesuma
0
381
Member Avatar for nlvp

Apologies if this is simple to some, but it's been doing my head in. I've got my client application receiving the XML from the server but I'm having a hell of a time parsing it. The XML is : [CODE] <?xml version="1.0" encoding="UTF-8"?> <page> <id>1</id> <code>HOME</code> <template>1</template> <menulevel>0</menulevel> <menuname></menuname> <menutooltip></menutooltip> …

Member Avatar for fxm
0
178
Member Avatar for anoopasta

Dear All, I have a dedicated server with Godaddy and I am running XMLDigitalSignatureAPI on it. It works fine on my local server but when I uploaded the war file to the production server I got the error below and if I try to refresh the page again I get …

Member Avatar for anoopasta
0
273
Member Avatar for iamthwee

Hi guys, Looking for opinions on what would be the best/easiest xml parser to use. Size and speed aren't really an issue here, just ease of use. Using std::strings as well would be beneficial. Please reply only if you've had experience using one.

Member Avatar for scrontch
1
234
Member Avatar for Cap'nKirk

Hi, I have some data stored on an XML file and I am trying to read a specific part of it. Here is a line from the XML:- [CODE] <photo id="4539802593" owner="***" secret="***" server="4032" farm="5" title="Stone Bridge" ispublic="1" isfriend="0" isfamily="0" /> [/CODE] Below is the bare bones of code I …

Member Avatar for Cap'nKirk
0
85
Member Avatar for sahildevit

Hiie Everybody, I Am Sahil Madhu...Working As A SEO Executive & PHP-MySQL Developer.. I Am Having A Decent Knowledge Of SEO & PHP, JQuery, CSS, HTML, XML & XHTML.. Hope This is Enough. Thanks.

Member Avatar for sahildevit
0
44
Member Avatar for ameltei

Hello, I need help with something it drives me nuts. I have an application which send XML to a web server through a POST method. This part works excellent. But where I have issues is with receiving the standard response from the web server for OK or error. Instead of …

Member Avatar for ameltei
0
4K
Member Avatar for veroniclake

Hi, I am trying to write Japanese to a XML file generated through java. i am trying to write "日本語" to the XML But the generated XML is showing "???" instead of Japanese characters. [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <Project>???</Project> [/CODE] How to overcome this problem. i need your help desperately.

Member Avatar for fpmurphy
0
103
Member Avatar for awk

This is my first attempt at creating my own RSS feed but I can't seem to make it valid through [url]http://validator.w3.org/feed/check.cgi[/url] The issue is that it doesn't appear like the & character in <link> or <guid> For example: [url]http://www.example.com/?mode=viewpage&page=34324[/url] How can I get this to work? I'm feeling very puzzled.

Member Avatar for fpmurphy
0
123
Member Avatar for jaferic

Hi im trying to develop an aplication that needs to load an xml file from flash using action script 3, the problem is that the xml file is constantly modificated so the AS3 needs to constantly read that file, any suggestions on how to do this? Thanx!

Member Avatar for iamthwee
0
38
Member Avatar for Cap'nKirk

Hi, this is a major stepup in programming for me so please bear with me. Using the Flickr API to generate photostream thumbnail images I need to parse the XML output to my application. I don't want to use a browser component if I don't need to but rather display …

Member Avatar for Cap'nKirk
1
173
Member Avatar for Chad Gary

I'm not having this issue with Mozilla Firefox, but it seems that the results of the code below are being cached in EI 8. When the browser makes another asynchronous call to the server with different results from the database, those results are not being displaying on the wepage. How …

Member Avatar for parry_kulk
0
98
Member Avatar for tiny7415

I am looking for a host that supports jsp files and xml. I went to several host provider and I noticed that most of them supports asp and not jsp. Is jsp a standard language that every host supports it?

Member Avatar for Camy
0
150
Member Avatar for brightline

Dears, I have an application that deals with MS Outlook. I want to save(serialize) an AppointmentItem object as XML file. Can I ??? Thanks in advance...

0
52
Member Avatar for Struggler

Hi I am new to log4j.xml which is used to log the informations. Currently, I am giving the absolute path for each log file in param tag value. eg : appender name="FA" class="org.apache.log4j.DailyRollingFileAppender"> param name="DatePattern" value="'_'yyyyMMdd"/> [COLOR="Red"][B]param name="File" value="D:/logFiles/GPreprocessor.log[/B][/COLOR]"/> layout class="com.dnb.genericpreprocessor.common.log.AppXMLLayout"/> /appender> I do not want to give "GPreprocessor.log" directly.Actually …

0
24
Member Avatar for euantor

I'm currently writing a code for a dynami image generating script to return XBox Live gamercards. I've got everything working almost perfectly apart from imagecreatefromjpeg (which I am using to return the thumbnail images of recently played games). My code is below along with a sample image for you to …

Member Avatar for euantor
0
308
Member Avatar for ceyesuma

Hello. Is there someone who might be able to show me how to adjust a insert for a prepared statement sent to a derby embedded db? [code] run: driver name from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable …

Member Avatar for ceyesuma
0
302
Member Avatar for jhbalaji

Hello in the below PHP Code Everything seems fine but it did not posts to the site when i use it Can any one spot out what type of error it is Also here the XML RPC is enabled and the when i access it directly it works(i mean the …

Member Avatar for jhbalaji
0
142
Member Avatar for crdipu

Hi All, I need to create a new web-service by using php. And I need to use SOAP RPC/encoded for implementing this. I also need to authenticate the soap request using soap header information. Before doing main task that I have created a WSDL file, client and server files using …

0
116
Member Avatar for indu_ss4

Hi, i have developed an web application using JSF. In that, if the user remains idle in the application for more than 15min then their session should expire. i have tried it by giving <session-timeout> tag value as 15 min in web.xml. but i don't know how to redirect the …

Member Avatar for indu_ss4
0
3K
Member Avatar for jackdalson

Hi Friends, If you’re paying for links or building them manually, it’s becoming more and more important to make it look like you’re gaining them naturally. That’s because, as a site owner, you’re supposed to be gaining them naturally, at least in Google’s eyes. Follow the tips below the help …

Member Avatar for Johnsmith1
0
202
Member Avatar for Roegadyn

Hello everyone, I have work to do on a basic assignment that requires an ATM type of program working over XMLRPC so there is a server element where the data is held in a Hashtable and retrieved by a client form. I will state I am completely lost in the …

Member Avatar for Roegadyn
0
149
Member Avatar for thatnewbreed

I am having trouble populating elements from the following Yahoo RSS feed: [url]http://weather.yahooapis.com/forecastrss?w=12773400[/url] I need to show the current weather conditions when a button is clicked. Here is what I have so far. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Current Weather Conditions</title> </head> <script language="javascript" …

Member Avatar for thatnewbreed
0
253
Member Avatar for ceyesuma

Hello Can someone get me started in the effert to fix this SQL statement to be excepted to create a table in a derby embeded db? [code] public boolean createTables(Connection conn) throws FileNotFoundException, IOException { System.out.println("in createTables:"); boolean createdTables = false; Statement stmt=null; try { String thisTable=ModelUtils.getXMLResource("createAdminTable"); System.out.println("thisTable sql String: …

Member Avatar for ceyesuma
0
338
Member Avatar for P3druh77

Hi... i have a little problem on my code... HI open a txt that have this: LEI;7671;Maria Albertina da silva;xxxx@gmail.com; 9;8;12;9;12;11;6;15;7;11; LTCGM;6567;Artur Pereira Ribeiro;fdsdfsd@gmail.com; 6;13;14;12;11;16;14; LEI;7701;Ana Maria Carvalho;asasssas@gmail.com; 8;13;11;7;14;12;11;16;14; -------------------------------------------------------------------------------- LEI, LTCGM are the college; 7671, 6567, 7701 is student number; Maria, Artur e Ana are the students name; [email]xxxx@gmail.com[/email], …

Member Avatar for Aia
0
245
Member Avatar for beckveg

Hello everyone I want to run a .jar file, but the only way to run in my computer is with the "java -jar file.jar ", but the problem is that the application conects to a mysqldatabase, when I want to add something in the program appear a message that say …

0
121
Member Avatar for thiyagu_mca2006

Hi All, Im Thiyagu, a junior software developer(Java/J2ee). I have assigned to access Webservice (sending request and receiving response from a WSDL). can any tell me the steps involved to convert Java code from a WSDL file using Axis(with ant build script). please very urgent. Note : I already tried …

Member Avatar for MudassarNazar
0
639
Member Avatar for anoopasta

Hi All, I am working on Digitally Sign XML and managed to do it. The problem is that the code is automatically picking up one of the key and signing the XML with that. I want that user gets a drop down which has list of all the installed DSA …

Member Avatar for peter_budo
0
67
Member Avatar for sampson

This is a friends son computer. I have already uninstalled limewire as requested. HP dv8000. Originally was getting 2010 antivirus popups. Has no AV and I was going to put microsoft security essentials in it if this was thought to be a good idea. Computer is REAL REAL slow. Thanks …

Member Avatar for crunchie
2
235
Member Avatar for ctaylo21

Hey Guys, I have a theoretical question, I can't really post my code. But I have four results from reads to a database using php. I then read from an xml file using javascript using a loop. I am basically creating a chart of four variables with several different values …

Member Avatar for ctaylo21
0
189
Member Avatar for phingko

I wonder if I should post this in AJAX forum. I want to compare the xml value with the PHP that I have using a parameter. So far I can compare only one of them. How about if there are two values that I want to compare? I tried using …

0
63
Member Avatar for ceyesuma

Hello Could someone tell me what derby requiers to make this conn? [code] public boolean createDatabase() throws FileNotFoundException, IOException { boolean createdDb = false; Connection conn = null; String dbURL = getDbURL(); String user = ModelUtils.getXMLResource("user"); String password = ModelUtils.getXMLResource("password"); System.out.println("in CreateDatabase:try:dbURL FROM XML properties: " + dbURL); System.out.println("in CreateDatabase:try:dbURL …

Member Avatar for ceyesuma
0
125
Member Avatar for phingko

Hi guys, I'm using ajax to display the xml file. On my html i put [CODE]<body onload="sendRequest(Display)">[/CODE] so everytime users go to the main.html, all the information in xml will be displayed after transformed by XSL Now the problem is it gets the error [I]Display is not defined[/I] While i …

Member Avatar for phingko
0
362
Member Avatar for asadfx

I have deployed a simple web service using Apache Tomcat 6.0 and Axis 1.4 in Windows XP. Now the server is very simple: [CODE] import java.io.*; import java.util.*; /* HelloWorld.java This is our web service */ public class HelloWorld { public String getHelloWorld(String id) { String retName=""; try { File …

0
74
Member Avatar for zpk1

Hi all, I am trying to have a recursive sort on my xml data, but can only manage to sort the first layer..and not as what i want too :( , been trying to do this for a couple of weeks :confused: I would appreciate it if anyone could help …

Member Avatar for zpk1
0
142
Member Avatar for jonb7

I am trying to show a diff in two files from a daily script. i am unable to get it to read the files correctly and show what is different. example of the files is - <ad_xml> <group name="group1"> </group> <group name="group2"> <user> <name>user1</name> </user> <user> <name>user2</name> </user> <user> <name>user3</name> …

Member Avatar for TrustyTony
0
1K
Member Avatar for localp

I need to know a way to read a XML file from java. for example if the XML file is >> [code] <PHONEBOOK> <PERSON> <NAME>Joe Wang</NAME> <EMAIL>joe@ffff.com</EMAIL> <TELEPHONE>202-999-9999</TELEPHONE> </PERSON> </PHONEBOOK> [/code] I need to get the persons name, as in when i specify "NAME" the name 'joe wang' should display. …

Member Avatar for peter_budo
0
128
Member Avatar for ceyesuma

Hello I am trying to use the loadFromXML() load a properties file and I don't understand the example because it is not reconizing the dtd. Is the example I am using wrong? [code] public static void main(String[] args) throws IOException, FileNotFoundException, PropertyVetoException, ProfileException, LoginException { LoadXMLProperties lp =new LoadXMLProperties(); [B]lp.loadXML("ModelResources_1.properties");[/B] …

0
59
Member Avatar for RSUNDARE

I have the xml from an Excel worksheet as given below. I would like to have a xslt to parse and extract the Excel rows in asimple xml format as given below based on the data picked from the named cells. I was able to collect data for each row. …

Member Avatar for xml_looser
0
111
Member Avatar for anjaliua

hii the following is my xml file.. [CODE][/CODE] <?xml version="1.0" encoding="UTF-8" ?> - <categories> - <medicines> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\2.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3_001.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\4.html</url> </medicines> - <treatment> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\anemia-treatment-with-home-remedies.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\ayurveda-encyclopedia-w.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\alternative-treatments.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\aromatherapy.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\free-home-remedy.html</url> </treatment> </categories> i want someone to help me to tell how to add a new url to the already existing xml file...new …

Member Avatar for xml_looser
0
169
Member Avatar for jonb7

Hi , I am trying to show members of groups in Active Directory and then enter them into XML format but am having problems getting it to work. I am new to all this stuff but have to get this to work fairly quick. Can someone advise please. [CODE]""" Script …

Member Avatar for jonb7
0
269
Member Avatar for maria_mj

I have problem when saving data from gridview into SQL database. When i save the data, only certain data was saved. I want to save all the data. Data that was not saved is from the column where i display a drop down list while editing from the gridview. Another …

Member Avatar for rohand
0
130
Member Avatar for K?!

Hi all I'm having a major problem here. Before you read this and think "that's a stupid mistake to make", I'm on an internship and it's my first "real" website. ( I experimented before, but it's the first time I have to make a "finished product) So I hope for …

Member Avatar for K?!
0
201
Member Avatar for aman_preetji

sir , i have created a jsp page . inbetween which i write javascript code . code is acessing xml file(i attached also the xml file and i placed that file in apache .i m entering the path of xml in text bob of jsp page) using ajax and parsing …

0
52
Member Avatar for Reliable

Hey everyone. I wanted to use an HTTP reference within an image tag inside an XML file as opposed to having the image in a folder . Is that feasible?

Member Avatar for fxm
0
84
Member Avatar for phingko

Hi guys, I have a xml file that contains all the articles with few authors for each of them. something like this; [QUOTE]<authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors>[/QUOTE] I can display them in HTML well the problem is, the way I want to display is …

Member Avatar for rajarajan2017
0
121

The End.