This week's book giveaway is in the Spring forum.
We're giving away four copies of Modern frontends with htmx and have Wim Deblauwe on-line!
See this thread for details.
Win a copy of Modern frontends with htmx this week in the Spring forum!

Gopakumar Naryanan

Ranch Hand
+ Follow
since Jan 15, 2011
Gopakumar likes ...
Hibernate Eclipse IDE Tomcat Server
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
6
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gopakumar Naryanan

I was trying to display employees who has more experience than their manager using HQL. This is the Exception i'm getting when i try HQL query using joins

Exception in thread "main" java.lang.IllegalStateException: DOT node with no left-hand-side!




Note : I added fully qualified in the join query to avoid the below Exception
org.hibernate.hql.internal.ast.QuerySyntaxException: Path expected for join!

When i modify the query as follows :


It works fine.


would like to know where i'm doing mistake.. Any suggestion is greatly appreciated.

Thanks in advance.
Thanks.. i didn't notice the spelling mistake you specified.
11 years ago
Please check your User class.. is there any specific requirement that it should extend ActionSupport class?
I have not worked on Struts 2.. but i haven't seen anywhere one action class being instance variable of other..


11 years ago




I think you need to make a correction here :



In the above code variable itself holds the "AccountId".. so please change it as follows:



Hope it works fine.
11 years ago
Appreciate your spirit .. Wish you all success .. Keep up the good work.
11 years ago
This could be problem with antlr jar file try using appropriate version.
Please go thru the following link :

https://forum.hibernate.org/viewtopic.php?p=2435893

This link could solve the issue.
Please make sure you have all the required jar files in your buildpath. It seems you are missing a jar file related to ehcache. Please check.
Try using hidden form fields for non-editable fields .. and keep the rest as they are.. hope this works fine for your requirements .
11 years ago

Please try this..
11 years ago

I am not sure whether you are expecting something internal to grid.
11 years ago
<HTML:text property='name' value='${emp.name}></html:text> where property is your formbean property and value is what you were trying to put in bean:write tag emp is bean name and name is the property.
11 years ago
You can use <c:import> tag for this task.
11 years ago
JSP
Does it make any sense using jstl tags like <c:choose ></c:choose> TAGS?
11 years ago
Please share the code or stacktrace you are getting when you run the app.
11 years ago
JSP
Probably this issue must have been resolved . Only change you require is your DTO object that is MyModel class must follow Java Beans naming conventions.
Please use code tag for better readability of the code.
11 years ago