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
>
s.refresh.RefreshAction"
>>> scope="request"
>>> validate="false">
>>>
>>>
>>> This servlet takes no parameters. How do I get th
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
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
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.
>
>
> -
> --
> 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.
>
>
>
-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
how can map all request to struts action servlet ?
will this work
/*
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
#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
---
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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[
, 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
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,
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
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
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
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.
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
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
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
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
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
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
> > 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
&
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
: 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
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:
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:
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
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
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
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
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.
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
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
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
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
> -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#
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
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
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.
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
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
72 matches
Mail list logo