Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes XML in presentation layer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "XML in presentation layer " Watch "XML in presentation layer " New topic
Author

XML in presentation layer

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
In a Struts 1.X based application,in presentation layer ,I do not like to use JSP and like to use only HTML and Java Script.Data to the presentation layer should be in XML format,at presentation layer ,i would read the XML content and display it.If this is possible,how to read content from presentation layer(html).Pls explain with pros and cons of this method,with an Example.I have exp in Xsream tool for XML Processing
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Data to the presentation layer should be in XML format,at presentation layer ,i would read the XML content and display it.


There's a name for that: AJAX.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Consider Paul's rocket mass heater.
 
subject: XML in presentation layer
 
Similar Threads
Spring MVC 3 and JSF2 Integration
Web Services/SOAP Newbie question
Pattern for XML
basic question & LiveConnect question
basic question & LiveConnect question