Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getting error on HttpRequest / Response  RSS feed

 
chintan ramavat
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

how can we use the methods like setContentType , getWriter and getParameter, I am getting an error. do we need to explicitly define the import for that. though i have declared

When i use this method(PrintWriter out = response.getWriter() at compile time i am getting error that could not find the symbol (.)




import javax.servlet.http.*;


Please any suggestion ??

- Thanks
- CHI
 
chintan ramavat
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NEVER MIND ...gOT it..it was DUE TO a TYPO..

--CHI
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!