|
Re: use <TABLE> within presentation folder: msg#00050java.enhydra.general
On Tue, 15 Oct 2002, [big5] vincentTung(ž³¹BÄw) wrote: > Dear Sir: > > When I use an HTML tags within presentation folder > example:in WelcomePresentation.java > > public void run(HttpPresentationComms comms) > > throws HttpPresentationException, > IOException,NonUniqueQueryException, DataObjectException, SQLException > { > > String cName = "<TABLE><TR><TD>ABC<TD></TR></TABLE>"; > > welcome.setTextName(cName); > comms.response.writeDOM(welcome); > } > > WelcomePresentation.po appear in the Browse like that : > "<TABLE><TR><TD>ABC<TD></TR></TABLE>" > not in a table form which I want to be . > > How can I correct it ? > Well, you have to use the DOM-Classes to build up the structure. setTextXXX() encode your String (show the HTML-Source of your output). -- sincerely Mike Schubert Tel.: ++49-351-3 18 09 15 interface projects GmbH Fax.: ++49-351-3 36 11 87 Tolkewitzer Str.49 E-Mail: mike.schubert@xxxxxxxx D-01277 D R E S D E N HTTP: www.interface-business.de/ "FreeBSD is like a wigwam, no windows, no gates and an apache inside."
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | use <TABLE> within presentation folder, vincentTung(董運籌) |
|---|---|
| Next by Date: | session persistence?, Petr Stehlik |
| Previous by Thread: | use <TABLE> within presentation folder, vincentTung(董運籌) |
| Next by Thread: | Re: use <TABLE> within presentation folder, David Li |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |