Re: How do I execute this action servlet on startup?

2009-04-02 Thread laredotornado
ot; element: > http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1016508 > > Antonio > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >

Re: How do I execute this action servlet on startup?

2009-04-02 Thread Nils-Helge Garli Hegvik
s.refresh.RefreshAction" >>>                  scope="request" >>>                  validate="false"> >>>         >>> >>> This servlet takes no parameters.  How do I get th

Re: How do I execute this action servlet on startup?

2009-04-02 Thread Antonio Petrelli
2009/4/2 laredotornado : > I'm looking into this plug-in idea, and although it forces you to define an > "init" method, it is not a servlet so how do you call it's init method upon > application startup? Specify the "load-on-startup" element: http://edocs.bea.com/wls/docs61/webapp/web_xml.html#101

Re: How do I execute this action servlet on startup?

2009-04-02 Thread laredotornado
ters.  How do I get this to run upon >> application >> startup? >> >> Thanks, - Dave >> -- >> View this message in context: >> http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22828237.html >> Sent from the Struts - Use

Re: How do I execute this action servlet on startup?

2009-04-02 Thread Nils-Helge Garli Hegvik
un upon application > startup? > > Thanks, - Dave > -- > View this message in context: > http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22828237.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > -

Re: How do I execute this action servlet on startup?

2009-04-02 Thread Paweł Wielgus
> -- > View this message in context: > http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22828237.html > Sent from the Struts - User mailing list archive at Nabble.com. > > >

How do I execute this action servlet on startup?

2009-04-01 Thread laredotornado
-this-action-servlet-on-startup--tp22828237p22828237.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: u

servlet-mapping to action servlet

2008-08-14 Thread temp temp
how can map all request to struts action servlet ? will this work /*

RE: Action servlet becomes null in UNIX environment

2008-05-07 Thread Allen, Daniel
hough you're using Struts 1, but you didn't specify a version, so > here's the last release's tag documents. If this is a new app, may I > humbly suggest you use Struts2 instead? No sense in starting a project > using a deprecated framework. > > > -Original Me

Re: Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
#x27;s the last release's tag documents. If this is a new app, may I > humbly suggest you use Struts2 instead? No sense in starting a project > using a deprecated framework. > > > -Original Message- > From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] > Sent: Wednesda

RE: Action servlet becomes null in UNIX environment

2008-05-07 Thread Allen, Daniel
--- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 1:18 PM To: Struts Users Mailing List Subject: Action servlet becomes null in UNIX environment Hi, I have a problem with my application where actionServlet becomes null in UNIX environment and works fine in windows XP syste

Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
Hi, I have a problem with my application where actionServlet becomes null in UNIX environment and works fine in windows XP system. While saving data on test environment (UNIX) I am getting action servlet as null in My Action class. The jsp is built dynamically in as below *JSP code:* if

Action Servlet blocking jboss?

2007-08-28 Thread Florian Reiser
Hello, I want to use struts-tiles for templating in following environment. Struts-1.3.8 Trinidad-1.0.1 Tomahawk-1.1.6 Sun RI-1.2 JBoss 4.2 When I start jboss-4.2 the last protocol line shown is: [Action Servlet] "Loading action chain from " JBoss itself never finishes starting. What h

Can Struts Action Servlet Re-poll struts-config.xml After Hot Sync with JBoss?

2007-07-18 Thread jameshurff
nly way to get Struts to reload the changes is to reload the web context itself, this forces the app server to kill the in-memory objects and reload them (which in turn causes Struts to reparse the XML file). -- View this message in context: http://www.nabble.com/Can-Struts-Action-Servlet-Re-p

Re: Filter before Action servlet

2007-04-22 Thread Yannick Haudry
Hi Mahesh, Actually you can do both, filtering before and after the Action servlet, this only depends how you organize your filtering work in the doFilter() method. What will be executed before Action servlet should be before calling chain.doFilter() method and you can if you like have

Filter before Action servlet

2007-04-22 Thread Mahesh Parab
Hi All, I am new to struts, my doubt is if i place filter before Action servlet what will be called first Action servlet or filter. Thanks, Mahesh

Re: struts action servlet interaction with jsp files

2006-12-15 Thread Frank W. Zammetti
Note however that there is no JSTL equivalent for most of the Struts HTML taglib... the Struts HTML tags are Struts-aware, i.e., will automatically pull data from your form beans to populate the fields... JSTL can't do that automatically. Aside from the HTML taglib, Laurie is of course right,

Re: struts action servlet interaction with jsp files

2006-12-15 Thread Laurie Harper
Simply put, the Struts tags pre-date JSTL. The JSTL tags provide equivalent functionality in many areas and more besides. Since they are a standard and more complete solution than the equivalent Struts tags, their use is recommended. The Struts tags have been kept for backwards compatibility a

Re: struts action servlet interaction with jsp files

2006-12-09 Thread Rick Schumeyer
Can I ask, what is the reason for avoiding the Struts tags and using the JSTL tags? (It begs the question, what is the purpose of the struts tags?) Wendy Smoak wrote: On 12/9/06, Fabio Miranda Hamburger <[EMAIL PROTECTED]> wrote: How can I 'send' this array from fooBarStrutsAction.java, and

Re: struts action servlet interaction with jsp files

2006-12-09 Thread Wendy Smoak
On 12/9/06, Fabio Miranda Hamburger <[EMAIL PROTECTED]> wrote: How can I 'send' this array from fooBarStrutsAction.java, and its method: public ActionForward execute(...) TO a jsp file, let's say display.jsp? and by the way, how to access that array within the JSP file. I think I am missing a c

struts action servlet interaction with jsp files

2006-12-09 Thread Fabio Miranda Hamburger
Hello, I am migrating some PHP application to struts to take advantage of MVC. Check this situation: I have a struts action in fooBarStrutsAction.java. After a request, this action perform a database transaction and arrange the final result in an array. Now I want to display this array in a

Non-initializing Struts Action Servlet, Digester and xercesImpl

2006-06-02 Thread Hauknes Gudny 
Hi, Referring to (FW: [jira] Commented: (MYFACES-1170) Application can not startif xercesImpl-2.7.1.jar is present and http://www.mail-archive.com/dev@myfaces.apache.org/msg12153.html I wonder if anyone else had the problem described below: Deploying a Struts 1.2.9 web application on Oracle 10g

Re: null actionform returned by action servlet

2006-05-23 Thread I HARIKRISHNA
addPFTActivityForm" scope="request" validate="false" input="/jsp/pft/pftActivityDetail2.jsp" > I continue to get null action form from the action servlet. Regards On 5/23/06, Richard Yee wrote: > > Asif, > Do you have a name attribute set in yo

Re: null actionform returned by action servlet

2006-05-22 Thread Asif Saleem
Hi Richard, Here is the action mapping from my struts-config file: I continue to get null action form from the action servlet. Regards On 5/23/06, Richard Yee <[EMAIL PROTECTED]> wrote: Asif, Do you have a name attribute set in your action definitio

Re: null actionform returned by action servlet

2006-05-22 Thread Richard Yee
Asif, Do you have a name attribute set in your action definition? The name attribute should be set to a form-bean name. Why don't you send your struts-config.xml file? -Richard Asif Saleem wrote: Hi, I am starting to use struts for my project. I have a proble that the action servl

null actionform returned by action servlet

2006-05-22 Thread Asif Saleem
Hi, I am starting to use struts for my project. I have a proble that the action servlet is always returning NULL ActionForm to the Action class. Note that I am using the struts 1.0 framework in which the ActionServlet instantiates and populates the actionform. I have checked the struts

Action servlet unavailable

2006-04-05 Thread draegoon Z
Hey guys, I have just started bringing an older opensource CMS wepapp called owxv3 (http://www.eadmin.ch/pages/en/owxv3/) up to speed. Switched it from 1.1 to 1.2.8. Making OS and database independent. Changing templating to tiles. I'm getting this error: 2006-04-05 23:10:04 StandardContext[

RE: security struts action servlet

2006-02-10 Thread Garner, Shawn
, February 10, 2006 2:35 PM To: Struts Users Mailing List Subject: Re: security struts action servlet On 2/10/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Sorry, that's what I meant. It's a forward. Not a redirect. > > How do I apply my security to /pages/* in

Re: security struts action servlet

2006-02-10 Thread Craig McClanahan
Shawn Craig -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig > McClanahan > Sent: Friday, February 10, 2006 1:35 PM > To: Struts Users Mailing List > Subject: Re: security struts action servlet > > On 2/10/06, Garner,

RE: security struts action servlet

2006-02-10 Thread Garner, Shawn
rs Mailing List Subject: Re: security struts action servlet On 2/10/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > I was messing around with security in the web.xml and tried to implement > authorization restrictions with the struts-blank.war. > > I put restrictions on th

Re: security struts action servlet

2006-02-10 Thread Craig McClanahan
at since the index.jsp does a redirect to > the > pages directory and the action servlet does the mapping from welcome.do to > /pages/Welcome.jsp that I am not prompted for a username and password. Are you sure it's doing a redirect? If this were a forward, the symptom you descri

security struts action servlet

2006-02-10 Thread Garner, Shawn
I was messing around with security in the web.xml and tried to implement authorization restrictions with the struts-blank.war. I put restrictions on the /pages/* directory. Funny thing is that it seems that since the index.jsp does a redirect to the pages directory and the action servlet does

Re: action -> servlet

2005-10-05 Thread Hubert Rabago
For the path, try using the same path that you would use if you were calling the servlet directly from the browser, without the application context. You should also consider generating the file from the Action itself. The Action does have access to the servlet output stream and the html headers.

Re: action -> servlet

2005-10-05 Thread Dave Newton
Martin Gainty wrote: The documentation for the Action Class http://struts.apache.org/api/org/apache/struts/action/Action.html shows that we can use ActionObject.setServlet(ActionServletObjectToAttach) I'd think that forwarding would be a lot easier... What kind of problems are you having with

Re: action -> servlet

2005-10-05 Thread Martin Gainty
Message - From: "Chris Pat" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, October 05, 2005 10:52 AM Subject: action -> servlet Hello Is/how possible to forward from an Action to a servlet even indirectly? I try with a global forward

action -> servlet

2005-10-05 Thread Chris Pat
Hello Is/how possible to forward from an Action to a servlet even indirectly? I try with a global forwards and cant get the path right. This is to get around the design that I have the Action create the file and I just want to serve the file to a browser. My servelet does it with ServletStream

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-27 Thread Laurie Harper
Remember that servlet mapping and action paths are two entirely seperate things. For servlet mappings, *.do/** would be infix, not suffix -- and infix is not allowed. Suffix means, roughly, 'at the end'. In other words, you can either have 'text*' (prefix mapping) or '*text' (suffix mapping). I

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-27 Thread emre akbas
Again, thank you very much Laurie. I couldn't understand how ** wildcard mapping could work with suffix mapping (*.do). I have tried, in web.xml, *.do/** but tomcat said "invalid url-pattern". If I manage to get ** wilcard mapping work with *.do, I will be able to correctly process a request like

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-24 Thread Laurie Harper
starting to understand the problem let's look back at the JSP Disclaimer: I know there are lots of variations in how you can use Struts, so some of what I'm saying is from my app that works and how the coding differs from yours. Yours may not be wrong, it maybe just different to mine

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-24 Thread emre akbas
> > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- Forwarded message -- > From: "Murray Collingwood" <[EMAIL PROTECTED]> > To: user@struts.apache.org &

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-23 Thread Dave Newton
emre akbas wrote: Sorry, but I don't think that you've understand my question. I wan to get the full URL of the request in my action class. None of the examples in the wiki page you posted addresses this issue. The URL of the request is available from the HttpServletRequest object. See the J

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-23 Thread emre akbas
No problem. I don't want to pass the filename as a request parameter as you suggested since this way my server cannot serve html file properly. Say I have two files: 1.html and 1.jpg and assume that 1.jpg is used within 1.html When I request 1.html using your suggested method, the image 1.jpg wil

Re: Struts action servlet mapping, getPathInfo() returns null

2005-09-23 Thread emre akbas
Sorry, but I don't think that you've understand my question. I wan to get the full URL of the request in my action class. None of the examples in the wiki page you posted addresses this issue. On 9/23/05, Murray Collingwood <[EMAIL PROTECTED]> wrote: > > Same questions same answers... > > http://w

Struts action servlet mapping, getPathInfo() returns null

2005-09-23 Thread emre akbas
Hi, I want to do sth like the following: When a user clicks the link: http://myhost:8080/myapp/server.do/chapter1/images/1.jpg I want to get the "/chapter1/images/1.jpg" part of the request and then serve the requested file. "server.do" is a downloadaction. As Laurie Harper stated in one of his pre

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Joe Germuska
ROTECTED]> wrote: Hello, I understand it is possible to override the init() method in the Action Servlet class. How can I go about achieving this? What are the changes that I need to make in the web.xml. I need to introduce this in my application, since I need to initialize certain parame

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Wendy Smoak
From: "Anuradha S.Athreya" <[EMAIL PROTECTED]> I understand it is possible to override the init() method in the Action Servlet class. How can I go about achieving this? What are the changes that I need to make in the web.xml. I need to introduce this in my application,

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Laurie Harper
struts-plugin to execute startup code. I would avoid making changes in core behaviors if possible without changing them. On 8/20/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote: Hello, I understand it is possible to override the init() method in the Action Servlet class. How can I go

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Sudhaker Raj
You can try struts-plugin to execute startup code. I would avoid making changes in core behaviors if possible without changing them. On 8/20/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote: > Hello, > > > > I understand it is possible to override the init() method in

RE: Overriding the init() method in the Action Servlet.

2005-08-19 Thread Mark Benussi
August 2005 07:01 To: 'Struts Users Mailing List' Subject: Overriding the init() method in the Action Servlet. Hello, I understand it is possible to override the init() method in the Action Servlet class. How can I go about achieving this? What are the changes that I need to make in t

Overriding the init() method in the Action Servlet.

2005-08-19 Thread Anuradha S.Athreya
Hello, I understand it is possible to override the init() method in the Action Servlet class. How can I go about achieving this? What are the changes that I need to make in the web.xml. I need to introduce this in my application, since I need to initialize certain parameters during application

Re: The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Rodolfo García Esteban/CYII
Asunto: Re: The configuration of validation.xml crashes against Action Servlet. Niall Pemberton wrote: >Having said that, is this really what you have in your struts-config.xml? I would have expected to see validate="true" as well. > > I (almost) never use the validate="tr

Re: The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Rodolfo García Esteban/CYII
st" Para: "Struts Users Mailing List" cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: The configuration of validation.xml crashes against Action Servlet. You need to specify an "input" attribute on the "action" element in y

Re: The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Dave Newton
Niall Pemberton wrote: Having said that, is this really what you have in your struts-config.xml? I would have expected to see validate="true" as well. I (almost) never use the validate="true" attribute because I (almost) always use the same action for creation and editing--if the auto-validati

Re: The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Niall Pemberton
You need to specify an "input" attribute on the "action" element in your struts-config.xml. When validation fails Struts tries to forward to whatever is specified in the "input" attribute - as you don't have one, thats why you're getting that error message. Having said that, is this really what you

Re: The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Rodolfo García Esteban/CYII
: The configuration of validation.xml crashes against Action Servlet. Hi I´m using struts 1.2.4 and I'm starting with validator. I have done all to config validator in a application I had. After set up the validator I obtain the next error http 500 : No input attribute for mapping

The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Rodolfo García Esteban/CYII
Hi I´m using struts 1.2.4 and I'm starting with validator. I have done all to config validator in a application I had. After set up the validator I obtain the next error http 500 : No input attribute for mapping path /FiltroCoche my validation.xml is:

The configuration of validation.xml crashes against Action Servlet.

2005-04-12 Thread Rodolfo García Esteban/CYII
I´m using struts 1.2.6 and I'm starting with validator. I have done all to config validator in a application I had. After set ut validator I obtain the next error http 500 : No input attribute for mapping path /FiltroCoche my validation.xml is:

Unable to initialize Action Servlet

2005-03-14 Thread Alex Rodrigues da Silva
Hi, when i start the tomcat 5.5.7 i get this SEVERE. Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency. java.lang.NoClassDefFoundError: org/apach

RE: Class not found error when action servlet starts up

2005-02-05 Thread Martin Gainty
gt; To: user@struts.apache.org Subject: Class not found error when action servlet starts up Date: Fri, 4 Feb 2005 17:31:51 -0500 MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.199]) by MC8-F24.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 4 Feb 2005 14:32:05 -0800 Received: (qmail 37185 in

RE: Class not found error when action servlet starts up

2005-02-04 Thread Sab
servlet starts up Hello Whenever I try to start my weblogic container, i keep getting a class not found excpetion when loading up the action servlet. I am not sure why... please help me resolve this. FINE: Fire begin() for FactoryCreateRule[className=null, attributeName=null, c [EMAIL PROTECTED

Class not found error when action servlet starts up

2005-02-04 Thread Soaring Eagle
Hello Whenever I try to start my weblogic container, i keep getting a class not found excpetion when loading up the action servlet. I am not sure why... please help me resolve this. FINE: Fire begin() for FactoryCreateRule[className=null, attributeName=null, c [EMAIL PROTECTED] Feb 4, 2005 5

RE: Action Servlet not getting called.

2004-08-16 Thread Jitender K Chukkavenkata
Hi Veera, You have used an identifier called employees for logic:iterate name attribute. The name should be a valid bean name defined in any scope. I guess you are giving a wrong reference. Try giving a valid bean reference that exist in any scope. Regards, Jitender Kumar C.V.

RE: Action Servlet not getting called.

2004-08-16 Thread Veerabhadra Rao R
inal Message- From: Divakar Satyanarayan Sent: Monday, August 16, 2004 12:22 PM To: Struts Users Mailing List Subject: RE: Action Servlet not getting called. Space is not there We use Apache web server & it displays a blank page. Regards, Divakar -Original Message- From: Navjot Singh

RE: Action Servlet not getting called.

2004-08-15 Thread Divakar Satyanarayan
Space is not there We use Apache web server & it displays a blank page. Regards, Divakar -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 12:08 PM To: Struts Users Mailing List Subject: Re: Action Servlet not getting called. what

Re: Action Servlet not getting called.

2004-08-15 Thread Navjot Singh
what does tomcat log returned? does it throw error or a blank page? is it because of space after this dot? type="mascot.workqueue.action. SummaryAction" regards Navjot Singh Divakar Satyanarayan wrote: Hi All, I have added following action mapping to struts-config.xml for a page. In

Action Servlet not getting called.

2004-08-15 Thread Divakar Satyanarayan
Hi All, I have added following action mapping to struts-config.xml for a page. In --- In The file SummaryAction.java is available in a jar that is in the classpath before and from this jar other pages are working. The jsp path is OK

RE: Pass a Variable From JSP via JSP To an Action Servlet

2004-07-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 10:00 PM > To: [EMAIL PROTECTED] > Subject: Pass a Variable From JSP via JSP To an Action Servlet > > > I have the value of a variable defined in JSP#

Pass a Variable From JSP via JSP To an Action Servlet

2004-07-01 Thread Caroline Jen
I have the value of a variable defined in JSP#1 (JSP#1 is not a form): All the variables, which are defined in JSP#1, are forwarded to JSP#2. JSP#2 is a form. But, the variable 'id' is not used in JSP#2. JSP#2 has a submit button and then, an action servlet takes over the con

RE: Multiple Action Servlet Mappings

2004-04-22 Thread David Friedman
day, April 22, 2004 6:03 PM To: Struts Users Mailing List Subject: Multiple Action Servlet Mappings I have my action servlet mapped to 2 different url patterns (which are used for filtering purposes elsewhere in my site). It seems the order of my servlet mappings affects the action attribute of my form

Multiple Action Servlet Mappings

2004-04-22 Thread Toby Saville
I have my action servlet mapped to 2 different url patterns (which are used for filtering purposes elsewhere in my site). It seems the order of my servlet mappings affects the action attribute of my form by appending of the suffix of the last mapping to the end of the form's action.

RE: Multiple Action Servlet Mappings

2004-04-22 Thread Dimitar Stavrakov
EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 1:34 AM To: [EMAIL PROTECTED] Subject: Multiple Action Servlet Mappings I have my action servlet mapped to 2 different url patterns (which are used for filtering purposes elsewhere in my site). It seems the order of my servlet mappings affects the a

Multiple Action Servlet Mappings

2004-04-22 Thread Toby Saville
I have my action servlet mapped to 2 different url patterns (which are used for filtering purposes elsewhere in my site). It seems the order of my servlet mappings affects the action attribute of my by appending the suffix of the last servlet mapping to the end of the form's action (us