Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Navanethan Muthusamy

+ Follow
since Apr 06, 2009
Navanethan likes ...
Eclipse IDE Java
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Navanethan Muthusamy

Also, If you want to execute Spring Program which is using ApplicationContext then you should be add below listed jar files into your classpath.

If BeanFactory used
1) %SPRING_HOME%\ dist\org.springframework.core-3.0.3.RELEASE.jar
2) %SPRING_HOME%\ dist\org.springframework.beans-3.0.3.RELEASE.jar
3) %HOME%\Softwares\Jars\jakarta-commons\commons-logging.jar
Additionally following jars are required in case of spring context
4) %SPRING_HOME%\ dist\org.springframework.context-3.0.3.RELEASE.jar
5) %SPRING_HOME%\ dist\org.springframework.asm-3.0.3.RELEASE.jar
6) %SPRING_HOME%\ dist\org.springframework.expression-3.0.3.RELEASE.jar
4 years ago

I am exploring on Spring Transactions with Hibernate Framework, I want to know why HibernateTransactionManager needs LocalSessionFactoryBean object ?

Since we already all DAOImpl classes are injected and loaded with LocalSessionFactoryBean object. Please Clarify.

4 years ago

Henry Wong wrote:
if you attempt to subclass the inner class from another inner class. It does work, but Java has a different way to allow constructors to access the outer class and the super class (which in this case, is not the same) ... and you may not have learned it yet.

Please guide...How do I achieve ?
5 years ago
Hi, I am exploring on protected access. Can we have protected method in protected inner class ? And how do we access it ?
5 years ago
5 years ago

From your code what I understood is there is no like between JSP and bean in selectOneRadio tag.

Please try the following sample code:

JSP code:

<h:selectOneRadio value="#{helloWorldBacking.test}">
<f:selectItem itemLabel="Test1" itemValue="Test1" />
<f:selectItem itemLabel="Test2" itemValue="Test2" />

Bean code:

String test;

and setter getter methods for string test.


The above code work well. when I have selected first radio button i got 'Test1' in bean.

9 years ago

Can you tell how do I write a hibernate query like

String name = "John";

List list = session.createSQLQuery("Select '+ name +' as Name from Emp")

FYI: In EmpBean class I have String getter and setter method for name.

In this query expecting char setter and getter in EmpBean class, because of single quote.

and when i try to add addScalar("name", Hibernate.STRING) its showing that deprecated.

Can you please let me know how do i manage this case.

I found the solution:

<display:table sort="list" .....>

"sort" => Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list, or 'external' if the data is sorted outside displaytag.

More info:

Expecting solution.

Hi All,
I am using display tag, Here I am using sorting as well as paging.
My problem is, When I am trying to sort the first only one page alone getting sorted. I am not getting records from other pages.

Kindly Let me know what can I do for getting all page sort.