If we are not using forbean then how request will be processed from one jsp page to other jsp page using Struts Action mapping.forward should be through action mappinh in struts-config.xml?
Latest Answer: Ofcourse why not, you can use Class.forName("sun.jdbc.odbc.JdbcOdbcDriver") inside non static function. But I will suggest you should use this inside static block. The reason is we put this in the static block is that we only have to load ...
New feature in the JDBC 2.0 API is the ability to update rows in a result set using methods in the Java programming language rather than having to send an SQL command. But before you can take advantage of this capability, you need to create a ResultSet object that is updatable. In order to do this, you supply the ResultSet constant __________________ to the createStatement method.
Latest Answer: rRequest dispatcher whis communciate dirctecly communicate with data which page destination page .example:ServletContext sc=getServletContext();RequestDipatcher rc =sc.getRequestDispatcher("1.jsp");rc.forward(req,res);here u'r 1.jsp is u'r destntion pageone ...
Latest Answer: A servlet configuration object used by a servlet container used to pass information to a servlet during initialization. Servlet context is used to communicated within web container. There is one servlet context per Application per JVM. Servlet Context ...
Latest Answer: hi there,throws::::(DECLARATION) the way we decalre that exception might occur...... it is a caution to the JVM so that it prepares to handle the Exceptionthrow::::: if at any stage of coding we r sure that an exception might occur and unfortunately if ...
Latest Answer: By defining a class as final we are restricting the one of the main feature of OOP ie., INHERITANCE. But JavaSoft(SUN) has provided this restricting feature because Java Developers thought that some methods cannot be modified by the users. ...
Why the clone method in object is defined as protected one.Since every class is a subclass of object what is the significance of the protected access modifier
View page [1] 2 3 4 Next >>

Go Top