Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data from bean to xml

 
Aravindan Ramanujam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've a requirement that my view part of the application should be either a jsp or an xml based on some conditions. I'm not sure how to implement this. What I've tried is having 2 different jsps with same information, 1 in jsp format and the other in xml format. Based on the condition, I'm redirecting the control to either one of them. I'm using scriptlet tags to populate the dynamic values from the bean. I know this is not the right way to do this, but its working as of now.

I want to know
o Is there any better way to do this?
o How to send data from the bean to an xml?

I dont know if this is the right place to post this question. If it is not, sorry for the inconvenience and please redirect it to the right place.

Thanks for your help.

- Aravindan -
 
Aravindan Ramanujam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this Solution. Hope this might be the answer for my question.

- Aravindan -
[ September 22, 2004: Message edited by: Aravindan Ramanujam ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic