Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A issue in Struts1.x

 
Zhang Jones
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


If somebody can help me solve the problem, I would be very grateful!
struction.jpg
[Thumbnail for struction.jpg]
the construction of project
 
vipul bondugula
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jones,

You Used PreparedStatement getGeneratedKeys() which returns ResultSet object. ResultSet Need to be checked before using it. I mean before using ResultSet object you need to check whether data is exist or not.

Vipul.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic