Hi all,
I'm trying to use a DownloadAction to serve a file to users. The Action
is called when a jsp forwards to it with a meta-refresh, eg:
In order to get this far the user has to be logged in and their
credentials are in the session, as is the name of the file to download.
The whole pr
We officially have too many example applications :)
Between Struts 1 and Struts 2, there were too many to load in our
itsy-bitsy hosted site at Kattare. I removed some of the lesser Struts
1 examples, and it's back online now.
-T.
On 10/17/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
Hell
On 10/17/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Wendy Smoak wrote:
> See section 4.3 on Tiles in the upgrade notes:
> http://wiki.apache.org/struts/StrutsUpgradeNotes12to13
>
> There is a chain-config file in the Tiles jar. You can use it
> directly, or extract it and modify it if yo
S2 Validation follows a "config-behind-class" model. You define a
validation file for the Action class (or other JavaBean) that needs to
be validated, and place it in the same package/folder. The validation
follows the class hierarchy, so that if a class is extended, the
subclass inherits the vali
Wendy Smoak wrote:
See section 4.3 on Tiles in the upgrade notes:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13
There is a chain-config file in the Tiles jar. You can use it
directly, or extract it and modify it if you need to.
Thanks for information. There is a bug in 1.3.5, however
Check out struts-cookbook-1.3.5.war example app, it contains custom
chain-config.xml with entries relevant to Tiles. Below are portions
from this file:
=== cut here ===
...
...
...
...
...
=== cut here ===
On 10/17/06, Mikolaj Rydzewski <[EMAIL
On 10/17/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
I wanted to migrate my struts/tiles application from struts 1.2 to
struts 1.3 to make use of its new feature: chain of responsibility.
The old way of using tiles with struts was to override default request
processor with special one desi
Hi,
I wanted to migrate my struts/tiles application from struts 1.2 to
struts 1.3 to make use of its new feature: chain of responsibility.
The old way of using tiles with struts was to override default request
processor with special one designed for tiles.
In the new way I should somehow "inj
Downloaded and extracted the struts2-showcase-2.0.1.war file to my
tomcat server. I am looking at the validation/quizBasic!input.action
and I am confused on how the validtion on these fields is set. I am
accustomzed to using 1.x.
Could someone please explain how the validation for these three fie
First, is this the appropriate list for tiles questions? If not, sorry, and
can someone tell me a better one...
I have the following two defintions in my tiles-def.xml file:
In the first definition, I have
Hi Yariel,
I know this problem, you can generate an input hidden with value of checkbox
(to get value off the checkbox after a post) and generate the radio with
disabled property (for display). For this case, you must manage two html
fields in your JSP. Morever if you want mange html select, the p
I'm using struts 1.2.9 with Apache 2.2 and Tomcat 5.5.
I have configured struts to use tiles and my web application appears to be
working flawlessly up until now.
I've been told that I need to display pdf files in a new browser window when
someone clicks on a pdf link on the website. This seems a
Hi again,
I upload the struts application and it deploy ok, i get in
http://www.catalogodepropiedades.com/Struts1Blank/
and it display this message. I think it works ok. What is your opinion ??
The same way i do with the struts 2 blank war but it doesnt work
Welcome!
To get started on your own
Yes, it's in the Examples distribution.
* http://struts.apache.org/download.cgi#struts135
On 10/17/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Ok ted i will try to deploy an struts 1 application.
A question. is there a blank struts 1 application to test, like struts 2.
Juan
-Mensaje orig
Ok ted i will try to deploy an struts 1 application.
A question. is there a blank struts 1 application to test, like struts 2.
Juan
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Ted
Husted
Enviado el: Martes, 17 de Octubre de 2006 03:11 p.m.
Para: Struts
On 10/17/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Only happens with struts2, iam not working with struts 1, the applications
that i made with struts 1 run over an intranet
the problems happens on shared webhosting...where i have no access to
program files directory...
If you could deploy o
Only happens with struts2, iam not working with struts 1, the applications
that i made with struts 1 run over an intranet
the problems happens on shared webhosting...where i have no access to
program files directory...
-Mensaje original-
De: David Friedman [mailto:[EMAIL PROTECTED]
E
Can you even upload a Struts1 example application that works or is this
related to Struts2 only?
Regards,
David
-Original Message-
From: Juan Espinosa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 1:17 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts 2.0 question tags, c
I dont know how to solve this problem. This problem ocurrs with any
application i upload to the webserver.
I upload the blank application and the problem persist.
Also is dificult to me to solve this problem because i have a shared server,
with a shared tomcat and vm.
Answer for David
1) Thou
That did it. Boy, that's a lot of code, two definitions for each level of
the tree seems a bit extreme. And I still don't understand why one
and one worked while the other didn't, but it seems to be
working now, so thanks for the help.
(*Chris*)
On 10/16/06, Antonio Petrelli <[EMAIL PROTECT
You said you pasted UTF-8 Characters in the application resource but what kind
of editor are you using ?
For Instance if you're workin' whith Eclipse you must be sure to set the utf-8
coding in the editor properties.
HIH
Ciao, marcello
-Messaggio originale-
Da: navin mca [mailto:[EMAIL
Good Morning Novin-
Did you use the native2ascii tool to convert the properties file?
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/native2ascii.html
I found this link quite helpful on explaining the entire process of unicode
string conversion
http://servlets.com/archive/servlet/ReadMsg?ms
The error says "Caught exception while loading file struts.xml - [unknown
location]" so have you triple checked there is a WEB-INF/struts.xml or
WEB-INF/classes/struts.xml in your FuturePoint website? If the
"catalogodepropiedades.com\Nilo" path refers back to your PC you should
search your own co
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
> First off, I am trying to figure out how the struts.xml gets
> configured, I do not see this in the web.xml anymore.
By default struts.xml is loaded from the classpath via the
FilterDispatcher/Dispatcher etc.
Dave
-
Interesting...how do you want Struts to read your configuration files
then? Struts currently automatically looks for and loads
struts-default.xml, struts-plugin.xml, and struts.xml files in the
classloader. You can customize that by changing the
'"struts.configuration.files' property in struts.p
Thanks Dave,
That is what I was looking for.
Sincerely
Scott
On 10/17/06, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
> I have downloaded and trying to learn the 2.0 framework. First off, I
> am trying to figure out how the struts.xml gets configured,
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
> I have downloaded and trying to learn the 2.0 framework. First off, I
> am trying to figure out how the struts.xml gets configured, I do not
> see this in the web.xml anymore. Also, I am having trouble finding
> documenttion on the struts-tags that ar
I have a similar problem, i dont know who is trying to load struts.xml and
why in my case is trying to load
it from program filesplease help
Im using struts in a shared web hosting, because of this i am not allowed to
read from program files...
Struts Problem Report
Struts has detected an
Hello,
I have downloaded and trying to learn the 2.0 framework. First off, I
am trying to figure out how the struts.xml gets configured, I do not
see this in the web.xml anymore. Also, I am having trouble finding
documenttion on the struts-tags that are now avaiable. Are these just
the WebWork t
Testing please ignore
I think you can download the war file an deploy in your own tomcat.
URL http://people.apache.org/builds/struts/2.0.1/struts-2.0.1-all.zip , i
downloaded from this address
-Mensaje original-
De: Wesley Wannemacher [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 17 de Octubre de 2006 12:01
Hello,
I would like to go through the mailreader tutorial for Struts 2.0, but
it appears that the link on the Wiki page is broken.
http://planetstruts.org/struts2-mailreader/Tour.do only takes me to a
404.
Does anyone know where I can find this tutorial?
-Wes
--
Wes Wannemacher
Director of Ope
Hi Team,
My current project is supporting charachter encoding IS0-8859 and now we have
to support UTF-8.
for that I had made following changes
1) in all jsp files
<[EMAIL PROTECTED] pageEncoding="UTF-8" contentType="text/html;
charset=UTF-8"%>
2) in all html
Did an update to my repo, the pom changed fixed the issue. Ran mvn and the
build was succesful.
Thanks a lot guys. Cya.
Cesar
-Original Message-
From: Don Brown [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 3:19 PM
To: Struts Developers List
Cc: Struts Users Mailing List
Sub
From: Neil Meyer [mailto:[EMAIL PROTECTED]
> [...] but then when I deselect the checkbox the property in the
> form should be adjusted and this doesn't happen. Please tell me if
> anybody knows why?
Because of the way HTTP deals with checkboxes.
http://struts.apache.org/1.2.x/userGuide/struts-h
Hi
Did you ever do this Gary?
Hermod
-Original Message-
From: Opstvedt, Hermod
Sent: Monday, June 12, 2006 7:39 AM
To: user@struts.apache.org
Subject: RE: [shale] extending clay
Hi
Sounds like a great plugin. I guess one should wait until it is at a V1 stage
before commiting (At le
thanks ted, i will read the example.
i have one more question
Im making tests with struts2 in shared web hosting (www.futurepoint.com).
I test the blank application that is in the struts2 distribution in a local
tomcat (mine pc) and all work ok, but when i upload
the war to the webhosting i get th
Hi All,
I need to urgently find out how to resolve a problem without using additional
javascript.
I have a jsp page with an array of objects.
When I check a checkbox and click on the submit button the data is pulled
through in the form I can redi
Hi,
First of all you need to create a class which implements
org.apache.struts.action.PlugIn.
Then you need to override method init(ActionServlet servlet, ModuleConfig
modConfig) and do your own initializations.
Finally you have to configure this class under struts-config.xml using
tag as
-
we need to see your struts-config.xml, Action Class and ActionForm to determine
your problem
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are
Those types of plugins dont' exist in Struts 2, since today it is just
as easy to use a conventional listener or filter to initialize stuff.
For example, the updated S2 MailReader application uses a listener to
load its "database" from an XML file.
-Ted.
On 10/17/06, Juan Espinosa <[EMAIL PROTE
On 10/17/06, Asad Habib <[EMAIL PROTECTED]> wrote:
Andreas, the second method is definitely better from the perspective of
long-term maintainence. You really need just 1 jsp to achieve the task at
hand. Also, using tags should not make the code unreadable since tags were
developed for exactly th
From: Anil Kumar T [mailto:[EMAIL PROTECTED]
> But in one particular form the data is not been shown to
> the user. [...] This application is developed by 4
> people and only one is creating this problem.
Seems like to problem is clear, then! ;)
Without configs it's hard to say; I'd guess it's n
Hi there,
As you can see, you have defined the firstName field in your action class:
private String firstName;
but in your properties file, you defined it as:
userRegistration.Firstname=First Name
please check your userRegistration.jsp, be sure to use
userRegistration.Firstname when refer to t
Hi all,
Where did it go plugin in struts 2, How i implement a plugin in struts 2. In
need to initialize some stuff when the application loads.
Regards.
Juan
Hi to all, I have a question about struts2. Im making test with struts2 in
shared web hosting (www.futurepoint.com).
I test the blank application that is in the struts2 distribution in a local
tomcat (mine pc) and all work ok, but when i upload
the war to the webhosting i get errro copied at the en
Hi Yariel,
i's the standard behaviour of HTML input. See HTML sepcification at
http://www.w3.org/TR/html4/interact/forms.html#h-17.12
You must not use disabled property but readonly property in your html input.
Regards Angelo
2006/10/17, Yariel Ramos Moreno <[EMAIL PROTECTED]>:
Hi all:
I need
47 matches
Mail list logo