A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
XML and Related Technologies
Joined: Mar 28, 2006
Sep 23, 2009 18:08:45
I have a xml segment like
what I meant is to specify "d:\mydir\myfile" as the "filename" in the XML file. Is this the right way to do it ? please point out any syntax error.
Joined: Oct 14, 2005
Sep 24, 2009 09:59:36
If you're asking whether that's the correct syntax for a CDATA section, then it looks to me like it is, but you would get a more reliable (and probably faster) by running it through an XML parser.
I agree. Here's the link:
subject: [CDATA question
Accessing a file in an installed application in WebSphere App Server 4.0 Advanced Ed
Reading XML file to populate text fields
Servlet Error : The system cannot find the path specified
Re: Attach is the detail on the servlet error "The system cannot find the path specified"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014