Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: JSP and dynamic XML: Isn't there a better way :-(

From: Collin VanDyck <collin_a_t_@-------------.----.--->
To: NULL
Date: 12/2/2004 2:03:00 PM
milkyway wrote:
> Hello,
> 
> I am considering the following in order to accomplish my task. An
> application has to be created that runs from a regular computer as well
> as from a WAP-enabled device.
> 
> When the user is presented with information to enter on a screen and
> then presses the "Continue" button, it would then call a .jsp.
> 
> The .jsp would create a .xml on the fly that would be passed to an XSLT
> converter to convert to something that can be seen from WAP or from a
> regular web browser.
> 
> The thing is, to create the .XML file "on the fly", one would have to
> use the out.print statements to create something like this. To me, it
> seems as though this is very painful :-(
> Is there a better way to do this?
> 
> Kindest Regards.
> 


I think that you'll probably have better success doing this with a 
servlet.  I'm not that familiar with JSPs, but I've experienced this 
pain using XSPs (The Cocoon equivalent of the JSPs) and have found that 
simply using a servlet, and setting the mime type to text/xml is the 
better solution.



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent