,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have the need to create a link to a Struts Forward in code, is there a
Right Way to do this?
Should I go dig into the Javadoc for the html taglib?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
. Is there any way to globally catch these?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as needed.
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
I think I wasn't clear.
What I want is:
global-forwards
forward name=mainMenu path=.../
/global-forwards
With actions like:
action name=doSomethingAction
forward name=success path=mainMenu/
/action
This way I can easily change where actions redirect to.
Thanks,
A.
--
Adam
On 03/29/03 23:42:04 -0700 Sterin, Ilya wrote:
In the reset method of the ActionForm.
I am using DynaValidatorForms, guess I should have mentioned that.
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
type?
2. What should be used as CONDITION so that CONDITION is true if the
parameter id has been set? (I assume that my validation should make sure
id is an integer if it is set.)
Thank you very much for your assistance,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
)dynaForm.get(id);
if (id != null) {
}
I think that something else is going on because that condition isn't met if
I call the Action with no parameters. It seems to be . (Which doesn't
sound right either.)
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
projects. Being able to search some mailing
lists and find real day-to-day comments by the individual is fantastic and
gives me lots of confidence.
My two cents,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
values. Using the
html:text tags value attribute seems to have the effect of the empty
values reappearing after validation fails.
Maybe I'm approaching this completely wrong?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
I seem to be posting 2 copies of my messages to the list, one of them
normal and the other wierd like the attached message.
WTF?
Notice the multiple received headers.
Is anybody else having similar problems?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
On 03/24/03 22:55:59 -0500 Adam Sherman wrote:
And while you're discussing all this, would someone mind helping me out
with my original problem? (-:
Solved it!
I received very quick help from the jsp-interest list suggested by Mark
Galbreath, thanks Mark.
Turns out the header is an implicit
How do I check if a field hasn't been set at all?
DynaActionForm.get(fieldName) == null, or
DynaActionForm.get(fieldName) ==
doesn't seem to work.
Any hints?
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
, thanks.
If I have the field defined as a String in the form-bean and am
validating using depends=integer, will the field be null if the action is
called directly?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
it is
being properly set.
The above outputs:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(There suppose to be two headers.)
Any ideas?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
makes use ot the struts-html form Tag.
And while you're discussing all this, would someone mind helping me out
with my original problem? (-:
I'll go subscribe to jsp-interest meanwhile.
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
. The Right Way(TM)
3. The Wrong Way(TM)
4. Actually, you need to declare a reference to 2 here. Not the actual
Datasource
5. See 4.
That help at all?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
Just a polite note to let you know that using the Reply function to ask a
new question on a mailing list is bad netiquette. It screws up threading.
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
--On Friday, March 21, 2003 21:53:10 -0800 David M. Karr
[EMAIL PROTECTED] wrote:
What version of Struts are you using? If you're not using the nightly
build, try that. There is a known bug with html-el:errors in RC1, that
might cause this.
Yeah, I noticed this in previous threads and tried a
and
getting of your name and property attributes.
You are referring to the attributes of my resource?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED
no values, size == 0. That isn't normal, right?
Thanks very much for your help!
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
,
yes?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
properly and I'm not
getting any loading errors. So WTF?
I tried using JSwat to look at stuff, thought maybe I would be able to examine
the Application Context but I discovered that debugging is not for weenies.
So, what can I do to further my cause?
Thanks,
A.
--
Adam Sherman
Tritus CG
Would be possible to achieve this?
I want the first hit on the do URI to generate the input JSP with
no errors. This way I can encpsulate all the needed information in the
Struts config file for handling user input.
Does this make sense to anyone?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc
My dev box is not connected to the net, and since a few nightlies ago
I'm getting critical erros when Digester tries to validate Validatiors
validation rules file.
Can validation be turned off?
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
Is it possible to setup validation so that {0} is replaced by the bad
value?
Example:
adamtritus.ca is not a valid email address.
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
: Parsing error processing resource path /WEB-INF/struts-config.xml
On startup of my struts app.
Thing is I dont' have 490 lines in my struts config.
Any ideas which file is causing the problem?
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe
Vikas Malla wrote:
I had this error. I just got rid of the nested comments. try this on your struts-config.xml. see if this works in your case.
I removed *all* comments, still get the error. I think it's referring to
a different file...
Thanks,
A.
--
Adam Sherman
Software Developer
Teach
,/WEB-INF/validation.xml/
/plug-in
/struts-config
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Craig R. McClanahan wrote:
The message is telling you exactly what's wrong. One way to cause this is
to try a comment like this:
Still trying to track this down. Does anybody have some ideas?
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
Adam Sherman wrote:
Oct 25, 2002 10:36:38 AM org.apache.struts.action.ActionServlet
initApplicationConfig
SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml
I'm using a validating parser on my config files, and it is happy. Could
this be an unrelated issue?
Thanks
I rebuilt my lib directory, and the problem went away.
Weird.
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
hit without showing input. Without it, input is shown, but then no
actual validation occurs and the action is hit regardless of user input.
Is there anything that needs to be done *inside* the Action for enable
validation? Didn't see anything in the docs.
Thanks for your help,
A.
--
Adam
I will have given you
some helpful information.
You make a lot of sense, I think I'll stick to using a plain Tomcat
Realm that points to a user database, and have the rest of the info in
separate table keyed on the username.
Thanks for the advice,
A.
--
Adam Sherman
Software Developer
Teach
Adam Sherman wrote:
In a mapping:
- input is the form
- name matches the name of the Form Bean
Is this correct?
When does 'input' get called? If I hit the action with no arguments? On
a validation error?
I have an action with an input, and a form bean, but the action still
gets called when
Is there a good example application that uses DynValidator, Tiles, etc?
A few of my issues have simply been misunderstanding of the docs, and an
example would help a lot!
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail
is dumb, like syntax. You know, is that a phone
number, is that an email...
For example, checking an email for valid syntax is one thing, and
looking up the domain to make sure it exists is another.
Do I make any sense at all?
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc
. (-:
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
=ActionForm ?
Well, deffinitly not in a Form bean.
The way I do it is to put the value bean in the request scope, and then
use it from the view.
ie. request.setAttribute(nameConstant,valueBean);
Then the value bean is available to all the JSP tags.
Does this help?
A.
--
Adam Sherman
Software
for him/her
Maybe someone assumed that you would never want a field to be (blank or
valid). Some fields need to be validated only if they contain a value.
Can one of the developers comment on this?
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
more secure and
can't be faked.
How do you prevent replay attacks? Where someone simply steals the
cookie and uses it another time.
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Adam Sherman wrote:
Can anybody point me to a best practices guide for security in webapps?
I'm building it from scratch.
Struts 1.1 has integrated support for JAAS, hows does affect Servlet
Realm security?
I'm completly new at this, so just some suggestions would be helpfull.
Not detailed
an application-specific user
database, and create a new entry in it for every new authenticated user
that comes down from the container. Kinda hackish, but I don't see
another way.
That, or use SecurityFilter (http://securityfilter.sourceforge.net/),
then move to CMA if I have to.
Thanks,
A.
--
Adam
Kyrre Lugg wrote:
James Mitchell wrote:
This means you are in a status of SOL.
SOL?
Sh*t Out of Luck.
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e
whether it's a last record in a collection
// if so, display the outline with border at the bottom
/logic:iterate
Insert border here.
/logic:present
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user
for all your help,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Tuan H. Le wrote:
if it's the last row
dispay td align=center style=border-right bean:write ./td
else
display td align=centerbean:write .../td
Do you have some HTML to illustrate this? Might be possible to work
around the issue.
A.
--
Adam Sherman
Software Developer
Teach
.
Thanksa a bundle,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
for Collections that are Sets?
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
.
* An implementation of java.util.Map, including HashMap, Hashtable,
and TreeMap. NOTE - See below for additional information about accessing
Maps.
And Set extends Collection.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:struts-user
that's all BeanUtils could handle as indexed properties.
It's fixed in 1.1betas so any List or Map interface can be used also.
What about a Set?
Thanks to both of you for the great help,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail
I need to have a plugin insert an entry into the context. However, it
seems that Tomcat only provides a read-only JNDI context.
Any ideas on the easiest way to provide my app with an in-memory JNDI
context?
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
Montreal Ottawa
St. Catharines Toronto Vancouver
Winnipeg
Tuesday, October 22nd, 2002
Calgary Edmonton Etobicoke
Kamloops London Montreal
Oakville
Note the three columns...
I'm looking for the cleanest, tag-only, implementation.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach
.
I'm very confused as to how to make this work, furthermore I need to
replicate the three-column layout of the above page. (I hope to find an
elengant solution for that.)
Please lend a hand if you understand the iterate tags!
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc
it would be extremely nice to do this, but When I try to forward
(via a forward Action) to tiles.members.layout1, I get the .basicLayout
but there is nothing in the body area.
It Just Works for me. I'm not using the type attribute at all.
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc
anything data related interacting with
Struts. I hide all persistence from the Struts Actions to make my
business layer independant of web-based apps. Oh, and I'm using
Hibernate with good results.
P.S. The above is not my idea, it's a standard pattern.
A.
--
Adam Sherman
Software Developer
Wendy Smoak wrote:
https://www.auth.server/page.html?callapp=http://www.xxx.com/dev/editContac
t.do?key=4100action=edit
FYI, using www.xxx.com in examples is a very bad habit... (-:
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail
a
persistence engine, I'm not sure if my structure actually works the way
I think it does. Anyway to get a more descriptive error?
Thanks,
A.
P.S. Your earlier post pointed me to nested tags, I just can't figure
out how to use em!
--
Adam Sherman
Software Developer
Teach and Travel Inc
() returns a Set. (Is this OK?)
So, I verified that the data is there. But I still get a
NullPointerException, therefore I must be trying to pull data from the
wrong spot in the structure. )-:
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e
:
nested:iterate id=location
property=informationsessions
nested:write property=location.city/br
/nested:iterate
The Objects returned by date.getInformationSessions() have getLocation()
methos that return a single Object with a getCity() method.
Am I clear?
Thanks,
A.
--
Adam Sherman
Software
,
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
!
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On 10/15/02 15:46:06 -0400, Adam Sherman wrote:
Adam wrote:
I need to present data like this
Heading One
One Two Three
FourFiveSix
Heading Two
Seven Eight
Heaging Three
NineTen Eleven
I think maybe I'm trying to do the structuring in the presentation
with them! ;-)
Yanks, eh? I don't think so. Not my fault if you Brits forget the funny
part of a joke. (-:
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
On 10/15/02 16:25:32 -0400, Sri Sankaran wrote:
(FYI: With the version in Struts 1.1 and indexed properties, you may be
able to avoid the % % ugliness)
This all makes quite a lot of sense. Could you elaborate on indexed
properties?
Thanks,
A.
--
Adam Sherman
President Chief Technologist
Does anybody know a of a decent comparison of Open Source persistence
frameworks?
I'm embarking on a big project without time to properly evaluate them.
So I need some help deciding.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e
into a
class that does business logic.
Actions call Business Objects which pass back Value Objects. Value
Objects are created with Manager Objects.
My two cents,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL
Galbreath, Mark wrote:
Isn't that always the case? :-(
No kidding, putting a ton of work into something only to realize that
that other tool could have done most of it for you is *very* unpleasant.
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
people must be doing something for the many generic
html pages on their dynamic sites, ideas?
Thank you,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
generic
html pages on their dynamic sites, ideas?
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I'm building an Action to handle generic requests for pages that are
defined as tiles.
Basically, I want all requests for *.html to hit this action, which will
figure out the definition name and call it.
If the page doesn't exists, how can I throw a 404?
Thanks,
A.
--
Adam Sherman
component?
I'm also looking for some Best Practices advice.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
doing sendError(404), where would I
forward to?
Or will the request now contain a 404, but I still need to show a page?
Thanks for your help,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
this cause the browser to not recognize the 404? This would
undoubtedly be a Bad Thing for spiders, etc.
Can I forward to a custom error page, and have the page set the
appropriate header?
Thanks,
A.
P.S. Please excuse my newbieness. (-:
--
Adam Sherman
Software Developer
Teach and Travel Inc
Adam Sherman wrote:
Wouldn't this cause the browser to not recognize the 404? This would
undoubtedly be a Bad Thing for spiders, etc.
And Peter Hamlen brings up a good point, what about the logs?
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
to implement
above. A better solution would be appreciated!
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
to tell it
which definition to use, switching this to guess from the path shouldn't be
too complicated?
Anybody?
Thanks,
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
FORM authentication over
BASIC, is that you can forcefully logout a user. With BASIC, you can't.
Period.
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
themselves.
This means that I can add a page, simply by creating it in the right
location.
Any ideas?
Thanks,
A.
--
Adam Sherman
President Chief Technologist
Tritus CG Inc.
+1 (613) 797-6819
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
82 matches
Mail list logo