Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Oscar Montgomery   on Nov 29 In Java Category.

  
Question Answered By: Geraldine Perkins   on Nov 29

First, there may be no such parameter  named as
"viewType". I mean check the name and spellings.

Secondly, try following code. In the following code  i
have typecast the request  object into
"HttpServletRequest".

HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();
String viewType = request.getParameter("viewType");

Try this 'coz i have done this many times by this
method.

Share: 

 
 
Didn't find what you were looking for? Find more on Obtaining URL parameter in JSP Custom Tag Or get search suggestion and latest updates.


Tagged: