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
begin:vcard
n:marada;jaya krishna reddy
tel;home:hyderbad-72
tel;work:CMC LTd
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:jaya krishna
end:vcard