--- Start of forwarded message ---
Subject: Please Help !! Can't Display ActionMessages
From: Kam Lung Leung [EMAIL PROTECTED]
Date: Sat, 08 Nov 2003 18:22:07 -0700 (MST)
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Hi,
I am trying to follow the logon example of the struts-example.war.
Hello,
How can I use runtime variable with the property attribute of html:image
tag.
Eg,
My intent is to do the following.
html:image property=c:out value='${}' / page=/a/b.gif /
However, the value for property is not substituted. Am I missing
something here ?
TIA
Shishir
Greetings,
We have multiple modules (Sub application) in a application. Each module
has
its own struts-config file and validation file . The problem is in the
application modules last loaded application module only getting
validated rest other modules are not getting validated. So we forced to
Hi Puneet, I think you need to check your HTML in Mozilla. Under
'Designing screens for variable number of fields' Mozilla shows no code
and some huge blank spaces between paragraphs.
Otherwise it's a fine document. But I think it's always a difficult call
to differentiate between describing
Hi Dominik,
it's not clear exactly which is your main page that you request from the
browser. I use tiles-defs.xml as the repository for all my definitions,
and I am no longer familiar with the other method that you are using -
in fact I am even unsure whether you are using JavaServer Faces -
Hi Kam,
it's not obvious what is going wrong. What error message are you
expecting? Do you see the There were errors text?
Adam
On 11/09/2003 08:55 AM Kam Lung Leung wrote:
--- Start of forwarded message ---
Subject: Please Help !! Can't Display ActionMessages
From: Kam Lung Leung
Hi Adam,
first of all thanks for your reply. As you might have noticed I am not so
familiar with tiles and struts as I 'd like to be. You should not be to much
confused about the jsf extensions. I only use them to seperate executable
pages from others, that are only included by other pages.
I am having trouble getting a struts web app to work on a JRun 3.0 SP2a server.
When I develop and test locally (JBuilder 7) I do not have any problems, but as soon
as I deploy the war to the JRun server I get errors.
All of the necessary jar files are in the web app/WEB-INF/lib folder and not
David,
What classes or taglibs are called from that index.jsp?
Regards,
David
-Original Message-
From: David Liles [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: Configuration Trouble
I am having trouble getting a struts web app to
Below is the index.jsp and related pages here is the url to the dev site:
dev.minimoon.biz
it seems as though the server is bombing at the html:html tag
index.jsp
%@ taglib uri=/tags/struts-bean prefix=bean %
%@ taglib uri=/tags/struts-html prefix=html %
%@ taglib uri=/tags/struts-logic
I have also found this error in the JRun event log. This error occurs when I attempt
to start the web app.
11/09 11:35:54 error (JRun) Could not pre-load servlet: action
[javax.servlet.ServletException: Could not instantiate
org.apache.struts.action.ActionServlet]
David,
Your message resources statement:
message-resources parameter=resources.application/
Seems to requires this exact file name:
WEB-INF/classes/resources/application.properties
Did you perhaps name it with a capital A? starting
Application.resources and forget to update your
I've double checked the path and I have the file in the classes\resources folder named
application.properties. It is all lower case so I have no idea why it isn't
picking it up
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003
Hi,
I had this error before. It seems to be a bug in the Jrun. please double check if the
old version of jar files from struts1.0 are in the class path for jrun. It will even
cause problems when an another web application running on the same Jrun with old
version of struts.
I also run into
I have two problems that I think are related, so I'm including them both
in this email. I'm using Struts 1.1.
Problem #1:
I am trying to use a mapped property on an html:checkbox, and it does
not appear to be setting the value of the property to true if the
checkbox is checked and submitted.
Thanks for the info
I've moved the log4j.jar file to servers/lib and restarted the app and still have the
same problem.
This is the first Struts project deployed on this server since being rebuilt so I know
there are no other struts.jar files even searched to make sure
From the
Hello David,
I note you are using Jrun3.0! I never had success to setup struts
1.1 with 3.0 but only with 3.1 and Jrun 4. It is worth to test with the new version.
Alvin
David Liles [EMAIL PROTECTED] wrote:
Thanks for the info
I've moved the log4j.jar file to
Thanks Alvin we have JRun 4 but had to uninstall it because Macromedia removed the
ability to have user accounts that can have limited access to different JRun
instances
As for version 3.1, is that an actual upgrade or is it a patch that we can download
and install on to our 3.0
I have also looked for the following: org.apache.struts.action.MESSAGE
which is part of an error that I am seeing when I search for it I do not find it
in the package structure is it possible I need additional files?
-Original Message-
From: alvin antony [mailto:[EMAIL
The slides from Craig McClanahan's recent Struts/JSF talk are now available
here:
http://www.baychi.org/bof/struts/20031105a/
The talk was captured on digital video too. However, it may be several weeks
before the video is available online. I'll send another announcement when
the video is
Good evening...
Using Tomcat 4.1.27 (and JVM 1.4.2_02-b03 on Win2k) when I Remove my Struts
application in the Manager the /myApp/WEB-INF/lib/struts.jar file doesn't
get deleted. The original WAR file is deleted and the expanded directory
contents are deleted, except the struts.jar file.
If I
The following code fragment is used in a DispatchAction and when the
validation fails, the input form is returned unpopulated because all my form
fields lose the data that was originally sent with the request:
ActionErrors errors = form.validate(mapping, request);
if (!errors.isEmpty()) {
Hi,
I was wondering if someone could help me with this problem that I have.
I am trying to get a simple Hello World struts application to run and I
keep getting this error:
org.apache.jasper.JasperException:
Cannot find message resources under key org.apache.struts.action.MESSAGE
I have tried
Good afternoon...
Sorry, I'm new to Struts so I need a bit more context than that.
Do use the method below in my Action object? And then use different
Forwards depending on whether the result is to be in HTML or XML? Or do I
check in the JSP what my content-type is set to and output the
The validate method of the form would be called before the execute method of
action ..
Why do you have to call the form.validate(mapping, request) explicitly , I
doth think this code in acton would be executed if the validation fails ...
-Original Message-
From: Marc Dugger
I'm not sure if this is old news or not, but hopefully it might be of help to
others
I've spent most of the weekend trying to configure a Struts 1.1 web app on a JRun 3.x
server. When I would try and start the web app the event log would show an error
indicating that it could not
Hello all,
We are planning to use a generic form bean for all forms. When two
browser windows are open with different forms, and the form is
submitted, there is a chance for the values in form bean from one form
to be dumped into the form bean into the other form. Is there a standard
way to
i am trying to customize 404 error pages:
but i can't seem to get the original URI that caused the error: i.e.
http://myhost/blahasdfasfsd
i search the web and found these but they all return null.
System.out.println(javax.servlet.forward.request_uri : +
28 matches
Mail list logo