Because I want to do all in Java.

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 23, 2003 5:30 PM
To: [EMAIL PROTECTED]
Subject: Re: using html:form from plain java code

>What is the best practice to generate html output equivalent to use
>html:form jsp tag. I need to use it in for example servlet (just
example
>, in fact there is just plain java class that generates html output. It
>is very modular thing, so simple jsp isn't solution). This problem is
>touching some other tags either.

Why do you want a Java class to output HTML?

David

>
>I found at least 2 solutions:
>
>1/ simulating using html:form tag (calling doStartTag, doEndTag etc by
>hand) -- this solution needs a lot of 'doing nothing' code. I found
this
>solution quite uggly (maybe someone found/wrote some framework for
>calling jsp tag code in simple java class ??). Unfortunatelly i haven't
>found time to do it yet. (but i plan it)
>
>2/ Looking into FormTag code and rewrite this code to my code.
>-- this can be incompatible with future versions of struts ....
>
>
>Anyone found similar problems ??
>Any solutions ??
>
>Best regards,
>
>--
>Micha� Drozd <[EMAIL PROTECTED]>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to