POJO Action Class

2008-04-12 Thread Prashant Saraf
Hi, Hi I am new to Struts 2, I created a POJO Class, but freamwrok gives error on it. How to define Pojo Action Class? Error says : Action class not found here is my class : /** * */ package com.prayog.apps; /** * @author Administrator * */ public class LoginUser { private String

Re: POJO Action Class

2008-04-12 Thread Lukasz Lenart
Error says : Action class not found Could you show your struts.xml? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
=LoginUser class=com.prayog.apps.LoginUesr result name=loginFormlogin.jsp/result resultsuccess.jsp/result /action /package /struts From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sat 4/12/2008 11:16 PM To: Struts Users Mailing List Subject: Re: POJO Action

Re: POJO Action Class

2008-04-12 Thread Lukasz Lenart
Class and config looks ok, could paste the whole stack trace? When you get such error, when starting conatiner or when requesting the action? Could you also show how you call the action in web browser? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sat 4/12/2008 11:58 PM To: Struts Users Mailing List Subject: Re: POJO Action Class Class and config looks ok, could paste the whole stack trace? When you get such error, when starting conatiner or when requesting

Re: POJO Action Class

2008-04-12 Thread Chris Pratt
From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sat 4/12/2008 11:58 PM To: Struts Users Mailing List Subject: Re: POJO Action Class Class and config looks ok, could paste the whole stack trace? When you get such error, when starting conatiner or when requesting the action

Re: POJO Action Class

2008-04-12 Thread Lukasz Lenart
Look carefully at the first line of the output. You have misspelled User. (*Chris*) Exactly, action name=LoginUser class=com.prayog.apps.LoginUesr You have better eye then my :D Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
oppss sorry to intrupt all of you.. stupid mistake :( From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Sun 4/13/2008 12:39 AM To: Struts Users Mailing List Subject: Re: POJO Action Class Look carefully at the first line of the output. You have misspelled

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
Users Mailing List Subject: Re: POJO Action Class Look carefully at the first line of the output. You have misspelled User. (*Chris*) On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf [EMAIL PROTECTED] wrote: Thanks for the reply, It comes when container starts, i had created a caller jsp

Re: POJO Action Class

2008-04-12 Thread Lukasz Lenart
Hi, Try to look into C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/ and see if you have there compiled class in package com.prayog.apps.LoginUser Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
no only java file is there!! From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sun 4/13/2008 1:07 AM To: Struts Users Mailing List Subject: Re: POJO Action Class Hi, Try to look into C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
:( From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sun 4/13/2008 1:07 AM To: Struts Users Mailing List Subject: Re: POJO Action Class Hi, Try to look into C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/ and see if you

Re: POJO Action Class

2008-04-12 Thread Lukasz Lenart
no only java file is there!! Source file shouldn't be there, but in src folder. I don't know how WTP works, but it looks it's a configuration problem. Sorry I can't help you. Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

Re: POJO Action Class

2008-04-12 Thread Martin Gainty
Which error are you getting? M- - Original Message - From: Prashant Saraf [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org; Struts Users Mailing List user@struts.apache.org Sent: Saturday, April 12, 2008 3:45 PM Subject: RE: POJO Action Class hi, i changed