Thanks alot. That was interceptor problem.
One Question: How can I understand interceptors more. They have certain
stacking otherwise problems. Is there anyway to understand, How to stack
interceptors properly to make things work?
Hope you understand, What I want to ask.
Thanks for the reply. I have commented person =
personDAO.get(this.getId());. To make things more clear. Just wanted to see
Method prints "id" passed in URL. Below are changes.
See this line below 10:56:05,583 DEBUG PersonAction:62 - getPersonById() =*null
*executed . I get id value null. T
*More cleaned code for understanding.*
I am not sure what is wrong. I tried alot.
**PROBLEM:** *this.getId() is not set thus generating error*
**URL generated which is fine. I need that.**
http://localhost:8000/1_Struts2_Tiles_mvn/person/edit/8
**Enabled in struts.xml**
Hi,
I have CustomerDAOImpl where I am doing CRUD. Few questions.
*Q1 -* Should I declare Session at class level or each method level OR
declare at class level and initialize at each method level?
*Q2 -* When fetching data like in listCustomer, Should I
session.beginTransaction(); and than commit
Thanks. How initialize session where it should auto inject? . Please give
me example.
On Fri, Sep 14, 2012 at 4:22 PM, Alejandro wrote:
> You must initializate session attribute.
>
> 2012/9/14 pirzada rashid
>
> > Hi,
> >
> > I am using struts2-fullhibernate
Hi,
I am using struts2-fullhibernatecore-plugin-2.2.2-GA in a demo strut2
project with Hibernate. I tried my best but can not make it work. I am
using all the latest jars.
*Am I missing something?*
Please help
*ERROR LOG*
2012-09-14 02:06:50 - [ INFO -
SessionTransactionInjectorInterceptor:41
6 matches
Mail list logo