*
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
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: 8876
    
    8

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: XML in presentation layer