Hi all, 

I am currently testing tapestry and trying to convert a simple servlet.

I have a typical servlet that gets parameters and returns xml

for example http://localhost:8080/myapp/method=login&user=test
result:
 <results>
  <status>ok</status> 
  </results>

after that, return results for user stored in session
http://localhost:8080/myapp/method=info

 <results>
  <username>test</username> 
  </results>

so basically I want something similar in tapestry that:

- will accept parameters
- will use xml as templates and will generate xml results
- will persist the user credentials into the session

My biggest concern is '2'  (xml output). Its not clear to me how should I
configured it. Should it be a service or I can just edit the template (can't
make it return xml). I am still trying to become familiar with tapestry so I
can't completely understand some forum results regarding outputs.

I am using version 5.0.5

Any advice would be very much appreciated.

Thanks


-- 
View this message in context: 
http://www.nabble.com/Simple-servlet-with-xml-output---to-tapestry-tf4724274.html#a13506986
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to