can't remember what version of the Servlet spec is in Tomcat 3.3, but certainly i've
used OSCache with Tomcat/Struts (1.0) - OSCache needs servlet spec 2.3 if memory
serves.
-Original Message-
From: Steinar Bang [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 21:34
To: [EMAIL PROTECTED]
JV Maybe to prevent losing your JSP files when you let Ant clean up a previous build?
Can anyone think of a good reason why I would want to maintain all of my
JSP files in a JSP-SRC directory and have ant move them during the
compile to a real JSP dir?
--
To unsubscribe, e-mail:
Hi,
I search documentation and examples about transaction token
mechanism. I know transaction mechanism with database but I don't
know transaction token, can somebody explain why is it important
to use this mechanism in the web application ?
Hi.
The struts transaction token prevents that users klick the back-button in
the browser. Some Applications , e.g. workflow driven apps, can not deal
with back-buttons, because it may be, that a database transaction is
fullfilled, and there is no chance for a rollback.
The method
Hi All,
I believe this should be possible, but can't find a way to make it work...
I have a List of Strings within a logic:iterate block and want to edit them
using html:text. This tag however requires a property attribute so the
RequestUtils.populate method knows which setter to call when
I know the link http://husted.com/struts/ it is very good, but
I am some difficulties to access information about Struts forum,
and it is painful to see this message through mails like
'[EMAIL PROTECTED]'.
I learn a lot of thinks in the Struts API but I don't think that
it is the best solution
Thanks for your information.
I don't remember that the RequestPorcessor must be defined in
the struts-config file.
I read the servlet 2.3 specifications and more precisely sections
which deal with Lifecycle events.
But this section doesn't explain if the container instantiates the
struts
Is that from experience? :)
-Original Message-
From: Jan.Vervecken [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 4:27 AM
To: struts-user
Subject: RE: Why would I want to maintain my JSP's in a JSP-SRC
directory?
JV Maybe to prevent losing your JSP files when you let Ant
I've been cooking a document about the collected seemingly best
practices of doing this...
I tend to not like to bundle multiple apps in one container and like to
keep them split up. Why? I'm not sure...
-Original Message-
From: DCancro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Jon.Ridgway writes:
I have a List of Strings within a logic:iterate block and want to edit them
using html:text. This tag however requires a property attribute so the
RequestUtils.populate method knows which setter to call when the form is
submitted. As a String doesn't have a getter or
Hey everyone,
I have a question that may have a very simple answer. I have a small form
where the user enters an entry number. There are two submit buttons, one
for a 'Delete' and the other to 'Edit'. I want to send a different
parameter to the action depending on which button is clicked. It
Hi ,
You have to do this via Javascript!
Put a hidden field in your form and set the value to the action
that should be performed.
The javascript will be called when you press a button. They are no
longer of type submit. The javascript set the right value to the hidden
field and then submits the
Hi Richard,
Yes I had thought of something similar. Unfortunately the form uses a value
object one of the properties of which is the list of Strings. As the value
object is used throughout the system, I'm not at liberty to change it.
Many thanks for the suggestion however; anyone else have any
Hi All,
I am facing this error when i startup tomcat. I have the version 4.0.2.
Tough my application works fine but I see this error. Can anyone figure out
whats going wrong?
Thanks in advance
Susmita
Parse Error at line 410 column 14: The content of element type action must
match
I read that DynaActionForm is better than ActionForm because
- this mechanism doesn't require to create a Java class for each
type of from bean;
- if a HTML field changed the DynaActionForm doesn't need to be
recompiled
but how does it work ?
- with
I've put
%
boolean newSess = session.isNew() ;
if (newSess) {out.print(new session);}
else {out.print(session not new / + session.getId());}
%
in a .jsp which is reached by forward from the index.jsp.
I expected to find a new session, instead I find a session with
At 9:00 AM -0400 2002/07/03, Kamholz, Keith (corp-staff) USX wrote:
Hey everyone,
I have a question that may have a very simple answer. I have a small form
where the user enters an entry number. There are two submit buttons, one
for a 'Delete' and the other to 'Edit'. I want to send a
I ran the simpliest sample on an action, and got the next error.
java.lang.LinkageError: Class org/xml/sax/HandlerBase violates loader
constraints
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
I have included a code snippet that provides an alternative solution:
!-- other html, jsp code ... --
htmltag:form method=POST
name=productListForm
type=com.dynegy.gui.ProductListBean
scope=session
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg34928.html
From: Les Dunaway [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Who's creating the session?
Date: 03 Jul 2002 09:42:59 -0400
I've put
%
boolean newSess
Cedric,
The problem with the Tiles DTD missing is either back, or I screwed
something up yesterday when it looked like it was fixed. Either way, I am
getting the following error when I try to start Tomcat:
Jul 3, 2002 9:39:49 AM org.apache.commons.digester.Digester fatalError
SEVERE: Parse
Sandra,
One source of information on the subject is Chapter 7
from my Struts book that I'm currently writing. It might
not be able to answer all of your questions, but it
should get you started in the right direction on it.
You can download the draft chapter from here:
Even if you are not using CVS, there can be several other benefits to
doing this.
Personally, I keep my JSPs in a directory off the root, rather than
under WEB-INF. So switching between editing these and the Java source
can mean bouncing up and down several directory levels. If you keep the
I am using xerces-1_4_4\xerces.jar (first thing in my CLASSPATH) and steel
getting this error
-
Oren Gross Java(TM) Developer
Mercury Interactive APM TAC RD
+972-3-5399407 [EMAIL PROTECTED]
-Original Message-
From: Deryl
Hello,
I have extened the Logger class to provide a custom logging mechanism.
(com.xxx.yyy.MyLogger) When I try to use this logger with a class extended
from ValidationForm (com.xxx.yyy.MyValidationForm), it wont work. As the
ValidationForm creates a logger and assignes the default logger
Maybe when you have tried yesterday you had a connection to Jakarta server. So, the
dtd has been found on jakarta site. The Struts modified version should be available in
the nightly build now. Have you try the version stamped 20020703 ?
Cedric
Jerry Jalenak wrote:
Cedric
Best Regards,
J. Jason Zhou
Business Intelligence Platform Division (BIP), R D,
SAS Institute, 100 SAS Campus Dr.
Cary, North Carolina 27513-8617
Voice: 919-531-0568(O)
Email: [EMAIL PROTECTED]
I am out the rest of the week and I was saving this one for Friday so
here it is today:
First there was DynaBeans
then DynaForms
But what about:
DYNAMEN - Ultra silly redubbing of a Japanese monster/superhero show.
Ran on night flight during the eighties then showed up on syndicated TV
for
I'd like to get an array of all keys from the MessageResources object. The
API states MessageResources only inherits from object, so needless to say
there were no methods there, and I can't find any on the MessageResources
object itself. Am I correct in assuming this is not possible?
Carl
--
We're using Sitraka Server Views (the same product you mention I think,
they've changed the name a few times since introducing it), works well but
kinda expensive - we've also used Espress Chart from Quadbase successfully
- http://www.espresschart.com/.
Brad
I recently updated to struts 1.1b and I've successfully updated my
larger application at the root. Curious, I deployed the validator.war
and for some reason, the validator example app reports at its index.jsp:
ERROR: Validator resources not loaded -- check Commons Logging logs for
error
I guess that I can also use Torque from Turbine (Apache), for the same. Does
any of you have a experience with it? It seems that can generate the HTML
front end pages.
Maybe I can mix it up with struts also
Adolfo.
From: Eyassu, Daniel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing
You might have to put copy of your list of Strings as an ArrayList of
StringBean Objects on a session and iterate through them. Later collect the
changes inside your Action class and put them back into your value object.
- Original Message -
From: Jon.Ridgway [EMAIL PROTECTED]
To:
MessageResources is an abstract base class. Take a
look at PropertyMessageResources for more information
on the concrete subclass that your implementation is
likely using.
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- Schmidt, Carl [EMAIL PROTECTED]
wrote:
I'd like to get
Forgot to mention I'm running struts 1.0.1 and cannot upgrade at this time,
just in case it matters.
Carl
-Original Message-
From: Schmidt, Carl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 11:15 AM
To: Struts (E-mail)
Subject: Retrieving keys from the MessageResources
this was running around the tomcat users list for a while
good stuff.
clay
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 8:20 AM
To: [EMAIL PROTECTED]
Subject:Need help with DynaStuff... (Humor)
I am out the
Torque auto generates source code based on a set of of XML descriptions of
your database schema, which you can then programmatically use to carry out
CRUD operations. Turbine (which includes Torque) does not create any HTML
for you; it is just an application framework. If you find the
Cedric,
I downloaded the 20020703 build and this morning and got the same error. I
started with a clean webapp, copied over the .jar and .tld files, and
started Tomcat. These message came up almost immediately.
Jerry
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED
At 05:21 AM 7/3/2002, you wrote:
Subject: RE: JBuilder and Struts
Date: Tue, 2 Jul 2002 16:08:58 -0700
MIME-Version: 1.0
Content-Type: text/plain;
charset=iso-8859-1
Message-ID: [EMAIL PROTECTED]
From: Dave Hodson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
click
Yes, I looked at that as well. Meantime, I discovered an alternative
solution to my problem that fit the design a little better. Thank you for
the reply though.
Carl
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 11:24 AM
To: Struts
UPDATED FROM PREVIOUS POST:
I recently updated to struts 1.1b and I've successfully updated my
larger application at the root. Curious, I deployed the validator.war
and for some reason, the validator example app reports at its index.jsp:
ERROR: Validator resources not loaded -- check Commons
I downloaded the nightly build for July 2 and my Dynamic Form validation
stopped working. The plug-in appears to load but never picks up the
validation.xml files. I can even rename the validation.xml definition to a
file that doesn't exist and it doesn't seem to care. I move back to the
last
Uhmm, thanks Daniel for the tips. I have been browsing Torque, (which
actually can run decoupled from Turbine), so I could invoke it from Struts
action e.g.
However, I have just to discover a bad new. Torque generates 4 .java files
for each table in the DB, so I need rebuild with ant, for
I think the error mean :
Your struts.jar isn't in project library, JBuilder
cannot found the
org.apache.struts.taglib.html.MessagesTei is the
project lib.
-Emmanuel
--- James Turner [EMAIL PROTECTED] a écrit :
At 05:21 AM 7/3/2002, you wrote:
Subject: RE: JBuilder and Struts
Date: Tue,
Is there a good way to achive a html:submit using a href rather than a
button? I checked out the attributes for html:link..but could not find any?
-h
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Getting the latest nightly commons-logging.jar works great if you are deploying one
war file... but we have many war files deploying and this only fixes the first war
file that is deployed. All the other deployed wars throw the following exception:
java.lang.NoClassDefFoundError:
What Jar is this Class from?
org.apache.regexp.RESyntaxException
-jake
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
At 11:17 AM -0500 2002/07/03, Hemanth Setty wrote:
Is there a good way to achive a html:submit using a href rather than a
button? I checked out the attributes for html:link..but could not find any?
You'd have to have an onclick handler which used JavaScript to submit
the form. It's not
I posted a message on a forum about HttpSession and Logoff.
I asked why doesn't it not allow to clear simultaneously all session
attributes?, in the LoggoffAction of the struts example
we find the following lines:
Is's in the jakarta-regexp-1.2.jar from Jakarta Regexp
http://jakarta.apache.org/regexp/index.html
-Emmanuel
--- Jacob Hookom [EMAIL PROTECTED] a écrit : What
Jar is this Class from?
org.apache.regexp.RESyntaxException
-jake
---
Outgoing mail is certified Virus Free.
Checked by
At 11:44 AM -0500 2002/07/03, Jacob Hookom wrote:
What Jar is this Class from?
org.apache.regexp.RESyntaxException
jakarta-regexp(-version).jar
Validator used to use it, although the latest versions use jakarta-oro instead.
as a general rule, if it begins with org.apache.*, then you can find
On Tue, Jul 02, 2002 at 04:01:13PM -0700, Max Cooper wrote:
Put something like this in your web.xml file:
welcome-file-list
welcome-file/MyAction.do/welcome-file
/welcome-file-list
I remember having problems with this (at least making index.do a
welcome file). I think it is
Jacob:
Try downloading the latest build, it has many bugs fixed.
I believe that in beta 1.1 the contrib validator example still
used the regexpr.jar(org.apache.regexp.RESyntaxException
) but the validator used oro-2.0.6.jar
both are from Jakrata-Apache top level. And I don't believe
the
Thanks a lot Randolph, Joe, and Manfred. That'll help out a lot.
I guess there really is more than one way to skin a cat...
~ Keith
http://www.buffalo.edu/~kkamholz
-Original Message-
From: Randolph Watson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:37 AM
To: Struts
On Wed, 3 Jul 2002 [EMAIL PROTECTED] wrote:
Date: Wed, 3 Jul 2002 08:45:33 -0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Why would I want to maintain my JSP's in a JSP-SRC directory?
I've been cooking a document
On Wed, 3 Jul 2002, Martin Samm wrote:
Date: Wed, 3 Jul 2002 08:26:34 +0100
From: Martin Samm [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Can osCache work with Struts applications?
can't remember
On Wed, 3 Jul 2002, Hemanth Setty wrote:
Date: Wed, 3 Jul 2002 10:02:32 -0500
From: Hemanth Setty [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cannot use an extended logger with the ValidationForm
Hello,
I have extened the
AM
To: 'Struts Users Mailing List'
Subject: RE: Tiles DTD Missing (Again!)
Cedric,
I downloaded the 20020703 build and this morning and got the same error. I
started with a clean webapp, copied over the .jar and .tld files, and
started Tomcat. These message came up almost immediately.
Jerry
: RE: Tiles DTD Missing (Again!)
Cedric,
I downloaded the 20020703 build and this morning and
got the same error. I
started with a clean webapp, copied over the .jar
and .tld files, and
started Tomcat. These message came up almost
immediately.
Jerry
-Original Message
This sounds good. I like the idea of a conf directory...
What is your opinion of keeping the configuration with the different
forms, etc...
For example, right now I have an application.resources file in each
directory that is concatinated by ant.
I have done the same thing also with tiles
Hi,
I have just moved my application from my embeded tomcat/jboss to my freshly
installed binary tomcat4.0.4 (without jboss). The problem is that my
application won´t work anymore! I´m getting the error displayed below:
= ERROR ===
2002-07-03 20:56:20
Hi All,
I want to implement a schedular in my application. Basically I want to
be able to specifiy events in the application and have it perform
predetermined tasks (such as e-mail a user). I can do all of that, but
I am not sure how to handle the... is it time to do something?
I can
Yes, your struts-config.xml is hosed.
Can you post it (without sensitive information)?
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta
-Original Message-
From: Susmita Pati [mailto:[EMAIL
has anyone tried to implement the tiles dynamic portal example with a real
db that persists the preference to a database? If so can you give me an
overview of what is involved?
-john
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
I've read the docs, but it just gives me some intro on the concepts behind
localization, resource bundles, etc. I also read the source, but got a
little lost. Can someone please direct me to the .java file within struts
where the application resources. props file is read in to the resource
How ready to use do people consider the validation portion of Struts right
now? I'm basing this question on having spent several hours trying to get
it installed, and discovering that:
1) It required commons-validator
2) commons-validator has never been made available as a binary
3) Building
Well maybe you should go with Struts 1.1b We've been using this for a while now
and haven't run into any major issues. I think you're complicating your
problem by trying to roll your own from the nightly which is in transition on
several fronts. IMHO if you go with 1.1b and you'll be a much
Subject: [Off Topic] Sending HTML e-mail via servlet
From: Matt Raible [EMAIL PROTECTED]
===
Does any have any links, examples, or tips for sending an HTML-based message
in a servlet?
Thanks,
Matt
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Take a look at...
http://sourceforge.net/project/showfiles.php?group_id=23781
Quartz is java based open source scheduling it has good ddocumentation , i
never used it though.
So when you have a working example or two please post it back to the list
:-), i would be intersted in using it for my
I've used it in 1.1b quite a bit and find it very stable and have used it
in more than just trivial examples. I also know or several large projects
using it, both within Struts and in the business components. No issues. I
would recommend using it.
For what that's worth,
Chuck
At 06:30 PM
If you are in an Action that specified that form with the name
attribute in the Struts-config.xml, you can use this sample:
request.getSession().removeAttribute(mapping.getName());
If you have a BaseAction class (always a good idea), you could
-Original Message-
From: [EMAIL PROTECTED]
---
The Display Tag library ( http://edhill.its.uiowa.edu/display/ )
This was the best one I could find for it, although the documentation is
somewhat lacking and required some source diving to learn
Hi,
If you use resin you can use the run-at element in your web.xml file.
Only problem is it's vendor specific :(
http://www.caucho.com/resin/ref/app-config.xtp#run-at
Duke
On Thu, 2002-07-04 at 07:19, [EMAIL PROTECTED] wrote:
Hi All,
I want to implement a schedular in my
At this point, I think your best bet is Craig's original message on this
topic:
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg04354.html
--
Martin Cooper
-Original Message-
From: Christophe Thiébaud [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 8:28 AM
Hi,
We are trying to build a web application which posts the data obtained from
the user form to another website. Using just simple HTML we were able to do
so with the URL of the website's ( a certain application running there --
situation similar to contacting the payment gateway from your
maybe this can help
http://technet.oracle.com/products/jdev/howtos/jsp/StrutsHowTo.html
-Jan
[EMAIL PROTECTED] 03-07-02 19:40
I am new having tough time in installing Struct in JDeveloper and running my
first JSP page. I would appreciate if any one can give some info or provide
a link for
Why not just unsubscribe? Then you won't hear about all the cool new stuff
we come up with, and you won't be frustrated about the stuff you can't
use... ;-}
--
Martin Cooper
-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 10:46 PM
To:
77 matches
Mail list logo