I have the following java class which is called from a servlet ...Whenever I try to retrieve the data using getString()method I get a resultset exhausted message...But when I replaced withit worked...I am totally confused...I am giving both the sevlet code and java class code here....
If you are saying the issue is solved, just by replacing s1 with "700x900", the issue can't be with your code.
It could either be a data issue or that s1 does not have the correct value during execution. Better check your data.
Since you are already printing s1 before execution, I can only guess that there may be an extra space in the end.
They say you have to be the first, the best or different. I say, is it too much to ask for all three.