Durgesh Vaishnav

Greenhorn
+ Follow
since Oct 06, 2006
Merit badge: grant badges
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Durgesh Vaishnav

Implicit objects in jsp are the objects that are created by the container automatically and the container makes them available to the developers. Exception object has a page scope and this object allows the exception data to be accessed only by designated JSP "error pages. When a JSP page has been declared an errorPage=true, it is made available this object with name of "exception" of type java.lang.Throwable.

in your case, you cann't access exception like {exception}. but it is available via pagecontext.
Awesome !! I love to read this book
12 years ago
Chain.dofilter() means invoke next filter or in case current filter is last filter , invoke server.doService().
By Defination : A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses.
Filters typically do not themselves create responses, but instead provide universal functions that can be "attached" to any type of servlet or JSP page.
Also filters can be used to transform the response from a servlet or a JSP page.

In your example, if we have two filters (FA and FB) and a servlet (SA).Whenever the client requests SA, the container will redirect the request first to FA and then to FB which in turn redirect it to SA and then SA send the response directly to client without any filter invocation.


In addition of Frits question, Also check your context root setup property, with context root URL can be "localhost:8080/HAS/login.jsp" otherwise "localhost:8080/login.jsp"
Try adding Caching logic in servlet for requested data. This might help on subsequent requests.
Reusable components are well suited to scientific programs, but business applications are each so unique that it's impossible to capture much meaningful commonality for reuse.
Congratulations for great success.
Congratulation , Only matter that you have finally big success.

Please share your references, books etc.
12 years ago
Really a nice example of "Multi Dimensional Arrays". I like this.... Thanks Fred & Stephan.
You are actually missing break; here, if you add break on each case it will only execute matching case otherwise default.
It may take up to 1 week for updated information.
12 years ago
May today’s success be the beginning of tomorrow’s achievements. Congratulations! and good luck.
12 years ago