6,049 Topics
![]() | |
Hi all, I am using maven for building deployable artifacts. Whenever I run mvn deploy command, error occurs. I am also using nexus for the actual artifact deployment. Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated Both pom.xml and settings.xml are modified accordingly. No issue about it. But still I am getting … | |
I need some help in architecting this process. Two goals are of the utmost importance: 1) Speed 2) Security. Here's the scenario: Domain A, Domain B, ... Domain Z sell a service to their customers on my behalf (keeping a commission). Once the transaction is processed (money collected from the … | |
Hi All, I am new to Xpath so this is a very basic question. I have a date variable I want compare that variable to current date. example: my_date > current_date then print "previous date" how to write this in xpath? thanks | |
Hi. I´m trying to change a file-extension, but it doesn´t seem to work. When i use System.out.print() it says the new name, but the file in my computer doesn´t change. My code: [CODE]public String changefileextension(String filename) { int lastDot = filename.lastIndexOf("."); if (lastDot != -1) { filename= filename.substring(0, lastDot) + … | |
Hi there everyone. I have a problem with some PHP. I have to make a xml feed that works in IE in UTF-8 format and I'm having major problems with £ signs and '. the poud signs are in the mySQL database in their £ format and cannot be changed. … | |
After twitter, many people are ready to do projects with ruby on rails, let me tell you frankly i dont know even a inch about it, I just know basic languages like javascript, xml, html , asp. Give me a roadmap how to read ruby on rails and master at … | |
I found the following code in a tutorial on building a RSS feed. I can’t find a reference to the “<<<” on the PHP manual web site. Would someone point me to the documentation on this symbol. [code] <? $content = <<<CONTENT <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>$chan_title</title> <link>$chan_link</link> … | |
I am trying to set up an RSS feed but am getting an error in IE that says "Explorer does not support feeds with DTDs" Firefox starts a download. any ideas? | |
Hi, I got the syntax error in my following php code: unexpected T_STRING in /net/home/z6zhou/public_html/signup.php on line 1. Who can help it out? my php code is as follows: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title>Publication DB</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta … | |
So I created a template for a simple link builder function. Problem is, when I use it, I don't get the link, I get just the text. Could anyone help me understand what I'm doing wrong? Thanks! [CODE] <xsl:variable name="ReadMore"> <xsl:call-template name="linkBuilder" > <xsl:with-param name="linkID" select="format-number(@ID, '#,##0.#;-#,##0.#')" /> </xsl:call-template> </xsl:variable> … | |
I have to connect remotely to my MSSQL database. However, I am a little unsure as to the best way to do this. Can I connect directly to the database from my client machine, or would it be best to create some kind of local script that does the connection … ![]() | |
I have to teach someone XML revalidation by tomorrow morning and I don't have much idea about it. It is something about XML schema and you have to revalidate it... Can you give me some idea about how I should go about it? [CODE]Given two abstract XML Schemas, S = … | |
I have to check value of a variable in XSLT if it is null then i have to set it to default "$" so for that i have written following XSLT code: <XSL:variable name dummy select= "ArrayOfBookMark/BookMark[ShortName='Asp-7041-EndVar1]/Value"> <XSL:choose> <XSL:when test="($dummy!='')"> <XSL:variable name="dummy1" select="$dummy"/> </when> <XSL:otherwise> <XSL:variable name="dummy1" select="'$'"/> </XSL:variable> <XSL:otherwise> … | |
hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType rather than just the fields i want from the list. I thought the "<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> tag would filter these colums out Can any1 help? heres my … | |
hi, i am trying to retreive data from a sharepoint list but its returns all columns such as ows_MetaInfo, ows__ModerationStatus ,ows__Level ows_ID ,ows_owshiddenversion, ows_UniqueId ,ows_FSObjType rather than just the fields i want from the list. I thought the "<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> tag would filter these colums out Can any1 help? heres my … | |
I have been attempting to write an auto-login code for some websites that I frequent, but one of the website's forms has an odd submit button. Instead of being the usual button that you can call by it's Id it's instead a link. I was actually wondering if I could … | |
[code=java]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Programs; import java.util.ArrayList; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.Consumes; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.GET; import javax.ws.rs.Produces; import java.util.List; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import … | |
hi, am using netbeans to write restful web services. I want to pass an input and the again retrieve it and display the out put in XML form. i am giving the path as @Path("book\{name}\{author}") and using it as an argument [code]public Book getxml(@PathParam("zip") String zip,@PathParam("div") String div) { }[/code] … | |
Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's. I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out the errors above. [CODE] … | |
i jus want to submit Rss feed to google... i am not sure how to do it.plz help me <FAKE SIGNATURE> | |
guys i am trying to host a site on my own home server but when i make virtual host in httpd.conf like following NameVirtualHost *:80 [code=xml] <VirtualHost *:80> ServerName [url]www.mydomain.com[/url] DocumentRoot c:/wamp/www </VirtualHost>[/code] it gives me the following error [B]Forbidden[/B] You don't have permission to access / on this server. … | |
I read on a blog about how RSS may be out. I dont know about you but I actually subscribe to many blogs and I look forward to reading or at least glancing my Google Reader's headlines. Yes, I dont have time for all the feeds but I do scan … | |
Hi, I was hoping someone could help me with a C++ string problem. I currently have my program open up a file, read the contents into a string, and then I am trying to look for certain key characters in the string, like < and </. In short, I am … | |
I have a client that is posting a gzipped xml file on their site for me to download. I wrote the code the will unpack the gzip file. I'm stuck on how I copy the file from [url]http://www.ClientSite.com/feeds/20091020.xml.gz[/url] to my server. The file is 4mb, not sure if that makes … | |
Hi there everyone. Does anyone have any idea how to stop my xml feed displaying # instead of £ and companys instead of company's. I've tried everything I can think of. In UTF-8 it won't show hardly anything in ASCII it works but still spits out thhe errors above. [CODE] … | |
Hi, How I could fetch first three character from a string variable. Say for I fetched a variable message="ABCtest" .... now I want to test that the first three character matches ABD or not .. How I could code to achieve in xslt? Cheers Manish | |
Hi all I need to detect all image tags in a HTML document that are siblings: [code=html]<p> <img ../> <img ../> <img ../> </p> <p> <img ../> </p>[/code] In the example above I need to detect the first three img tags, but not the fourth. In contrary, I also need … | |
It used to be good enough that you could design well. Those times have changed. Now you have to be a programmer, dba, and a competent designer. So, I'm seeking out all resources to become a better php, javascript, MySql, CSS, AJAX, XML, XSL, HTML, XHTML coder and still swing … | |
Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is … | |
I have ~10 years with PHP coding and for the apps I have constructed in recent times, I use a class for each table. These contain the connection and queries. I would like to follow the same approach, however I am not sure where to create them. Global.cs? Another question … | |
Hi, I am trying to retrieve the contents of my XML file and use the variables later on in the script; I have the following actionscript code [CODE=actionscript3]// Get XML Vars var xml:XML; var urlLoader = new URLLoader(); var songdataurl:String = '0'; urlLoader.addEventListener(Event.COMPLETE,onXMLLoaded); urlLoader.load(new URLRequest("data.xml")); function onXMLLoaded(e:Event):void{ xml = new … | |
Ok in my Dialog3 i have Sound on / off Windows in top on / off Transparency Forms and a button2 to Save How i make it to save ? in the .ini i have this in it [CODE]<?xml version="1.0" encoding="UTF-8"?> <settings> [Audio Settings] Sound=1 [Windows Settings] WindowsinTop=0 [Transparency Settings] … | |
Hi All, I want to retrive element values from Xml Document which contains the string which i am passing. For example : I want to retrive all the element values which has word 'Sales' . How should i write XPath expression ? Any example will be appriciated. Thanks John | |
hello, can you please tell me what code must i write in my xslt file so i can convert it with xml to a windows word 2003 file (using c#)?please... Thanks | |
Hi, iam new to webservices.I have to develop JAX-WS Webservices on JBoss 4.2.3GA AServer JBossWS -native 3.x.I have downloaded net beans and JBoss 4.x Aserver.I want to clarify .. 1. Do i need to configure or do something with JBossWS-native 3.x,bcoz in netbeans i selected the path for JBoss server … | |
Hi, this is my final project. I have generated an xml string, this is my code: [code]import java.io.StringReader; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CharacterData; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; <%@ page import="javax.xml.parsers.*" %> <%@ page import="org.w3c.dom.*" %> <%@ page import="java.io.*" %> <%@page import="recipe.*" … | |
Hi Folks, I have this following xslt script: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ibn="http://ibn.traveltainment.de/2009/001" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:ota1="http://www.opentravel.org/OTA/2002/11" xmlns:ns3="http://www.opentravel.org/OTA/2002/11" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="SOAP-ENV ota ns3"> <xsl:output method="text" encoding="UTF-8"/> <xsl:variable name="soap" select="name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)"/> <xsl:variable name="soap2" select="name(/soap:Envelope/soap:Body/ns3:*)"/> <xsl:variable name="base" select="name(/*)"/> <xsl:template match="/"> <xsl:choose> <xsl:when test="count(soap:Envelope/soap:Body) > 0"> <xsl:value-of select="$soap2"/> <xsl:value-of select="$soap"/> </xsl:when> <xsl:when … | |
Hi, all How to create report use IReport and Hibernate I have tried, like this : : 1. create file hibernate.cfg.xml [code] xml version='1.0' encoding='UTF-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <property name="connection.url">jdbc:mysql://localhost/a6</property> <property name="connection.username">root</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="dialect">org.hibernate.dialect.MySQLDialect</property> <property name="connection.password"></property> <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property> <!-- thread is … | |
Hi all! I'll keep this post a little shorter then I normally do, lack of time to post and all of that. I am making a widget-type program. You know, no borderstyle, no taskbar, opacitycontrol, stuff like that. It's going to be an RSS-aggregator by the way. Now for my … | |
when i try to run the following code....----> [code=JSP]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <jsp:useBean id="accountBean" class="banking.pac.AccountForm" scope="session" /> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <script language="javascript"> </script> </head> <body> <form … | |
Hi, I have the following redirect: /lb/v/fast -> viewboard.php?c=fast by doing RewriteRule ^v/([^?].*)?(.*)$ viewboard.php?c=$1&$2 [L] as you can see i try to also add the GET data... but its not working ie if i go to /lb/v/fast?view=1 it only copies the fast part over does anyone know how to fix … | |
Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I … | |
My sitemap file contains [code] <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="" description=""> <siteMapNode url="www.cnn.com" title="CNN" description="CNN News" /> <siteMapNode url="www.bbc.com" title="BBC" description="BBC News" /> <siteMapNode url="www.reuters.com" title="Reuters" description="Reuters" /> </siteMapNode> </siteMap> [/code] Now Menu appears in the order CNN BBC Reuters When i click on any … | |
Can anyone please post a link where i can get some codes/demos for restful web services.plz reply asap | |
Hi, Can anyone suggest a good image slider similiar to the one at the bottom of [url]http://munsterrugby.ie/[/url] I've found two: [url]http://www.oxylusflash.com/flashfiles/advanced-image-slider-with-autoplay-xml[/url] and [url]http://www.coolfocus.com/relocate.asp?page=flash/examples/picstrip/index.asp[/url] But neither turned out to be suitable. Thanks :) | |
Hello, Firstly I would like to say sorry for my low level english. Well, my problem is I am trying to do a program wich read from a xml file. I am programing in delphi 6. This is a part of code where you can see the commands that I … | |
Hi, I've tried to get the geolocation of the clients IP, with this code: [CODE=vb] Dim rssReq As System.Net.WebRequest = _ System.Net.WebRequest.Create("http://freegeoip.appspot.com/xml/" _ & vl_bContadorVisitasBE.vcConVisIP) 'Crear el Proxy Dim px As New System.Net.WebProxy("http://freegeoip.appspot.com/xml/" _ & vl_bContadorVisitasBE.vcConVisIP, True) 'Asignar el Proxy al objeto WebRequest rssReq.Proxy = px 'Establecer el tiempo de … | |
Hi, Greetings! I have a problem w/ posting my form onto an internet payment system called enets. they told us that we need to pass them 3 values: amount, txnRef, mid and also, they told us the our system needs to be posting from our domain, site.com lets say. my … | |
i have to convert HTML page to XML page help me thank you. | |
Ive just created a login system using a tutorial, but it doesnt say how to protect the admin page, just logs you in.. Here first is my HTML, Login form [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login" %> <!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 runat="server"> <title></title> … |
The End.