Need JSP - XML Utility 2003-08-26 - By Eugene Ostroukhov
Back 1. Generate XML from the JSP - it won't care if it generates HTML, XHTML, XML or plain text. :) Use URL connection to receive output of the JSP. 2. Parse resulting HTML using some parser like Tidy and generate XML you need (i.e. if you have to integrate existing JSP without touching the code).
But it can be that you want to make a local call to JSP - in this case you can either connect from the server to itself or call the JSP class directly.
Eugene
-- -- Original Message -- -- From: "Arul Prakasam" <arul.prakasam@(protected)> To: <J2EEPATTERNS-INTEREST@(protected)> Sent: Tuesday, August 26, 2003 12:34 PM Subject: Re: [J2EEPAT-INT] Need JSP - XML Utility
Hi Rajdeep
My HTML output of JSP should be converted. Not my entire JSP with Java Code. All my HTML fields except image item need to be converted to XML. I have a specific format of XML. I need a startup. Confused whether to use Javascript or .class for the same. Any help will be appreciated.
Thanks & Rgds Arul
-- --Original Message-- -- From: Rajdeep Tyagi [mailto:RajdeepT@(protected)] Sent: Tuesday, August 26, 2003 1:08 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: Need JSP - XML Utility
Hi Arul, do you mean conversion of HTML out put of JSP you want to convert in XML or (most unlikely) complete JSP code including Java parts, should be converted to XML.
thanks, Rajdeep
> -- --Original Message-- -- > From: Arul Prakasam [SMTP:arul.prakasam@(protected)] > Sent: Tuesday, August 26, 2003 12:06 PM > To: J2EEPATTERNS-INTEREST@(protected) > Subject: Need JSP - XML Utility > > Hi > > My Archirecture goes like this.. > I have to convert my entire JSP screen into XML and send it to my Bean for > processing. > Does anyone who has any code/utility in JavaScript/Java to convert, please > send it to me.. > > Thanks & Rgds > Arul Prakasam. > --- > DB2Team, > 9th Floor, Raheja Towers > Mahatma Gandhi Road, > Bangalore-2 (See http://ore-2.ora-code.com). Ph +91-80-5597600 X:3362 > > > > DISCLAIMER: > This message contains privileged and confidential information and is > intended only for the individual named.If you are not the intended > recipient you should not disseminate,distribute,store,print, copy or > deliver this message.Please notify the sender immediately by e-mail if you > have received this e-mail by mistake and delete this e-mail from your > system.E-mail transmission cannot be guaranteed to be secure or error-free > as information could be intercepted,corrupted,lost,destroyed,arrive late > or incomplete or contain viruses.The sender therefore does not accept > liability for any errors or omissions in the contents of this message > which arise as a result of e-mail transmission. If verification is > required please request a hard-copy version. > > ==================================================================== > Companion Site: http://www.corej2eepatterns.com > J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns > List Archive: > http://archives.java.sun.com/archives/j2eepatterns-interest.html > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to > listserv@(protected) > > DISCLAIMER: Information contained and transmitted by this E-MAIL is proprietary to Mascot Systems Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at Mailadmin@(protected) Before opening attachments, please scan for viruses.
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|