Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Need JSP - XML Utility

Need JSP - XML Utility

2003-08-26       - By Daniel Martines

 Back
Reply:     1     2     3     4     5     6  

Arul,

What does you need your Bean to do with the xml? Will it handle the output
to the screen?

Like Eugene pointed out, in this case, you can use your JSP to generate the
xml in the format you want and then send it to your bean for processing. If
you want the bean to handle the output then you will need to use a
servlet/JSP to do so.

--dan


>From: Eugene Ostroukhov <eostroukhov@(protected)>
>Reply-To: An interest list for Sun Java Center J2EE Pattern Catalog
><J2EEPATTERNS-INTEREST@(protected)>
>To: J2EEPATTERNS-INTEREST@(protected)
>Subject: Re: Need JSP - XML Utility
>Date: Tue, 26 Aug 2003 11:39:24 +0400
>
>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)

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Get MSN 8 and enjoy automatic e-mail virus protection.
http://join.msn.com/?page=features/virus

====================================================================
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)



©2008 junlu.com - Jax Systems, LLC, U.S.A.