Well, original poster asked the question for some reason. Who knows, maybe
he has to give a presentation of Struts? I wouldn't like to embarrass myself
by speaking of patterns that do not exist. Have a look at some random books
on the subject, I'll bet they all talk about Model 1, Model 2, and M
Hi
I am in the stage of implementing logging in my struts application. I
have been reading online but have some questions unanswered.
1. Action class should be thread-safe. Therefore no static variable, I
should just use a non-static variable to hold my logger?
2. In a multi-user web application
1. thread-safe require no variable (instance or static) that a thread may consider to
be the only one to update. Read-only member (as a logger instance) can be used safely.
2. you can configure log4j to add the thread id to the log, so that a simple grep will
extract all logs for a request.
3.
Mmm... I think there is some misunderstanding in your use of Tiles.
If I understood, maybe you want to have an effect of "panel and
subpanels". If you want to do such a thing, you can use what I call as
"definitions of definitions".
If I understood (again :-P ) you want to have a main page, divided
I think it was me who pointed you down that route to destroy & recreate a
form bean to clear any data in it.
reset() is not used for this purpose - read up on what reset() does.
"servlet" is a variable of Action and is available in all methods of your
own Action classes.
Paul
> -Original
What I meant is that you can use the same action class multiple times, each
with a different path & input:
Paul
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 30, 2004 2:18 AM
> To: Struts Users Mail
hi all,
I had written the code in a.jsp like:
Accounts
Contacts
Deals
Tasks
Reports
and i included this page in another jsp file like
(offcourse with apropriate taglibs)
but the html:link tags are not rendered
y this is happening?
Thanks in advance
vinu
taglibs must be set in the included JSP when using tag : it includes JSP
result, not JSP source code as
does <%@ include %>.
Nico.
- Original Message -
From: "vineesh . kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 31, 2004 11:17 AM
Subject: problem with js
Can I use the validator 1.1.3 also with applications developed with Struts 1.1 or do I
need to upgrade my application to Struts 1.2?
Thanks
Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I have acheckbox that needs to be prechecked with the value of myBean.toEat.
I use a DynaValidatorForm, "eatable" is a property of my
DynaValidatorForm, I
tried to set: myForm.set("eatable","true"); before forwarding to the jsp
page,
but without success.
Any ideas ?
Wolfgang
---
I have googled and searched the mailing list, but couldn't find an
answer to this.
I have a DynaValidatorForm containing a collection of objects
presented using the logic:iterate tag in the JSP. The validation of
the objects in the collection is done in the validation.xml file using
something lik
Hello folks,
I just want to know the list of patterns that we are
using while implementing struts with tiles framework.
I have just started working with the struts framework
hence correct me if I am going wrong somewhere..
1. Front Controller - With ActionServlet and
struts-config.xml
2. Command
I haven't been following this thread too closely but
I know its been some what long so if this solution has
already been proposed, I apologize in advance.
We use SecurityFilter and an additional filter which
checks for the Principal in the request. If the Principal exists,
then we can be assured
There are three .jar files in the
C:\jakarta-struts-1.1\contrib\struts-el\lib directory
that are not in the C:\jakarta-struts-1.1\lib
directory. Those three files are jstl.jar,
standard.jar, and struts-el.jar.
Do we also copy those three files to the
C:\TOMCAT\webapps\AppName\WEB-INF\lib director
These files are need if you wish to use JSP EL in a JSP 1.2 container. If
you use a JSP 2 container then EL is supported for the standard struts tags
(by the container rather than the tags themselves). See
http://struts.apache.org/faqs/struts-el.html for more details.
Paul
> -Original Messa
You have to use the html:messages tag in a loop to generate the property
values in a loop.
Here's an example --
id="orders" indexId="ndx">
Hi,
Try declaring eatable in your form-bean declaration as
java.lang.Boolean and in the action before your edit page go
myForm.set("eatable", new Boolean(true))
-Yves-
On Tue, 31 Aug 2004 12:25:18 +0200, Wolfgang Woger
<[EMAIL PROTECTED]> wrote:
> Hi,
> I have acheckbox that needs to be precheck
Hi,
I have a form which must be sent to an external site for payment
processing. But first I want to run it through my own action to
insert the values in the database, and then forward to the 3rd party
URL for payment.
If I submit to the 3rd party directly from a JSP using an html form
(ass oppos
Hi,
There's a long thread about that just yesterday. Check the messages history.
-Yves-
On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Caroline Jen
<[EMAIL PROTECTED]> wrote:
> There are three .jar files in the
> C:\jakarta-struts-1.1\contrib\struts-el\lib directory
> that are not in the C:\jakarta-s
Hi Kenneth, Everyone.
Since we're on the subject, using the example being discussed, towards
the end of the chain we call findRecords.do which takes us to
foundRecords.jsp.
All well and good.
I'm having trouble understanding how to get database output from the
model to the view layer?
How is th
Geia sou re Keladi,
Chris Keladis wrote:
Hi Kenneth, Everyone.
<>Since we're on the subject, using the example being discussed, towards
the end of the chain we call findRecords.do which takes us to
foundRecords.jsp. [...] I'm having trouble understanding how to get
database output from the
model t
You are only going to be able to redirect to an external URL. However,
when you redirect its a new request so the form data is lost. I would
use the Jakarta Commons HttpClient to do the posting.
Bill Siggelkow
Richard Aukland wrote:
Hi,
I have a form which must be sent to an external site for pa
Chris -- Struts knows nothing of the model -- the subject you need to
learn is Java database programming. There are many different tutorials
on this -- a good one can be found at
http://java.sun.com/docs/books/tutorial/jdbc/.
Chris Keladis wrote:
Hi Kenneth, Everyone.
Since we're on the subject
If you want to follow common java 'patterns' then try to find some info
about data access objects (DAOs), data transfer objects (DTOs or TOs), and
view objects (VOs). That should point you in the right direction.
Basically, they are javabeans!
Daniel.
> -Original Message-
> From: news [m
How do I check the message history for yesterday's
message?
--- Yves Sy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> There's a long thread about that just yesterday.
> Check the messages history.
>
> -Yves-
>
> On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Caroline
> Jen
> <[EMAIL PROTECTED]> wrote:
> > Th
What am I missing? I got the following error
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter
What should I do?
___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
--
NoClassDefFoundError - this means the JVM cannot find the class in
question.
You need to make this class available to the JVM by adding the
commons-beanutils JAR to the WEB-INF/lib directory.
Rob
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: 31 August 2004 14:01
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external site where it is needed. So
redirect or forward will not help.
Try splitting up this work-flow into two steps:
1. in the first one you write the action class and save the stuff int
Worked well. Thanks.
Used html:errors instead of the message for brevity. It would have
been nice if html:errors could have been set with indexed="true".
Would have prevented the scriplet and been more consistent.
Regards
Milind
--
Hi Everyone,
Struts 1.2.2 is up and available.
http://struts.apache.org/acquiring.html
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
what is your directory structure ??? Are you giving
the correct relative path for the input parameter
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Saurabh Bhatla
> [mailto:[EMAIL PROTECTED]
> > Sent: Monday, August 30, 2004 2:52 PM
> > To: Struts
instead of the scriptlet, I think you could use html-el and do the
following:
The el notation forces the ndx to evaluate
From: Bill Siggelkow <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: html:errors for indexed properties
Date:
The Apache Struts team is extremely proud to announce the availability of
Struts 1.2.2. This release represents the first "official" release
available for General Availability since Struts 1.1.
You can find all of the features, enhancements, and bug fixes in the release
notes listed below. I wou
Will the Struts 1.2.2 jar be available Apache's Maven Repository?
http://www.apache.org/dist/java-repository/struts/jars/
BTW: Thank you for the release!
Paul Spencer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Chris,
In our app we're building a model object Assignment from a dao object
AssignmentDAO. We then fill the form AssignmentForm from the model object.
All this is controlled from the AssignmentAction.
I think I've recently read that in general a "lower" layer should not be
aware of a "highe
At 10:33 AM -0400 8/31/04, Paul Spencer wrote:
Will the Struts 1.2.2 jar be available Apache's Maven Repository?
http://www.apache.org/dist/java-repository/struts/jars/
The preferred repository would continue to be iBiblio.
James, do you want me to do the deployment to the Maven mirror directory
I've already started on it..should be done in a minute.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tues
Many thanks to Bill and Partha for your suggestions.
I used the javascript (2nd) technique because I am currently more
familiar with it. It is now working. :)
Cheers
Richard
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external sit
It's generally best practice not to tie layers in together.
Assume that you have your DAOs that are aware of ActionForm (or subclasses),
in constructors, or methods. Now say you want to use the same DAOs in a
standalone app. In order to do that, you are going to have to include the
struts jar, a
I'm currently trying to do something similar. Therefore I would like to
share my thoughts:
Relying on javascript for business critical functions (and if payment is
not a business critical function, what is?) is IMO NEVER a good idea,
because it is not fail-proof at all.
What only if the user ha
Someone else taking this exam already got the answers on this list.
///8-) Check the archives, unless you want to do it yourself. LOL
nitin dubey wrote:
Hello folks,
I just want to know the list of patterns that we are
using while implementing struts with tiles framework.
I have just started
Whenever i come accross this, i put a 'confirmation' screen, with all the
details repeated, and a 'pay now' button that submits the (hidden) form to
the external site.
Daniel.
> -Original Message-
> From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 16:17
> To: St
> -Original Message-
> From: PC Leung [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 30, 2004 8:58 PM
> To: [EMAIL PROTECTED]
> Subject: Is Tiles the right way to go?
>
>
> I am trying to learn Tiles.
> Is Tiles the right way to go with Struts?
> Should I study other tool before stick
I'm getting this error migrating to 1.2.2 from 1.1 in Websphere 5.0.x which
is running in the 1.3 JVM.
[8/31/04 11:42:19:686 EDT] 5d4abeff ValidatorPlug I
org.apache.struts.validator.ValidatorPlugIn Loading validation rules file
from '/WEB-INF/validation.xml'
[8/31/04 11:42:20:139 EDT] 5d4
I raised exactly the same question on this list a week or two ago. I'm
glad to see someone else attempting the same thing.
Two workarounds came out of that discussion--structure your tiles defs
differently, or futz with and . The
first approach doesn't scale well, because for every page that
> -Original Message-
> From: Bill Schneider [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 8:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: including one layout .jsp inside another?
>
>
> I raised exactly the same question on this list a week or two
> ago. I'm
> glad to see
Hi,
I have tried most of the code in the replies and, alas, fear my brain is too
small to get any working.
I am persevering with Rick Reumann's method (because I liked the Struttin'
with Struts stuff!) but I don't get a session parameter in my next page
after the link is followed (I have changed
Craig, All,
I would like to discuss the issue I have entered in Bugzilla (issue #30511)
with title Struts-faces form input with rendered attribute set that you
put invalid a while ago.
I am first going to rewrite the issue and I will try to explain where I do
not find things logical.
First o
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 9:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Identifying the 'clicked' line when iterating over
> collection
>
>
> Hi,
>
> I have tried most of the code in the replies and, alas, fear
>
I would do somthing like the following:
${contact.name}
${contact.number}
Modify
The action modifyContact should load the contact with the specified id, "ID"
is available by
String ID = request.getParameter("ID");
The action the
Do you want to supply a patch?!
|-+>
| | Milind Rao |
| | <[EMAIL PROTECTED]|
| | m> |
| ||
| | 08/31/2004 09:40 |
| |
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an processList(ArrayList) which contains 4 objects of type
ProcessBO.
ProcessBO has 3 attributes;
int ID
String name
ArrayList tasklist
The tasklist
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: Iterating over collection ...
>
>
> Hello there
>
> I am having some issue getting the correctly output while
> iterating over my collec
We have Tomcat 5.0.16 and were incorrectly placing common jars (such as
JDBC drivers) in /common/lib.
Now we just moved them to /shared/lib (for truly common stuff) and
WEB-INF/lib, but now all applications complain giving a
java.lang.ClassNotFoundException, just like if things weren't in
Tomcat'
Don't you want a nested iteration of the second ArrayList, similar to
the iteration you already have?
Erik
[EMAIL PROTECTED] wrote:
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an processList(ArrayLi
You need to nest another iterate'er in order to iterate through the inner
list for each object:
Daniel.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 17:48
> To: [EMAIL PROTECTED]
> Subject: Iterating over c
I have been using 5.0.27, putting my JDBC drivers in common/lib, and my
struts jars in WEB-INF/lib of each application, and haven't had any
problems. Why do you say "incorrectly"?
Erik
Ivan Vasquez wrote:
We have Tomcat 5.0.16 and were incorrectly placing common jars (such as
JDBC drivers) in /c
andy wix wrote:
session). To get the ID would be something, but it would save me
needing an action class at all if I could get the contact object
representing the 'clicked' row into the session or request scope.
To do what you want above would take a slightly different approach. Say
you had you
Thanks Daniel,
this worked.
I have tried nesting a iterate tag earlier today but I wasn't setting it correct.
Thanks for the answer.
Regards
Karim
PS: Thanks to the other replies too.
"Daniel Perry" <[EMAIL PROTECTED]> wrote:
>You need to nest another iterate'er in order to iterate through
Sure, in common/lib it works well. But from Tomcat docs:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
The following rules cover about 95% of the decisions that application
developers and deployers must make about where to place class and
resource files to make them avail
Thanks Jim,
the reply Daniel Perry posted worked/ I have done it your way earlier nad it did not
produce the correct output.
Have look (if you care at Daniel Perry's reply.
It did produce the correct outpu.
Thanks anyway
Karim
"Jim Barrows" <[EMAIL PROTECTED]> wrote:
>
>
>> -Original Mes
What steps did you take when you upgraded? What library and files did you
replace?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 31, 200
The exception is not clear enough, but it contains most info you need to
know:
Some code in Struts 1.2.2 [probably
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:169)]
is using Boolean.valueOf(boolean), which was added in Java 1.4. It is pretty
simple to fix that one if that
Rick Reumann wrote:
To do what you want above would take a slightly different approach. Say
you had your ArrayList of Contacts in Session scope and after the user
clicked on a link you wanted to edit one of those objects. In this case
you wouldn't use the "ID" to look him up you'd have to use th
Let's get this into bugzilla so we can get it fixed quickly.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Michael Nascimento Santos" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]
Good Afternoon,
An instance of a my Action class only has its' constructor firing when the
ActionServlet first loads it, when the execute(...) function should be
invoked at some point afterward. I do not have any need for a ActionForm
with this specific request; only that the request must p
> -Original Message-
> From: klute [mailto:[EMAIL PROTECTED]
==///==
> have not done it myself but hopefully this thread is
> of some help..
[ Now, I remember ... ]
Klute
Weren't you the tearful little girl who found herself left alone
after all the settlers had been murdered on the
I would propose this as the fix
[EMAIL PROTECTED] ~/cvs/jakarta-struts
$ cvs diff -u src/share/org/apache/struts/validator/ValidatorPlugIn.java
Index: src/share/org/apache/struts/validator/ValidatorPlugIn.java
===
RCS file:
/home/
This is the only difference from 1.25 to 1.26 (file version)
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java?r1=1.25&r2=1.26&diff_format=h
BTW, the log for 1.26 says:
* Use Boolean.valueOf() instead of creating new instances.
That is
> -Original Message-
> From: Sheehan, Andrew [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: Initial invocation (HTTP GET) Instantiates an
> Action, but does
> not invoke execute(...)
>
>
> Good Afternoon,
>
>
>
>
>
> An ins
A big thanks to you James for your leadership and all involved your labor
:-D Shed.
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 10:19 AM
> To: Struts Users Mailing List
> Cc: Struts Developers List
> Subject: [ANN] Struts 1.2.2 rel
Ok, so without looking, my proposed fix is basically putting it back to the
way it wasnow that's sad.
Martin, what should we do with this?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Michael Nasc
I was gonna post this suggestion anyway, but here's something that will work
with JDK 1.3 and is in the spirit of avoiding the creation of Boolean
instances. Instead of:
new Boolean(this.stopOnFirstError)
How about something like:
(this.stopOnFirstError ? Boolean.TRUE : Boolean.FALSE)
Or create
This is from the JDBC DataSource howto:
DBCP uses the Jakarta-Commons Database Connection Pool. It relies on
number of Jakarta-Commons componenets:
* Jakarta-Commons DBCP 1.0
* Jakarta-Commons Collections 2.0
* Jakarta-Commons Pool 1.0
These jar files along with your the jar file for you
That works for me. I'll make the change unless anyone disagrees.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Kris Schneider" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Se
On 31 Aug 2004 15:43:29 +0800, Sebastian Ho
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I am in the stage of implementing logging in my struts application. I
> have been reading online but have some questions unanswered.
>
> 1. Action class should be thread-safe. Therefore no static variable, I
> should
Also, since you appear to be trying to follow the documenation, have you
ever gotten a Context XML file placed within the META-INF directory of
your web app to work? I can't get this to work (I have gotten them to
work when placed in the conf directory -- though I had to learn the hard
way to t
Can you provide some more detail on the problems you're running into with using
WEB-INF? I've got a simple one lying around here somewhere...
WEB-INF/context.xml:
Seems to work fine with TC 5...
Quoting Erik Weber <[EMAIL PROTECTED]>:
> Also, since you appear to
Kris, this is from context.html in the Tomcat 5 docs:*
Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
recommended to place elements directly in the server.xml
file.* Instead, put them in the META-INF/context.xml directory of your
WAR file or the conf directory as described above.
Thanks for your answer, that explains it all.
Yes, we were trying to clean server.xml and to avoid server restarts
every time something changes (e.g. db connection pool info). Context was
directly cut and pasted into the local META-INF/context.xml.
But Tomcat gets it only when you create a .war
Hi Craig
> > I am trying to learn Tiles.
> > Is Tiles the right way to go with Struts?
> > Should I study other tool before sticking with Tiles?
...
> It is impossible to give you any useful help on this question
> without understanding what you are trying to accomplish with (or
> without) Tiles,
Hang on, my bad - it should be /META-INF/context.xml. So, rename Foo.xml to be
context.xml and place it in *META-INF*.
Quoting Erik Weber <[EMAIL PROTECTED]>:
> Kris, this is from context.html in the Tomcat 5 docs:*
>
> Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
> recommended
I have tried this repeatedly. I am using the same Foo.xml file that does
work when placed in conf/Catalina/localhost/. I have tried with and
without the path and docBase attributes to the Context element. I have
renamed the file to context.xml and it is in META-INF in my war file. I
have also t
Erik, here goes my context.xml, Tomcat renames it the same as the app's
directory. I assume your Tomcat has autodeploy enabled.
factory
org.apache.commons.dbcp.BasicDataSourceFactory
driverClassName
Is it possible to use dynaforms to setup file upload? If so, any tips?
Thanks in advance.
R
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just for sanity sake, I reconfigured Eclipse to build with 1.3.1 and found
one more place with 1.3.1 incompatibilities. Same issue with Boolean, but
in a different spot (Tiles).
I have fixed that also.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM
Hello Guys
i notice this error that when the session expirates, if an action that uses a
beanform is requested, and validate is true, the framework normally tries to
execute the validate method of the bean, but you know the beanform just doesnt
exist anymore, but the request can not be treated for
Hello Guys
i notice this error that when the session expirates, if an action that uses a
beanform is requested, and validate is true, the framework normally tries to
execute the validate method of the bean, but you know the beanform just doesnt
exist anymore, but the request can not be treated for
> How can i solve this problem?
You can have some way of catching this so the user won't see this error. I
use a meta tag that makes the page redirect to /logon.do after the
(configurable) timeout has expired (this happens client side and no
javascript required).
--
James Mitchell
Software Engi
Here is mine, which does not work:
factory
org.apache.commons.dbcp.BasicDataSourceFactory
maxActive
100
maxIdle
30
maxWait
1
[eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.war
. . .
META-INF/context.xml
META-INF/MANIFEST.MF
. . .
Right?
Erik
Ivan Vasquez wrote:
Erik, here goes my context.xml, Tomcat renames it the same as the app's
directory. I assume your Tomcat has autodeploy enabled.
Thanks robert. Greatly appreciated.
Now has anyone tried to put login form on every page of
site if user hasn't login with STRUTS? Say, put a small login
form on left hand column menu/navigational bar.
Is there anything I need to look out for?
- Original Message -
From: "Robert Taylor
Yes. And I just deployed a war with my config to another server to
double-check.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re: Classloading problem
[eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.
You are using Tomcat 5.0.27?
Erik
Ivan Vasquez wrote:
Yes. And I just deployed a war with my config to another server to
double-check.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 5:17 PM
To: Struts Users Mailing List
Subject: Re: Classloadi
Perhaps you could override one of the RequestProcessor methods, and
check for the existence of a known Session attribute, before Struts
tries to work with the nonexistent form?
Erik
Ricardo Andres Quintero wrote:
Hello Guys
i notice this error that when the session expirates, if an action that u
Also, the name under which it gets to conf/Catalina/localhost is
.xml
Inside, path and docBase are untouched. No war extensions anywhere.
BTW, these are tomcat 5.0.16, just in case.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 5:17 PM
To:
It sounds good but i dont know how to do it!
can u explain to me how to?
On Tue, 31 Aug 2004 17:30:44 -0400, Erik Weber wrote
> Perhaps you could override one of the RequestProcessor methods, and
> check for the existence of a known Session attribute, before Struts
> tries to work with the nonex
Seemingly (I haven't done this but actually I need to and probably will
try it):
1) extend org.apache.struts.action.RequestProcessor
2) override either the processPreprocess method, or the processMapping
method, either of which is invoked *before* processActionForm
3) in processPreprocess, issue
Ivan, as you can see I've tried everything I can think of. Perhaps when
I have more time I will mess around with it some more, but it's easier
just to use JBoss.
I appreciate your help (and Kris's).
Erik
Ivan Vasquez wrote:
Also, the name under which it gets to conf/Catalina/localhost is
.xml
In
Thank you i will try it later!
On Tue, 31 Aug 2004 17:45:29 -0400, Erik Weber wrote
> Seemingly (I haven't done this but actually I need to and probably
> will try it):
>
> 1) extend org.apache.struts.action.RequestProcessor
> 2) override either the processPreprocess method, or the
> processMa
1 - 100 of 119 matches
Mail list logo