Looks to me as if you will have a problem with int product being shared
across users. You would do better
to return it from   getQueryString ( req );
ie.
int product =  getQueryString ( req );
or better:
String fullQuery   getQueryString ( req,SQLQuery1,SQLQuery2 );
if ( stmt.execute (  fullQuery )){
..etc...
}

also, I don't see where stmt is
declared, created or cleaned up
so there is a possible problem there...

Some Dutch collegues of mine have done a full e-shopping supermarket
suite in servlets, thats been up for a
 year now, perhaps they could
help you around this sort of pitfall.
Contact me if you are interested..

T.


URL http://www.westhawk.co.uk/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to