Originally posted by Geeta Ravikanti: ... i dont have any idea how to write the code
will you tell me how to write that one because this is must and should i have to do please any one help in this
This is probably a good time to step back from your project and work your way through either a good book on JSP and Servlets or a good web tutorial. The folks at Javaranch are always happy to help out when someone gets stuck with a specific issue but we make a point of not doing people's work for them.
We do have many resources for the Java, Servlets, JSP beginner (Greenhorn as we call them). Check out our BunkHouse for listings and reviews on books, including plenty on JSP and Servlets. We also have a CodeBarn full of sample code. There are some pre-written servlet and JSP apps there that show how to do a lot of the things that people get stuck with. If you want more personalized help, we have the CattleDrive which is a class with people who can review your code and let you know when you're going astray.
Hi Geeta, We can only show the way but you need to trace it out.... Last friday, I have come up with my suggestion at 5:02 PM and you bounced back immediately at 5.09 PM. I too faced so many problems 2 years back when I started coding. I can understand your problem. I am not blaming you but you could have taken some more time to debug your code and could have come back. The best way to sort out any issue is first google out with the exceptions you get....
i will say you just take the java code from your JSP and place it in a simple java class (say abc.java), then try to compile that java class and figure out were actualy code goes wrong and later execute it . As you get a fully executable code i.e if it works ....just copy the code (from inside the class) and place it in JSP (since you want to try through JSP ),it may sure work.
SCJP(1.5),SCWCD(On the way...) Dhwani:>Winning is not important but it is the only thing.
Joined: Mar 26, 2008
thanQ for the reply
previously i exceuted like that only after that i moved to jsp here i got some errors now i solved my problem from the forum But now i am getting the logical errors when ever i am inserting the data(either new user,or existing user) its giving same msg and its not storing the new user in data base
In an effort to help everyone get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular please see: UseRealWords
Abbreviations such as "u" or "ur" in place of "you" and "you are" or "you're" confound language translation software making it hard for our non-English speaking members to read your posts. "thanQ" is not a word in the English language.
Another one that would really help is to use UBB code tags whenever you post code to the ranch. I've looked at this thread several times but moved on without actually reading the code because it's so long and unformatted.
Again, welcome to JavaRanch and good luck with your question. -Ben
Joined: Mar 26, 2008
Sorry for those things From next time on wards I will never try to repeat that mistakes I dont know what is UBB code tags how can I post the code