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
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]
=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
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
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
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
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
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
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
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
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
:(
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
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
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
14 matches
Mail list logo