Where did you find 2.1? 2.0.3 is current according to
http://www.codestudio.com/index.shtml
- Original Message -
From: Zeltser, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 2:48 PM
Subject: RE: Can I avoid bouncing app when
Man...come on...I may be tall, but I'm a nice guy :)
-james
--- James Mitchell [EMAIL PROTECTED] wrote:
I missed the quote that was supposed to be under it.
You not using my Console? I kick you azz!!!
;)
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
And he forgot to mention next to his link to Sue Spielman's book: Technical review by
Simon P. Chappell, so it must be really good!! :-P
-Original Message-
From: James Mitchell [mailto:jmitchtx;telocity.com]
Sent: Wednesday, October 30, 2002 2:04 PM
To: Struts Users Mailing List
ApplicationConfig is now ModuleConfig (and other changes to Application???
when related to sub-appsdoh!!! I mean Modules)
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the
Take a look here:
http://sourceforge.net/projects/poolman/
Look for poolman-2.1-b1
Mark.
-Original Message-
From: Ian Hunter [mailto:ihunter;hunterweb.net]
Sent: Wednesday, October 30, 2002 3:05 PM
To: Struts Users Mailing List
Subject: Re: Can I avoid bouncing app when database goes
I'll look into this and try and incorporate it into
the next release.
-james
--- David Graham [EMAIL PROTECTED] wrote:
James,
Your eclipse install instructions would be much
simpler if you provided an
update manager site. You just supply the url and
eclipse downloads and
installs
Definitely an azz-kicker. Wasn't that the DEA azzhole's license plate in
Con Air?
Mark
-Original Message-
From: James Mitchell [mailto:jmitchtx;telocity.com]
Sent: Wednesday, October 30, 2002 3:02 PM
To: Struts Users Mailing List
Subject: RE: [ANNOUNCE] Struts Console v3.0
Here's the
[Here goes some very badly remembered French from about 20 years ago ... when I say
bad, I actually mean awful!]
Bonjour Monseur Garnier,
Merci pour votre diagram [I don't remember the word for picture, I do remember the
word for carpet, but that didn't seem appropriate here! :-].
Au revoir
Thanks!
David
From: James Holmes [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: [ANNOUNCE] Struts Console v3.0
Date: Wed, 30 Oct 2002 12:11:26 -0800 (PST)
I'll look into this and try and incorporate it into
Wow, I was just wondering this morning what happened to Mark.
Where ya been?
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)
I've tried the html:link tag and I get a 500:
10.3.5.43 - - [30/Oct/2002:12:05:42 -0800] GET
/vcsc/shipmentTracking.do?equipmentNumber=MATU334466 HTTP/1.1 500 53
This is the tag I'm using:
html:link href=/vcsc/shipmentTracking.do paramId=equipmentNumber
paramName=container
It should also be relatively painless to use a composition/delegation approach.
public class CollectionBean {
private Collection c;
public int getSize() {
return this.c.size();
}
public void setCollection(Collection c) {
this.c = c;
}
public Collection getCollection() {
Well, you don't have to upgrade to the Commons
Validator to use the new DOCTYPE. The old Validator
stuff should ignore that as it doesn't perform
validation on the config files (AFAIK).
-james
--- Dennis Muhlestein [EMAIL PROTECTED] wrote:
We've been using the struts validation package and
That's pretty much what I did except you can only set the internal
collection in the constructor. It's an elegant solution that should
probably (in some form) be included in a larger library.
David
From: Kris Schneider [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
At 12:41 PM -0800 2002/10/30, James Holmes wrote:
Well, you don't have to upgrade to the Commons
Validator to use the new DOCTYPE. The old Validator
stuff should ignore that as it doesn't perform
validation on the config files (AFAIK).
speaking of validation, James, would you consider relaxing
Yes, this is very much doable.
I would take a closer look at the getter in class B -- in particular the case, is it
getHldC().
Is it working ok for the first level? That would indicate if you are getting the
right *kind* of object.
Sri
-Original Message-
From: Gopal Mukkamala
Is it OK to mix html:form/, html:text/, with custom field tags and
use them
in the ActionForm Beans ? Has anybody done this ?
Nizar Bhamani
Senior Software Engineer
YouDecide.com Inc, a subsidiary of Ace INA Holdings Corp
[EMAIL PROTECTED]
(770) 291 7180
http://www.youdecide.com
I'm using LookupDispatchAction, which uses the 'action' request parameter to
call the appropriate method.
However, when the 'action' parameter is missing from the request, it dies as
expected:
javax.servlet.ServletException: Request[/processContact] does not contain
handler parameter named
Hello:
I am trying to make a link on my jsp to submit the form and I can't!
I tried this:
html:link href=test.config onclick=javaScript:submitForm();myLink/html:link
and this:
html:link href=test.config onclick=javaScript:submit();myLink/html:link
and this:
html:link href=test.config
Dennis Muhlestein wrote:
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in reverse order of the id. That isn't
any performance problem, but it looks a little strange to the user.
For instance, what if you wanted the options in
try document.forms[0].submit
Kurt Madel
Programmer, CSMi
(703) 823-4300 ext. 170
-Original Message-
From: IS Struts [mailto:Struts;FIRSTTRUST.COM]
Sent: Wednesday, October 30, 2002 4:25 PM
To: [EMAIL PROTECTED]
Subject: Can't make a link on my jsp to submit
Hello:
I am trying to make
The company's building at which I'm consulting was flooded by a disastrous
water main break - been finishing my basement at home for the past 2 weeks.
It doesn't look too bad, either, considering the quantity of beer it took to
complete. :-)
Mark
-Original Message-
From: James Mitchell
Hi,
I'm trying to get Tiles running with Struts, and I'm getting 404's when I
try to use tiles definitions.
I'm running Struts 1.1b2 and Tomcat.
I can run a JSP-only Tiles template just fine.
I really hope someone can help. I've checked everything I can think of and
have run out of ideas.
Details
This also seems like a good place to use a DynamicProxy. Since most all of the Java
Collections package is interfaced base, this seems like it might be an elegant
solution.
--Kevin
-Original Message-
From: David Graham [mailto:dgraham1980;hotmail.com]
Sent: Wednesday, October 30, 2002
Yes, you can use any combination of tags.
David
From: Bhamani, Nizar ATL56E [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Mixing of html:.../ taglib with custom taglibs
Date: Wed, 30 Oct 2002 16:28:20 -0500
Is it
So..that was a paid vacation of sorts?
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)
-Original Message-
From: Galbreath,
What is a DynamicProxy? We may be talking about the same pattern with
different names.
David
From: Kevin A. Smith [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: [OT] Getting a Collection's size in JSTL
Hi Sai,
Thanks for replying back.
1.)Here is 1 level working
http://desistar.no-ip.org:8080/strutshop/working1level.jsp
2.)Here is 2 level not working
http://desistar.no-ip.org:8080/strutshop/notworkingmytst.jsp
3.)Here is A
http://desistar.no-ip.org:8080/strutshop/flow.txt
4.)Here is B
I am trying to get Struts 1.1b2 working in JRUN 3.1, and I think I am
getting closer. I have added the load-on-startup1/load-on-startup
parameter to my web.xml file for the action servlet, which eliminated one
error I was getting. I am now getting the following in my web applications
err.log
I'm referring to the java.lang.reflect.InvocationHandler. You can use it create proxy
objects for interfaces on-the-fly. I've used it extensively as a way of adapting
mismatched interfaces between objects.
--Kevin
-Original Message-
From: David Graham [mailto:dgraham1980;hotmail.com]
Sorry missed the JSP FILES
1.)http://desistar.no-ip.org:8080/strutshop/notworkingmytst.txt
2.)http://desistar.no-ip.org:8080/strutshop/working1level.txt
Please Hit CTRL-REFRESH if you see a small orange
table.
Regards
Gopal
--- Gopal Mukkamala [EMAIL PROTECTED] wrote:
Hi Sai,
Thanks for
Cool, I'll look into it.
Thanks,
David
From: Kevin A. Smith [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: [OT] Getting a Collection's size in JSTL
Date: Wed, 30 Oct 2002 16:39:27 -0500
I'm referring to
I have two Struts config files: struts-config.xml and struts-config-myapp.xml
All of my work is in the second one ( the subapp).
What I found out, I have to copy message resources in the subapp to the default
(struts-config.xml)
as well inorder for struts validator to work. Other wise, it
Just a suggestion.
Place struts.jar ( and/or all of its dependent jars) under
lib/ext directory
-D
- Original Message -
From: Haseltine, Celeste [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 1:32 PM
Subject: Struts 1.1b2 Example
But applying a proxy to this scenario seems like overkill. Wouldn't you have to
do something like the following:
public interface CollectionInfo {
public int getSize();
}
public class CollectionHandler implements InvocationHandler {
private Collection c;
public
I would use a factory to create the proxies. This would occur inside of the Struts
action. Then, in the JSP, you could access the collections as you normally would.
--Kevin
-Original Message-
From: Kris Schneider [mailto:kris;dotech.com]
Sent: Wednesday, October 30, 2002 4:57 PM
To:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)
-Original Message-
Then why would this not work? The first line I have in my perform method is
a debug line and this is not showing up. It's behaving as though it can not
find the action class. Here is my definition in the config file:
action
path=/shipmentTracking
Hi
I downloaded the new version to try it with Eclipse. Everything seems to
work great except that I haven't figured out how to use the tiles support.
Isn't there any tiles support in the Eclipse plugin or am I just stupid?
A line in the doc hints that there is no tiles support:
NOTE: Eclipse
Hi,
I'm trying to experience the validator plugin provided by struts package. Everything
looks normal, but my action bypasses the validation process and executes successfully.
I searched the archive, found that there might be some logging while plugin
initialized. I didn't see anything in the
Marcus,
For the Struts Console eclipse plugins, does it use SWT? or it use Swing?
Have you used Easy Struts for Eclipse? If yes, which one works better?
Thank you.
-Original Message-
From: Marcus Andersson [mailto:marcus.andersson;active-tv.com]
Sent: Wednesday, October 30, 2002 4:20 PM
500 is an internal server error.
Can you check your log files and try to find more detail or even a stack
trace?
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
-
The generated link must look like:
a href=/context/shipmentTracking.do?param1=value1link/a
If you have that link and it still doesn't work, it's likely to be your
Action class. Try substituting your action for the struts ForwardAction and
see what happens.
David
From: Cindy Horn at SF
Did you configure the plugin in struts-config.xml? See the validator
example app for details.
David
From: Shunli Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: struts mailing list [EMAIL PROTECTED]
Subject: Validator plugin Date: Wed, 30 Oct 2002 14:21:07
Yes, I did. I'm using the validator example right now. But no luck to make it work!!!
David Graham [EMAIL PROTECTED] wrote:Did you configure the plugin in
struts-config.xml? See the validator
example app for details.
David
From: Shunli Yang
Reply-To: Struts Users Mailing List
To:
My struts apps work fine. What I did for validator app are compiling the action and
form java code, updating struts-config.xml file and coping the jsp code.
David Graham [EMAIL PROTECTED] wrote:Are you saying the example validator app
doesn't work? You have other
problems if that's not
Hi James,
Just want to report another relate error on this topic.
When deploy on JRUN4, and not using struts validator.
My static forward action (ie an action with static forward to a jsp) which
displays a blank form, can only run once.
When I try again, Jrun complains about not able to find
Did you set the validate to true like this?:
action
path=/login
type=com.futurecargo.framework.actions.LoginAction
name=loginForm
scope=request
validate=true
input=/login/index.jsp
- Original Message -
From: Shunli
Dan,
Are you referring to the lib/ext directory under JRUN itself? Ex:
C:\Program Files\Allaire\JRun\lib\ext.
It was my understanding from the prior postings on both the JRUN user group
listserver and the Struts listserver that you should NOT put the struts.jar
files in either the JRUN\lib\ext
Here is my config in struts-config.xml
!-- Registration form bean --
form-bean name=registrationForm
type=org.apache.struts.webapp.validator.RegistrationForm/
!--=--
!-- Registration Action --
actionpath=/registration
Struts Console is Swing not SWT.
Easy Struts is an excellent editor. However, only
Struts Console has support for Tiles and Validator
config files.
-james
--- Samuel Cheung [EMAIL PROTECTED] wrote:
Marcus,
For the Struts Console eclipse plugins, does it use
SWT? or it use Swing?
Have you
I have a nonstruts application that had problems interms of loading jar
files from web-app/lib directory.
When I copy the jar files to jrun/lib/ext directory
the prolem went away.
As I see your ClassNotFoundException, it reminds me
of my old problem in JRUN3.1
I may be worthed to try
-Dan
Hello-
This is kind of a weird question but here goes
I have an Action class that takes some values from the session puts these
parameters into a RequestWrapper object (that I wrote so I can get and set
request params) under different names, then forwards this modified
RequestWrapper object
On Wed, 30 Oct 2002, Michael P. Jones wrote:
Date: Wed, 30 Oct 2002 18:12:13 -0500 (EST)
From: Michael P. Jones [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Forward a modified Request out of an Action
Hello-
This is kind of a
I extended the dispatch action to do something like that:
in execute() {
ActionForward forward = null;
if (mapping.getParameter() == null ||
.equals(mapping.getParameter())) {
forward = executeAction(mapping, form, request, response);
} else {
And your validation.xml has entries like this right?:
form name=loginForm
field
property=email
depends=required,email
arg0 key=login.email/
/field
field
property=password
depends=required,mask
you have to add an input attribute to your action definition that points to
the jsp that has your form on it. Struts needs to know where to forward to
when there are errors. Validation is done in the ActionForm.validate()
method. See the users guide for details.
David
From: Cindy Horn
Hi All,
I am pretty new to STRUTS. We are trying to standardize our J2EE programming
model.
Objectives
1.Controller extracts all the request to a Common object (Somthing
like a TableModel)
2.Controller invoke a Model by passing the Common Object
3.Model will populate
Thanks for the comments. Seems to make more sense not to have
any ordering functionality in the html:options tag anyway.
On Wed, 2002-10-30 at 10:40, Dennis Muhlestein wrote:
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in
Alright, your JSP is referring to a app.flowrapper class but I don't have a definition
for it.
However, looking at your app.flow and app.flowstep class, the name of the getter jumps
out at me. For example, in app.flowstep, the getter for lfse should be getLfse() and
not getlfse() -- note the
I tend to use the DispatchAction mechanism for forms that are used to do
create/update/delete of objects. The pattern I have fallen into is having
cancel be another one of the dispatch methods in this case. I have
validation turned on for the form, but, conditionally disable the validation
both on
Seems there is no validator 1.0 dtd on jakarta.apache.org/struts/dtds/..
I can't open my validation.xml file because it uses the 1.1 dtd so I
tried the 1.0 to see how that would work, but I got 404 error.
Can you just put a dtd somewhere?
Thanks
Dennis
BTW it's true, James is Arnie.
On Wed,
Will be ever presented example about Tab layouts?
I'm not sure that's tiles main purpose. Tiles allows you to construct a
view from various page elements defined in an xml file. A tab layout is a
higher level concept.
David
From: Slava_L [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
What am i supposed to do?
I'd like to use Tiles to build such a web form presenaiton, need to see
(live) example.
Thanx
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 1:05 PM
Subject: Re: Why Tiles still has no Tab layout ?
Hi,
I have a doubt related to this and the html-img tag.
a href=javascript:window.location.reload(true)
img name=img1 src=images/img1.gif width=38 height=34 border=0
alt=
/a
I am refreshing some data in the session scope when the user hits the
reload button.
I am planning to use html-img
Hello ,
I am facing problems in loading images in the jsp page. Sometimes the image is clipped
and when I do a refresh it is loaded properly, sometimes the whole image in not
present and if we do a refresh it is displayed.
Can anybody help me with it.
Alok
Download the binary.
Take the tiles-documentation.war and deploy it on Tomcat. There is an
example there under 'Live Examples'.
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
Only two things are infinite, the universe and human stupidity, and I'm not
sure about
That's quite right, there is an example
It works perfect under the Tomcat/
I use orion server insteed of last one, and errors occured while tryin' to
watch tab exmpl.
I need to find out why its happend/
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing
Thank God I am not the only one to face the problem.
No I am not using the Tomcat but I am using Jrun.
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 11:07 AM
Subject: RE: Images on a jsp page.
Hello
Can any one find the solution of my problem which is explained below.
Thanx in Advance
Sandeep
-Original Message-
From: Sandeep Karnwal, Noida
Sent: Wednesday, October 30, 2002 9:07 PM
To: [EMAIL PROTECTED]
Subject: jsessionid embedded to javascipt
Hi! All
I am currently
Hello,
i use :
html:link href=javascript:document.form.submit();myLink/html:link
The name of the form in the Action corresponding. For exemple, if you
have :
html:form action=/area/ProcessForm.do method=POST
in link you make :
html:link
Hi,
Thanks David.
Infact it is almost there in STRUTS. But what I am trying to achieve is not
to call different Actions for different events.
So there will be a common action which will delegate FormBean to Business
Logic bean and get the ResponseBean(The Bean require for next view) and then
put
Hi ,
Is there any other way to pass the objects to the next view without seting
it as an attribute in request object?
Rgds
-Original Message-
From: David Graham [mailto:dgraham1980;hotmail.com]
Sent: Thursday, October 31, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Standardization
Hello,
I am facing problems in passing the request attribute variable from a action class to
a frame.
Alok
We've been using the struts validation package and I'm wondering if it
isn't wise to change now. Any suggestions on the easiest way to update?
Can we just download the commons validation? What do we need to do to
integrate with struts?
Thanks
Dennis
On Wed, 2002-10-30 at 13:28, James Holmes
Hi,
I have my main screen definition like this. I am using images as
menus. No html-img tags till now.
actionpath=/mainscreen
type=com.hcl.smartmanage.web.action.ReporterParameterAction
name=reportParameterForm
In case anyone is interested. I solve the problem by extending
org.apache.struts.validator.DynaValidatorForm and overriding the method
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request){};
-- Derek
- Original
101 - 178 of 178 matches
Mail list logo