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

Packages.MyClass is not a constructor  RSS feed

 
Raynmune Corsan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.
my class is:

and when i do this in my .jsp:

sends me the error:

Packages.Direct is not a constructor.

both, the class and the .jsp are in the same PATH.
plaese help me. [banghead]

Even when i put the entire package where the class is

Do not work

thanks for replies
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raynmune, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. You question has already been answered in your original post.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!