There are a few mistakes in your application :
- Do not use Request.getParameter("anvnamn") in declaration tag <%! %>
- You do not have to import "javax.servlet.ServletRequest"
- The real syntax is : String temp =
request.getParameter("anvnamn").toString();
Fred
>----- Original Message -----
>From: Pablo Rito (ERA) <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, April 13, 2000 3:36 PM
>Subject: Request.getParameter
>
>
>> hi all,
>> I have a problem with Request.getParameter() , i wrote
>> <%! String namn="";
>> String temp=Request.getParameter("anvnamn");
>> %>
>> I have also included the package like this
>> <%@ page import = "javax.servlet.ServletRequest"
>contentType="text/vnd.wap.wml" %
>>
>> But i still don't manage it work.
>>
>> -----Original Message-----
>> From: Adolf Liepelt [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, April 13, 2000 2:55 PM
>> To: [EMAIL PROTECTED]
>> Subject: Use of implicit variables in custom tags?
>>
>>
>> Hi all,
>>
>> I want to use the reference of a bean declared by <jsp:useBean id="bean"
>> .../> in my custom tag. Does anybody know how to get this reference with
>> the correct type?
>>
>>
>> --
>> Adolf Liepelt
>>
>>
>===========================================================================
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>> http://java.sun.com/products/jsp/faq.html
>> http://www.esperanto.org.nz/jsp/jspfaq.html
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>>
>===========================================================================
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>> http://java.sun.com/products/jsp/faq.html
>> http://www.esperanto.org.nz/jsp/jspfaq.html
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets