hi jk,
when using server side includes and servlet tag,should not use
printwrtiter or printreader,we have to
use servletoutputstream or servletinputstream.check it you using which one.
bye,
hari.
At 06:51 PM 12/6/99 +0530, you wrote:
>no u r sending 2 paramaters Filereader and bufferedreader with values
odbs and
>file
>u can retrieve the value using req.getParameter("filereader");
>in the servlet
>
>
>Kelsey Fedde wrote:
>
>> I looked through the archives, through several resources, but my question
>> is:
>>
>> I have a servlet I want to call from an *.shtml page. I have renamed the
>> page putting in the appropriate servlet tag for the servlet:
>>
>> <BODY>
>> <SERVLET NAME=OdbsServlet>
>> <PARAM name="FileReader" value="Odbs">
>> <PARAM name="BufferedReader" value="file">
>> </SERVLET>
>> </BODY>
>>
>> the Servlet works fine on it's own. But I guess my question as a newbie is
>> the parameters
>> are those lines which look similar to this:
>>
>> try
>>
>> FileReader file = new FileReader(Odbs);
>> BufferedReader buff = new BufferedReader(file);
>>
>> I have tried the servlet without the PARAM tags and still nothing works.
My
>> *.shtml simply
>> Will not retrieve the servlet.
>>
>> thanks in advance for any help,
>> Kelsey
>>
>> ___________________________________________________________________________
>> 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
>
>Attachment Converted: "c:\eudora\attach\jkreddy3.vcf"
>
___________________________________________________________________________
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