At 10:17 AM 2/25/99 -0500, you wrote:
>I believe you can use server side includes to solve number 2.  Load an shtml
>page into the right frame.
>If you find a more direct way, please let me know.

I did it via HTML in the form tag: setting the target. I think that's what
Rob was talking about. The only simplification here is I didn't use
server side includes.

<form action="http://domain/servlet/servletname" method=POST
        target="framename">

However, he's talking about doing this from applet, which I don't think
html or shtml will solve..

>> 1. My servlet tries to read a file and write it to the output stream. I
>> have
>> tried using methods like getCodebase but the servlet looks for the
>> servlets directory.. i have tried to configure the same but with little
>> use.
>> When i tried to give the relative address of the file name and then used
>> the toURL method, i again got the file not found exception.

On Jrun anyway, I found I had to full path files. :-(


Suzanne

>> 2. I have an html page with 2 frames, and an appet loaded in the left
>> frame. The applet calls a servlet.I want the page generated (thru ouput
>> stream) by this servlet to appear in the right frame.. Is there a way to
>> do
>> it?? Is there any way to ensure that a servlet redirects to a particular
>> frame on a page ??

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to