Are you using POST or GET in the form? If you view the source from the
form as it is created by a servlet now and compare it with the form created
by CGI that worked before, you should be able to find the difference. Just
right-click on the frame (works with IE anyway... If you want me to do it
for you and send the source to you I will) and select "View Source". That
will show you the source of that frame.
Jason Goemaat
-----Original Message-----
From: Christoph Kukulies [SMTP:[EMAIL PROTECTED]]
Sent: Friday, July 16, 1999 10:13 AM
To: Java Apache Users
Subject: Re: using Servlets in frames
On Thu, Jul 15, 1999 at 01:19:04PM -0700, Brad Andrews wrote:
> I have had good luck using Servlets in Frames, just as you would
> normally use .html files. Have you been setting the "target" attribute
> of the form so that it can go to the logwindow when it returns its
> output?
Funny, I solved the problem with the FORM ACTION not coming in the
TARGET window but in a separate browser window instead. Now I' stumped.
Is it Apache, is it Jserv, is it Netscape, is it CGIC?
Tell you what? When I change the invocation of the frame
(you remember:
<frameset frameborder=0 framespacing=0 rows="260,*">
<frame src="http://192.168.1.119/example/Hello" name="testsuite">
<frame src="nothing.html" name="logwindow">
</frameset>
</html>)
from src="http://192.168.1.119/example/Hello" to
src="http://localhost/example/Hello"
The output comes correctly in the second frame (logwindow).
Now what still doesn't work is passing the variables.
It seems the environment doesn't arrive at the CGIC C program that
executes in ACTION written by the servlet (Hello).
>
> Brad
>
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]