• Post Reply Bookmark Topic Watch Topic
  • New Topic

wrong name error..  RSS feed

 
Brian Percival
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sure this is not new.. I have a jsp that I .forward() to from a servlet, everything seemed like ti was working fine and all of a sudden I now get
javax.servlet.ServletException: org/apache/jsp/channels_jsp (wrong name: org/apache/jsp/Channels_jsp)

as the display. I even restarted the server to try to remove any caching. The container I use is winstone adn I use it in an embedded environment.

Is this a 'case sensitivity' problem somewhere? Where do I have to look for the generated jsp related java class? Again I am using winstone servlet container.
 
Brian Percival
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I 'import' my classes directoy instead of mentioning .* in the package, it detects them otherwise it is not.

Some sort of conflict looks like..
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much (anything) about winstone but, in general, relying on the current or present working directory from within a web application for anything is usually a bad idea.

Thanks for posting back with the solution to your problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!