• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to insert date into Excel  RSS feed

 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've the below HTML Page.



And i'm trying to insert data into an excel sheet with the below jsp.



But it is giving me the below Exception



please let me know where am i going wrong.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth is the code in a JSP?
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Mr.Bear, this was just a small reference project, so i was making it in JSP, even my friend tried it in servlets, but the exception is save, both of us were pulling our hair to solve this, and posting here was our last option after trying in our level. please help us to solve this.

Thanks
 
Paul Clapham
Sheriff
Posts: 22509
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At least in a servlet you'll get a stack trace which tells you what line of code threw the exception. You don't get that with JSPs. A JSP is a really poor environment for testing, for that and other reasons.

But you do need to know which line of code is the problem, so start by finding that out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!