Hello Joshua,
the path shown in the error message must be constructed by Tomcat/Struts itself.
There isn't any explicit drive in any of the configuration files.
I got a hint from Daniel Bauert who tells me to check the path and folder names
bacause they are case sensitive. In fact, my
Does anybody has (bad) experience with JRun 3.0. The struts example 0.5
worked properly. And now, the example 1.0 is not working anymore...
Regards
Oliver
Hi,
you have to fix several changes in your sources see
http://jakarta.apache.org/struts/release.html or
http://jakarta.apache.org/struts/userGuide/index.html concerning 1.0.
Oliver
-Ursprngliche Nachricht-
Von: Santschi Oliver [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 25.
Hello,
going through the struts example I wonder why there is an action.xml and a
struts-config.xml
because there are many equal entries (action-mappings).
Thank you for the explanation in advance.
Regards
Michael
Hi,
those two, I guess, are more or less redundant while action.xml is
depreciated and has a different syntax and dtd.
I used struts-config.xml within the example and this one worked.
Oliver
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet am:
hello
I developped a struts-application (using i18n) on tomcat 3.2 and it works
fine.
Now I got it running on Weblogic 6.0 but I got a problem though:
In the jsp's I use the struts-tag bean:message key="menu.search" /
So I should get on my screen "Search" but instead I get "\nSearch".
Any
Hi,
so in fact I only have to concentrate on on of these configuration files?
Would be nice to read that in the documentation or have I missed something?
Regards
Michael
[EMAIL PROTECTED] am 25.01.2001 11:30:41
Bitte antworten an [EMAIL PROTECTED]
See
http://jakarta.apache.org/struts/userGuide/building_controller.html#config
Oliver
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 25. Januar 2001 11:26
An: [EMAIL PROTECTED]
Betreff: Antwort: AW: why struts-config.xml AND
I've noticed that the 'type' attribute of 'action-mappings', 'form-beans'
and 'global-forwards' elements in struts-config.xml is ignored (in the
2122 build).
Is this likely to be fixed for version 1.0?
---
Howard Moore
Senior Software Engineer
I'm always pleasantly surprised when I look, and as of a few seconds ago
there
are 909 subscribers to STRUTS-USER (!!). There are 450 on STRUTS-DEV.
Yes, and the number of messages here daily often exceeds that of
JSP_INTEREST! And more importantly, the messages and discussions here tend
to
Martin,
Thanks for the response. That's sort of the same conclusion I came to.
If that's the way it needs to be, that's fine. I like the design of the
resource file. I just skipped it in the interest of getting my first
example working with as little as possible.
Craig Company: Prehaps
java.lang.NoClassDefFoundError
My guess is that is unable to find one of your class referenced in
your jsp file. This could be a custom tag or a java class.
Double check your class paths.
-Rob
It is confusing. If you are starting a new application then use
struts-config.xml and
delete action.xml. The action.xml was originally used with struts 0.5, after
that
struts-config.xml was created which replaces action.xml.
It is only left in the example application since struts 1.0
will still
hi
i am unable to rectify these error if it's known to u please let me know.
the error is
by which i am unable to get the validation part.
500 Internal Server Error
/mm/BoxAction.do:
javax.servlet.ServletException: Exception thrown processing JSP page.
java.lang.IncompatibleClassChangeError:
If I understand it correctly, I don't think your modified tag works in all
cases. If, for example, you have a web-application called testApp and a
logon form at;
http://someHost/testApp/admin/logon.do
the ActionMapping defined in struts-config.xml must have a path attribute of
"/admin/logon"
can you just do
a simple data post to the server from a web browser (form, link,
or any DOM
event etc) without causing the browser to expect/display new
pages from the
server? For instance, when the state at the client side has
changed (e.g., the
user changed the content in a form,
Hi,
Part of my application involves the user filling in multiple forms as part
of a wizard.
I'm having trouble with paths. My forms are not in my web app root they are
in a sub directory.
I've followed the struts example as a basis for this application but I
cannot satisfy the action mappings
The problem is because the action in the jsp form tag is being used for
two purposes - for the generated HTML and for looking up the
ActionMapping.
If you have the directory path in the form tag and modify FormTag.java so
it doesn't strip it out, struts will generate the HTML page for you.
"Hines, Bill" wrote:
I'm always pleasantly surprised when I look, and as of a few seconds ago
there
are 909 subscribers to STRUTS-USER (!!). There are 450 on STRUTS-DEV.
Yes, and the number of messages here daily often exceeds that of
JSP_INTEREST! And more importantly, the messages and
[EMAIL PROTECTED] wrote:
Hi Craig,
it seems to me that you've written the spec. and SUN and I didn't read it
till the end :-) !
Well, I'm one of the participants in the expert group on the servlet 2.3 and JSP
1.2 specs, and my "day job" is implementing them (in Tomcat 4.0) -- I almost,
but
Look at the following example:
http://drdb.fsa.ulaval.ca:8080/membership05/doc/membership05.html
Ted Husted wrote:
Depending on what you are trying to do, you may want to setup a new
servlet from scratch. The GenericDataSource is in the Utilities
package, and may also be used outside of
Look at the examples in
http://drdb.fsa.ulaval.ca:8080/dr/html/struts/membership/index.html
Ted Husted wrote:
On 1/25/2001 at 12:48 PM [EMAIL PROTECTED] wrote:
An example in code would be really nice :-), although I'm happy to
help out in that regard.
Thanks for mentioning that! I've
Hi,
My JSP files are stored in a database because it should be possible to change the jsp
pages
on the fly without deploying a complete new war file and/or shutting down the
application server.
And it must be possible to upload those jsp pages through our maintenance web pages of
our
ron talk wrote:
Hi all,
is there anyway to determine whether a repeated http request has been
generated through a
- click on the refresh button on a browser
- through clicking the back button a the browser and re-clicking the
link/button generating the initial request
I am
Kevin Wang wrote:
Just wondering whether anyone has successfully used nested/indexed
attributes in Struts. Sample codes?
It's not very pretty or elegant, but the pages in the "struts-test.war"
application include some code that uses these sorts of attributes.
Thanks.
Craig
On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote:
It certainly won't be added to 1.0 at this point. For 1.1, I'm
certainly open to cool additions, and will be looking at this one
closely.
The coolest addition would be one that actually leveraged the Struts
framework, the way some of the
Doesn't this Components extension leverage the struts framework? It
basically just extends the struts ActionServlet. It then provides a
component tag library that is backwardly compatible with struts template
tags. I just modified a few files in my rather small web application to use
the
Hi all,
I'm creating an administrative web application using struts. The application
needs to change locales in different parts of the same page. I'm having
trouble accomplishing this.
I'm using struts 0.5 with tomcat 3.2.1 and jdk 1.3
I have three files in my
Hello. I'm trying to configure Struts to instantiate a database
connection pool using the ifxjdbc.jar driver for the Informix Dynamic
Server (7.2). So far, I'm getting exceptions at startup. I also get an
exception when I try to obtain a DB connection. Any help would be appreciated!
Note that
It looks like the Informix JDBC driver is throwing an exception when you call
setReadOnly(true) on one of its
connections. Could you try that in a standalone program and see what happens, and
also what happens if you call
setReadOnly(false)?
Craig
Steve A Drake wrote:
Hello. I'm trying
%
java.util.Locale locale = new java.util.Locale("fr", "CA");
session.setAttribute("localeKey", locale);
%
There is probably a way to handle this within the existing Struts API, but
in reference to this particular mechanism your attempting...
The "localeKey" should actually be set to
On Thu, 25 Jan 2001, Craig R. McClanahan wrote:
It looks like the Informix JDBC driver is throwing an exception when you call
setReadOnly(true) on one of its
connections. Could you try that in a standalone program and see what happens, and
also what happens if you call
setReadOnly(false)?
Just as an after thought, if you intend on displaying multiple languages
within a page, one way to handle this could be to instantiate seperate
resource bundles with each using a different locale and then make these
available as application or session scope objects. It would be fairly easy
to
Bear wrote:
Craig,
At 10:28 AM 1/24/2001 -0800, you wrote:
* Tell my users "deal with it -- this is a web application, not a
web site, and the URL that you see is totally irrelevant."
I'm perfectly comfortable with this regarding the displayed URL. But what
about the refresh
Thanks for the input Scott. I did what you initially said and it works fine.
Basically, the "Administrator" of this application will choose the locale he
wants to use before "Adding new data".
Picture an Admin app where Shipping carriers and services have to be entered
into the system for each
Another approach that's worth considering is the
portlet concept in JetSpeed
(http://jakarta.apache.org/jetspeed). The added
advanatge is it allows the user to customise the
layout themselves (a cheap form of personalisation).
It certainly won't be added to 1.0 at this point.
For 1.1, I'm
I made the struts-example struts-documentation demo
apps work by doing the following 2 steps:
1. For cast exception added this section to web.xml:
context-param
param-nameweblogic.jsp.precompile/param-name
param-valuetrue/param-value
/context-param
2. For missing resource
Well,
After much frustration the past few nights I have finally managed to get the
Struts 1.0 example application to work on WL5.1. The majority of my problems
had to do with the classpath, which I never thought could be so irritating
(Thierry Cools suggested not to put struts.jar in the
I get the same errors as well (except for the cast exception, I haven't
encountered this one... yet). All the test pages execute successfully except
for the following 3 which generate the following errors: I am not sure if
this is useful, but Craig said "try to break it" so here you go :)
This may be caused by the cast exception problem:
MessageTag code first gets tries to get
the MessageResources from
servletContext.getAttribute()
It then cast the object returned to MessageResources
this failure may be leading to your problem
so I would suggest you try including
Just did that ..
sturts.jar extracted. directory in WL classpath
war file extrected.
deleted starts.jar from lib directory
added the addtional precomple lines in web.xml
All the jsp compiles without problem.
But same error again !!..
Missing resources attribute org.apache.struts.action.MESSAGE
I was using the struts 0.5 examples I did not unjar
the
main struts.jar file, I left that in the lib
directory.
Instead I unjarred the struts-example.war file
modified the web.xml for the struts-example demo.
Weblogic5.1 doesn't seem able to read ResourceBundles
from a *.war file.
I
Harit,
2) Do not unjar-the-war, or struts.jar :)
1) Do not put struts.jar in the weblogic classpath... Here is my output from
wlconfig:
WebLogic startup settings are presently:
CLASSPATH Prefix
c:\weblogic\lib\weblogic510sp8boot.jar;c:\java\xerces-1_2_3\tools\xerces.jar
CLASSPATH
43 matches
Mail list logo