Bookmark Topic Watch Topic
  • New Topic

something about iBatis.

 
Stan Pak
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm making a web application using Struts2 + iBatis.
I want to make an Action Class that would execute a select statement with an id and a password value which is from a jsp page,
And if there is a value then return "success".

Where is the wrong section and how can I solve it? Could you help me?

The SQL statement from accountSQL.xml is


And the Action Class is
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseAMeaningfulSubjectLine when posting. Explaining your question or remark briefly on the subject line allows us to know what we are getting into, and if we will be able to help. Taking the time to compose a useful subject line shows that you care enough about your question to ShowSomeEffort when asking it here.

Also, please read ItDoesntWorkIsUseless and TellTheDetails: you wouldn't expect an auto mechanic to diagnose and solve a problem with your car without being able to look at the car. We're not at your machine and have no other information other than what you choose to share--without knowing what's happening, what you expected, what (if any) errors you received, and so on, it's impossible to help.

You can edit your post by using the button.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Continued here.
 
    Bookmark Topic Watch Topic
  • New Topic