> mahesh wrote:
>
> Hi
> I have an SHTML page with servlet tag included in it. And the form input will be
>processed by a servlet specified in
> the servlet tag. Now my qn is how can i get the data only from the servlet back to
>the calling html in between servlet
> tag. i need to process that data for the remaining portion of the shtml page. i dont
>want to create any html hard
> coding in servlet. i need only the data from servlet.
> if any of u can spend some time for this for me, pleae help me
> thanks in advance
> Mahesh
You can't do this with the SSI and the <SERVLET> tag; a servlet invoked through
a <SERVLET> tag can only generate HTML that will replace the tag in the completed
page. If you want to call a Java component that does some processing and returns
a result that you can then use for HTML generation with other code in the page you
should look at JSP. With JSP you can do the processing with a Java Bean and use
the result in a "scriptlet", i.e. Java code embedded in the page.
See http://archives.java.sun.com/archives/jsp-interest.html for the JSP interest
mailing list archive.
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".