Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Laszlo and Java

 
Maris Orbidans
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is Laszlo related with Java ? Can I write backend code in Java, like in flex ?
 
Norman Klein
author
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Laszlo only requires a back-end web server that can supply XML over HTTP. This only requires the HTTP's content type be set to "text/xml". This makes it easy to update existing Java servlet applications to support Laszlo, as you only the JSP file needs to be changed to product XML output.

Here is an example of a trivial JSP file.

<%@ page contentType="text/xml" %>
<result>
<status>SUCCESS</status>
</result>
 
Rahul Nair
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I have some doubts about installing and configuring Laszlo and Struts Application. The Tomcat 6.0 is already installed on my computer.
Can i use the already installed tomcat by configuration using web.xml without using LPS.

I am confused, and did not got any clue, so can you please help me ?

Thanks

rahul


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic