Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

JSP and dynamic XML: Isn't there a better way :-(
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.


Report this thread to moderator Post Follow-up to this message
Old Post
milkyway
12-02-04 09:00 PM


Re: JSP and dynamic XML: Isn't there a better way :-(
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Collin VanDyck
12-02-04 09:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Beans archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:30 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.