Re: How to use annotationWorkflow Interceptor

2008-04-12 Thread 袁嘉铭
hi,akash i see the source code but i can't found any place config the name of annotationWorkflow interceptor. i think you will want to use it you must config it by yourself add this in your interceptors EX it any english you doesn't know what it mean. forgive my poor english gordian

xerces problems

2008-04-12 Thread Chris Pat
Hello I get the following when I run a app with TC 5.0.28+ but oddly NOT with 5.0. Can someone help me with the understanding and proper config to fix this Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

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" ; "Struts Users Mailing List" Sent: Saturday, April 12, 2008 3:45 PM Subject: RE: POJO Action Class hi, i changed the build path in eclipse to HelloWorld/WebCo

Re: [OT] Scheduled DB clean up service with Spring

2008-04-12 Thread Laurie Harper
Peter Theissen wrote: Hi, the quartz scheduler from Spring seemed to be a quite nice solution for my DB clean up service. Thanks for that hint. Now I have a quite curios problem. If I, e.g. create a bean in applicationContext.xml as follows: >>> class="org.springframework.scheduling.quartz.S

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 Prashant Saraf
hi, i changed the build path in eclipse to HelloWorld/WebContent/WEB-INF/classes and checked in C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/ now there are class files. Still getting same error :( ___

Re: STruts 2 - populating an ArrayList from the JSP

2008-04-12 Thread Jukka Välimaa
Hi Ancat like this: Struts should take care of populating the array when you submit the form to the action. On Sat, Apr 12, 2008 at 8:26 PM, ancatdubher <[EMAIL PROTECTED]> wrote: > > Hi, > > My action looks like this: > > class TravellerAction extends ActionSupport{ >private Plan itinera

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/tmp

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
sorry all of you but still gating same error Action class [com.prayog.apps.LoginUser] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69 at com.opensymphony.xwork2.config.providers.XmlConf

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 Lukasz Lenart
> Look carefully at the first line of the output. You have misspelled User. > > (*Chris*) Exactly, You have better eye then my :D Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAI

Re: POJO Action Class

2008-04-12 Thread Chris Pratt
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 which put user name and password. in > LoginU

RE: POJO Action Class

2008-04-12 Thread Prashant Saraf
Thanks for the reply, It comes when container starts, i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page. Here is strack trace. SEVERE: Exce

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
sure here is my Struts.xml http://struts.apache.org/dtds/struts-2.0.dtd";> helloWorld.jsp login.jsp success.jsp From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Sat 4/12/2008 11:16 PM To: Struts Users Mailing List Subject: Re: POJO Actio

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]

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 Strin

STruts 2 - populating an ArrayList from the JSP

2008-04-12 Thread ancatdubher
Hi, My action looks like this: class TravellerAction extends ActionSupport{ private Plan itinerary; // More.. } The class "Plan" is a travel plan for a user and contains an ArrayList of cities you wanna visit: class Plan { private ArrayList cities; // More.. } Now, when a user i

Re: how do i make the tomcat server send a 403 Forbidden response in JSP and in Struts?

2008-04-12 Thread Guillaume Bilodeau
HttpServletResponse.SC_FORBIDDEN is an int value, it should compile. Another option is to use Acegi to manage application security. It allows you to restrict access to URL patterns and/or object methods using user roles. Taking this road is not a trivial undertaking though. http://www.acegisec

[OT] Scheduled DB clean up service with Spring

2008-04-12 Thread Peter Theissen
Hi, the quartz scheduler from Spring seemed to be a quite nice solution for my DB clean up service. Thanks for that hint. Now I have a quite curios problem. If I, e.g. create a bean in applicationContext.xml as follows: >>> class="org.springframework.scheduling.quartz.SimpleTriggerBean">