Re: Using XML in struts

2005-01-31 Thread [EMAIL PROTECTED]
You Try with tag You can access it.. Jay Chandran wrote: Hi all, How can i read XML files using struts? is this possible? Can any one provide a link or give an example for reading XML files using struts? :-) Jay - To unsubs

Re: Re: [OT] Re: Using XML in struts

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: Using XML in struts

2005-01-15 Thread Erik Weber
Thanks. Hope you like them. Nice looking site by the way. Erik Vic wrote: You do need a life. But... I just bought 2 books from your list. I keep a track of cool design ideas here: http://sandrasf.com/kiss - so if anyone wants to append there they can. (I like "SQL Tuning", "SQL for smartites" an

Re: [OT] Re: Using XML in struts

2005-01-14 Thread Vic
You do need a life. But... I just bought 2 books from your list. I keep a track of cool design ideas here: http://sandrasf.com/kiss - so if anyone wants to append there they can. (I like "SQL Tuning", "SQL for smartites" and Doug Lea's book on concurency.) .V Erik Weber wrote: Joe Germuska wr

Re: [OT] Re: Using XML in struts

2005-01-14 Thread Erik Weber
Joe Germuska wrote: Also, while I see your point that the overall concept of DOM might be more sensible in theory than that of SAX, I found that it's just easier to get going with the SAX API than with DOM or even JDOM. You can get something working with very few lines of code, and good exampl

Re: [OT] Re: Using XML in struts

2005-01-14 Thread Martin Wegner
+1 on JDOM unless you know upfront that the XML file is going to be big (greater than a couple of MB). --- sudip shrestha <[EMAIL PROTECTED]> wrote: > JDOM: http://www.jdom.org/. > If you are new to xml-java parsing, then this is the way to go. When > I started learning about xml parsing with

Re: [OT] Re: Using XML in struts

2005-01-14 Thread sudip shrestha
JDOM: http://www.jdom.org/. If you are new to xml-java parsing, then this is the way to go. When I started learning about xml parsing with java a while ago, I researched various methods and found that JDOM provides the easiest route to get things done. A quote from JDOM mission: "It behaves like

Re: [OT] Re: Using XML in struts

2005-01-14 Thread Joe Germuska
Also, while I see your point that the overall concept of DOM might be more sensible in theory than that of SAX, I found that it's just easier to get going with the SAX API than with DOM or even JDOM. You can get something working with very few lines of code, and good examples are all over the W

Re: [OT] Re: Using XML in struts

2005-01-14 Thread Erik Weber
Joe Germuska wrote: At 8:42 AM -0500 1/14/05, Erik Weber wrote: If you are not familiar with a lot of XML-related APIs, the easiest approach is to use the SAX API, in my opinion*. You may be the first person I've ever encountered who finds SAX the easiest way to process XML! Heh. I guess it's

RE: Using XML in struts

2005-01-14 Thread Slattery, Tim - BLS
> How can i read XML files using struts? is this possible? Can > any one provide a link or give an example for reading XML > files using struts? If you're talking about reading an XML file in your Java code, check out Jakarta Commons Digester: http://jakarta.apache.org/commons/digester/ -- Tim

[OT] Re: Using XML in struts

2005-01-14 Thread Joe Germuska
At 8:42 AM -0500 1/14/05, Erik Weber wrote: If you are not familiar with a lot of XML-related APIs, the easiest approach is to use the SAX API, in my opinion*. You may be the first person I've ever encountered who finds SAX the easiest way to process XML! * There are higher level APIs that might

Re: Using XML in struts

2005-01-14 Thread Erik Weber
If you are not familiar with a lot of XML-related APIs, the easiest approach is to use the SAX API, in my opinion*. 1) Write a SAX event handler (receives events when XML elements are opened, closed, and when text values of attributes and elements are encountered -- you assemble your objects as

Re: Using XML in struts

2005-01-14 Thread brenmcguire
Struts does not have a specific support for XML, but you can use inside a webapp all the libraries that you normally use under classic applications. For example, if you want to load a DOM for an XML file inside an action (not very elegant...), you can use DOM4J (or similar libraries). If you want t

Using XML in struts

2005-01-14 Thread Jay Chandran
Hi all, How can i read XML files using struts? is this possible? Can any one provide a link or give an example for reading XML files using struts? :-) Jay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command