upendra sharma

Greenhorn
+ Follow
since Aug 25, 2010
Merit badge: grant badges
For More
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 upendra sharma

I have a jsp page in which a number of rows are shown in a gridview. The data is coming up from the database which is temporily stored in a session and fetched in the jsp page. For each row there is one edit button. On clicking edit button, a new page is to be opened having textboxes which contains the value corresponding to that particular row. So how will i pass the value from jsp to action class and then further to jsp page so that my text box contain the populated value corresponding to the row.
12 years ago
hi. I am using spring 3.0, Struts 2 and Hibernate 3.0.
12 years ago
I have been using Transaction managment using spring. When i use Propagation.MANDATORY then it gives the following exception:


I have three layers in my application, Action , Service and Dao Layer. I have generated the Arithmetic Exception in the Service Layer but even after using Transactional annotation , the entries in the database are not getting rollbacked. Below is the method in which exception is generated. This method belongs to service layer. The above exception can be removed if i use @Transactional in the action class then it generates the ArithmeticException but still the entries have been done in the database table. Rollback is not done. BOException and DAOException are user defined exception. Please help.

12 years ago
Thank you so much . Now the concept is very much clear.

Paul Clapham wrote:

upendra sharma wrote:As there are no pointers in java.



This is where your argument goes wrong. Certainly there are pointers in Java. Every reference variable (which is not null) contains a pointer to some other object.




Can you please elaborate ?? i have not understood clearly.
As there are no pointers in java. So my question is how the memory management takes place in Java? How the class know about its share of memory??
Thanks prithvi. I got scjp notes from your blog. They are really helpful. Thanks a ton.
thanks alot guys....now i have understood the concept...thanks again...
class Parent{ }
class Child extends Parent{
public static void main(String [] args){
Child c=new Parent();
Parent p=new Child();
}
}
the output is coming incompatible types
Ques: why the child reference variable cannot assign the parent instance???

i m just starting to prepare for the exam..and just covered two chap of K & B. please help.