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.
Comments?
Spring Web MVC supports CoC.
http://static.springsource.org/spring/docs/2.5.6/reference/mvc.html#mvc-coc
Regarding JavaScript, Spring JavaScript is an abstraction over Dojo (at least for now).
http://static.springsource.org/spring-webflow/docs/2.0.x/reference/html/ch11.html
Spring JavaScript doesn't tie to Spring Web MVC or Spring Web Flow, we can use Spring JavaScript in any environments.
Nevertheless, I don't like Spring JavaScript much because I don't like Dojo's documentation.
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?
thanks,
Sanjay