Manish Kapasiya

Greenhorn
+ Follow
since May 29, 2014
Merit badge: grant badges
For More
Greater Noida India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Manish Kapasiya

package javax.servlet.* does not exist.
package javax.servlet.servlet.http.* does not exist.
9 years ago
Sir Martin,
I have used Resultset.TYPE_SCROLL_INSENSITIVE rather... Don't be confused with my early code posted because I typed it mistakenly.... It's my mistake.....
sir i am a student and preparing for ocpjp 1.7 and the topic is on the course that's why i am doing that way (updatable resultset).
Thanks Mr. Armitage.
problem is solved.
can you tell me why it is necessary to give specific coloumn names?
the link you provided is not clearing my doubt.
i have resolved the problem....
now i added the required jar files in the ext folder for extension class loader to locate... no need to set User environment variable.


getting java.sql.SQLEception: Invalid operation for read only result set..
Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at DataBase.CustData..main(CustData.java)
i am getting this exception..


what is the reason of getting this error and how can i resolve it.

Passed OCAJP 7 with 88% on this friday 28-06-2014.

Study Material:-

K&B
Mala Gupta
Enthuware Mock Tests....

Thank you coderanchers, your suggestions help me a lot.

9 years ago
I am OCAJP 7 certified. Am i eligible for WEB Component Development with Servlet And JSP Java EE 6
Public void init()
{
ServletContext ctx=getServletContext();
}
Servlet context is one per web app.
Container makes a servlet context object when the web app is deployed on to the server... This object reference is provided throughout the web app using a method getServletContext()..
When container calls init(ServletConfig) the servlet context object is already there for you to use in your overloaded version init().....
9 years ago