• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me in JRUN

 
paul wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone there help me?
I have some trouble in servlet coding using Jrun server, the following is my code:
getServletConfig().getServletContext().getRequestDispatcher(request.getContextPath()+"/assigncategory.jsp").forward(request, response);
When run this code, jrun will throw a java.lang.NumberFormatException,and this is strange.
Any answer will be appreciated ,my email:wj_sfzh@163.net
 
Beksy Kurian
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this
getServletContext().getRequestDispatcher("/assigncategory.jsp").
forward(request,response);
 
paul wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your answer, the question has been solved.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!