Hello list,

it's allways the same: I tried and tried, and shortly after I decided to
post here, I found my mistake by chance.

Toni





----- Original Message -----
From: "Anton Epple" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 7:25 PM
Subject: applet-servlet as view component


Hello,

I'm trying to build a struts-based web-application that uses an applet to
display information. I've created an action that retrieves data from a
database, when called from an applet:

8<--------------------->8
<action path="/helloWorld" name="HelloWorldForm" scope="session"
type="de.genomatix.strutswebinterface.HelloWorldAction"
input="/GraphEditor.class" validate="false">
    <forward name="success" redirect ="true" path="/HelloWorldServlet" />
</action>
8<--------------------->8

HelloWorldServlet as a view component should send back an Object to the
applet via HTTP-tunneling.
I can call the action from my applet, The HelloWorldForm is instanciated
correctly, the ActionServlet forwards to the Servlet, and I can send Objects
back to the Applet.
The Problem is: I don't know how I can Access the HelloWorldForm-bean which
I have created with my servlet. So far I can only send Objects that I've
created with the HelloWorldServlet.

Can anybody tell me, how I can access the ActionServlet from my Servlet?


Toni








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

Reply via email to