Re: Code Help:CRUD example

2011-03-11 Thread JavaNoobie
The Jsp file to the same is as follows. http://old.nabble.com/file/p31124495/newjsp.txt newjsp.txt JavaNoobie wrote: > > Hi All, > This is in following to my previous message . > I have developed a small CRUD example using struts 2 . But when I try to > run the same it throws

Code Help:CRUD example

2011-03-11 Thread JavaNoobie
Hi All, This is in following to my previous message . I have developed a small CRUD example using struts 2 . But when I try to run the same it throws an error (Null pointer exception).. The exception stack trace is as follows. Inside AddDomain java.lang.NullPointerException at com.vivek.s

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-10 Thread JavaNoobie
Hi, I have corrected my jsp page, (not sure whether this is correct ) , and have attached it below . But I have already initialized listbean in the action class , whose code snippet im pasting below. - private DomainBean listbean; --- public String addupDomain(){ String r

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-10 Thread JavaNoobie
Hi, I found that that the bean --"listbean" being created in the action(DomainAction1.java) class is being set with a null value and as a result the ERROR page is being executed .Please help as to how i can overcome this issue . Thanks -- View this message in context: http://old.nabble.com/Stru

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-10 Thread JavaNoobie
I have made the necessary changes , and have got rid of the error.Now ,I'm being able to access the addupDomain function .However , I guess I'm missing something fundamental as I'm not being able to insert into the database, as the control is being passed to the ERROR page each time and there is

Struts 2 Error:SEVERE: Could not find action or result

2011-03-09 Thread JavaNoobie
Hi All, I'm a newbie to Struts 2 , and have tried to create my application using references off the internet .However currently I'm faced with an error while trying to run the program , and i cant figure out where my mistake is :(. Please help me find out what I'm missing . I've attached a screen

resource not found error- Struts 2 (Struts2 in action- Manning)

2011-01-17 Thread JavaNoobie
Hi All, I'm a newbie to Struts2 ,and ive tried and deployed applications using eclipse before.But ,somehow i cant seem to deploy a struts2 application that i found in Manning's "Struts2 In action". I tried following the instruction at this link , but without any use. http://www.manning-sandbox.