aspose file tools*
The moose likes Servlets and the fly likes Problem executing SQL in SERVLET. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Problem executing SQL in SERVLET.

Arya Quskhan Shah
Greenhorn

Joined: May 06, 2006
Posts: 6
Hi all,
This is the first message,I need your help please.
I develope servlet which retrieve data from mobile and process it through httpconnection then compare it with database.
I have the problem in servlet while trying to executeQuery from SQL.
Here is the full code of servlet :


The problem is while trying to execute SQL there are always throw to the "else stage" even if the orderNumber which key-in correct as same in the database. Thats mean ResultSet cannot execute query of SQL.
How to execute query SQL with the correct ways???
Anyone...please advice me how to solve this servlet problem..
Thanks you for immediately response.
[ May 07, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61209
    
  66

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem executing SQL in SERVLET.