Mikalai Zaikin wrote:Yes, the book is still good, just skip the chapters for the topics which are not on the exam (i.e. UDDI, JAXR, JAX-RPC)
Manish Singh wrote:You need to learn about the tomcat class loaders.
The classes you want to use across the web applications should be packaged in a jar and put in the shared folder of tomcat.
Manish Singh wrote:what do you mean by 3 application
Are they web application.
Anyways answer to your question is yes
Campbell Ritchie wrote:No, that is incorrect. If equals returns true then the hashCode method returns the same result, but not vice versa.
G.Sathish kumar wrote: . . . if hashcode value same then equals should return true . . .
Rob Prime wrote:new Integer(xxx) will always create a new object, so it will never be equal (==) to any other object.
Although Integer.valueOf(int) does use a pool, Integer.valueOf(String) (the one you are using) will also create new objects each time.
Kengkaj Sathianpantarit wrote:
Sanjay Kumar Patel wrote:
Doing some digging tells me that Struts 2.1.8 has a nice jQuery plugin (http://code.google.com/p/struts2-jquery/), whereas I could not see AJAX support in Spring MVC. Also, I do not know whether Spring MVC supports convention over configuration to the extent the convention plugin of Struts 2.1.8.
Spring Web MVC supports CoC.
Sanjay Kumar Patel wrote:Sorry for opening an old thread but I have some quite related questions. I am learning struts 2.1.8 and pondering over whether to use Spring MVC or Struts 2.1.8 for a web application. My specific question is - "Where does Struts 2.1.8 win from Spring MVC?" The answer could be something like "it has a jQuery Plugin, it has convention over configuration, it has good books and help material, etc." Curious to know all that could make Struts 2.1.8 win. If the list is not convincing, why would one choose Struts 2.1 over Spring MVC?