Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

not able to import oracle.sql.BLOB  RSS feed

 
Rajesh Veluchamy
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i am writing the same code in Java. Its' working fine.
i have copied the java function in jsp.
Now the problem is my program is not able to call "classes12.zip"

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, to begin with, it's very bad form to be putting Java code into a JSP. And even more so to put JDBC/SQL code there. Why not just leave it in Java classes?

But, are you sure that the jar (zip) file is in the proper location? Where did you put it? The system classpath doesn't count -- it's not referenced at run time.
[ July 06, 2008: Message edited by: Bear Bibeault ]
 
Rajesh Veluchamy
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am really sorry to put this here.
The error was resolved by using javac -classpath path filename.java
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!