simranjit singh sandhu

Greenhorn
+ Follow
since Mar 15, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by simranjit singh sandhu

Does Broader Exception means Exceptions classes above current Exception in Exception Hierarchy ?
12 years ago
hi, i want to ask that what did broader exception means , in context of that overriding methods cannot declare broader exceptions than overriden/original methods.
i want to know about what does broader exception means here?

broader exceptions means exception of parent class eg:

class subException extends Exception{}
class subsubException extends subException{}

class c{ void mehtod() throw subException{}
}
class b extends c{void method() throw Exception{}}

actually i was preparing for scjp6 and i encountered this question? itz so confusing that what exception can method() of class b can throw legally ?
what are broader exceptions ?
12 years ago
hi,
I have encountered a problem ,which i dont know how to solve,
whenever i submit my form everything works fine .
but when i submit the empty form all validations works fine and when i refresh this page via browser new form is not rendered it renders the old page with all validation errors still there.
please help me regarding this and also i want to know how to build reset button functionality in jsf ?
and how to clear all values from form after form submit is successfull ?

12 years ago
JSF
Can someone explain what are jasper reports and why they are used even when, we have capability to create xml and text documents in java ?
Thanks !!! but as you have said i am already using session create listener and session destroy listeners to keep track of logged in users . and can you tell me how i can keep track of logged in users using application scoped bean or can i create custom event listeners in login method ?
12 years ago
JSF
Hi ,I am making a twitter like application in jsf ,so far i have completed to create new sessions for users ,Then i make code for checking number users online using session listeners,then i encountered a problem that as soon as i request for faces application even for the first time i.e application homepage new session is automatically created.is there any relation b/w starting of jsf application and session creation ?
12 years ago
JSF