Hi, I perused the list archives for this, but none of the suggestions
mentioned seem to work for me. Here is my problem.. (I'm running struts 1.1
b4 -- I think).
I created a file commons-logging.properties in my web apps WEB-INF/classes
directory containing ..
org.apache.commons.logging.Log=or
Hi, This may not really be a struts related question, but I wonder what
people are doing wrt. distributing war files. If I have to distribute a
struts based package to multiple sites, each of which requires it's own
logos etc. currently we are using a combination of application specific
message
>This is so cool. I was hoping for this sort of thing. This is getting
>close to grown up. I wish I could see this stuff now. Man!
>Don't forget that JavaServer Faces has a two-level architecture -- user
>interface components that are render-independent, and renderers that
>construct a partic
>1. With plain HTML, add #anchorName to the URL that appears in your
>browser's address bar, and then where you want it to
>be.
Hi, Matt -- thanks for your response. But how do I do this in
struts.. (i.e. just appending the #anchor to a struts form's action
still doesn't make it appear on the bro
>I now use dbMonster to generate lots of db data and DiselTest to stress
>test. (linked on baseBeans.com downloads and cheat sheet pages)
Thanks for the pointers Vic.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi, I have the need to scroll the displayed jsp page (as the result of
a struts action) to a specific place on the resultant html page.
Is there a standard way to do this? (I thought one could use
javascript onLoad or somehow re-write the URL to force the browser to
move to an anchor, but both do
I've been following this thread w/ interest. Thanks for all the posts.
>Overall, it sounds like your team is likely to succumb to "premature
>optimization" anti-patterns, and totally fail to understand what is really
>important about web application design. That's pretty tragic when it
>happens,
>Explain how some other approach handles it in any better way? Use of
>token to prevent duplicate submissions works for me. And what do you
>mean by a continuation-style programming?
Hi, Rick: CPS is a commonly accepted idiom for representing "what a
program does next" in your language. Some langua
Over on another mailing list I'm on the consensus is that
continuation-style programming is much better than the present
approaches suggested by struts and other frameworks. In particular,
they solve the back button/refresh type problems much more cleanly
than other languages/frameworks.
As a Lisp
>Jbulider8.0
>and Eclipse
Do either of these provide breakpointing ability in JSP's, and
traversing transparently into container code.
My current environment (which is WSAD 5.0 built on top of Eclipse)
doesn't do this, and I find it annoying.
The other annoyance I have is that when I run tomcat a
> Hi all,
> is it possible to nest iterate-tags with Struts 1.1?
Hi, Heiko:
I've had luck with patterns similar to what others have suggested, but
if you have plain lists or vectors inside lists or vectors.. a better
route to go is to try
>>:). In any case, OTI is an ex-Smalltalk IDE shop, so I presume there's
>>a strong NIH syndrome there similar to most other IDE's I've run
>>across --
>
>Then why is there an Emacs keybinding preference setting but none for vi?
>
>David
Huh? I can't quite understand what you are asking David. If y
>>In summary, I like my hybrid approach. And I am trying to convince =
>>Eclipse
>>guys to have / create a true Emacs plugin .. although I don't see any =
>>takers
>>yet.
> wonder why.
I don't see any smileys, so I'll presume you are asking this
seriously.
I did submit a bug report/enhancem
I didn't want to get into this -- since editors are religion :) but
personally I use editors for editing code (although I must admit that
Eclipse's ctrl-space/and factoring helpers are beginning to win me
over :), and IDE's for debugging. (in multi-threaded apps, there's no
comparison -- I can be
HI, David: I've used Lea Smart's java script totallysmartit.com
calendar hacked a bit (wrt. colors, clip rectangles and so forth) and
would recommend it.
Hope that helps.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
I have longed for something like this too -- because while struts
attempts to solve some very real problems, and does a good job at it,
I think the documentation and the mental model that people need to
have can be "re"set straight by a key few pieces of documentation that
are still missing.
- Y
>Seriously ... it would be nice if JavaBeans recognized something like
>"mapped properties". But that is for the future -- in the mean time,
>you'll need to stay within the limits of what the JVM recognizes *now* if
>you want to leverage EL expressions.
Craig -- IMHO, if you look at Lisp.. symbol-
>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>
>You haven't given enough information below (seems like a continuation of =
>some previous thread).
>
>I *think* what you are trying to do is go "forward" from one action to =
>another [*] but before so
Hi, Craig: Just catching up on email, and caught your very good
explanation of RowSetDynaClass.. I didn't know it existed, so had
written something like it myself, w/ returning two Collections (one
for the column names, and another for the data set).
But I have a follow up question re. what you sa
>Any more personal attacks like this, or the previous response's profanity,
>are likely to get you banned -- then you won't have to worry about
>questions you think are below your dignity to answer politely.
>Craig McClanahan
Thank you Craig.
I think this list is great, and now that I'm slowly g
Hi, I finally figured out that the problem w/ what I was trying to do
was that the "back" forward didn't have the ".do". Once I included the
.do things seem to work. (i.e. I can have my "compose", "save"
etc. actions forward back to the master action in certain cases).
Hi, I have a master form w/ several rows, the user clicks edit and
there's another form with details.. the user edits, and then clicks
save. At that point, I'd like to go back to the master form..
Ideally from the "detail" Action .. I'd like the "save" to dispatch to
the master Action that populat
Hi: This statement caught my eye because I was about to do something
like this.
> I would avoid using multiple Forms per page.
In my application the user is going to assemble a complex set of
things, and in order to do this needs to "view" another set of
things. The view step involves querying, an
>> From: Peder Jakobsen <[EMAIL PROTECTED]>
>> I'm new to Struts, and so far I'm very happy with what I see. But I have
>> some suspicion that it'll be dead slow.
>>
>
>What leads you to this suspicion? There's no way to respond to such a
>FUD-sounding :-) comment without specifics.
Craig: While
Hi, I'm trying to use nested:multibox, but I can't seem to get Values
printed out.
I'd like to be able to write
Mon
Tue
...
etc.
I see that the checkboxes are rendered ok when I do this. But I don't
see any of the "Mon" or "Tue" strings.
If I do a view source.. I see
No tag or the Mon/
I notice that if I use I end up getting input fields whose
name looks like so
This really doesn't play well with all the java script code we have
that rely on "eval'ing" target names such as
"window.document.someform.somelement".
If someelement is in dotted notation, eval on the java sc
Hi, Sri: Thanks much for responding to my post.
You write..
<%-- print the userFormName property of UserForm --%>
<%-- Iterate over all the UserPrefForms --%>
I almost have this but my selected preference is a property of the top
level form.. I essentially have
Hi, Craig:
>JSTL in particular covers a huge amount of ground on the nitty gritty
>things, and (where it overlaps with things in the struts-bean and
>struts-logic libraries) does it much better, mostly thanks to the
>expression language's power.
I couldn't agree w/ this statement more after spen
I finally gave up w/ 1.0 and moved to 1.1b2 (the one that comes w/
WSAD).
And the first thing I try w/ it doesn't work, so I must have the wrong
model again. So here goes;
I have a top level User -- who has a bunch of Preferences.
There is a UserForm, and a UserPrefForm.
The UserForm has a collec
>Best Suggestion is:
>
>1)Over Ride ActionServlet and place session expire code(redirect login page
>or some other stuff). This will work for if the user clicks any buttons,
>action events.
>
>2) Now we need to handle page refreshes (i.e JSPs)
>
>write a simple jsp, which consist simple logic check
>You should take this opportunity to refactor your session timeout
>functionality.
>
>Extend the Struts RequestProcessor (or the TilesRequestProcessor) to include
>your session check and forward. Take logic out of your JSPs : )
Ok.. I don't see either of these in 1.0. Next suggestion please?
--
Sigh. We used to have a piece of code included in our jsp's like so:
header-inc
<% if (request.getSession(false) == null) { %>
<% } %>
header-inc
and that was included in our files like so. That used to work.. but
now when I have struts-html and struts-bean.. it always fail
Hi, Kris: You posted in Oct the foll. snippet, which I found
helpful to understand html:radio. You say "assuming the form has a
foundPerson property below" - my confusion is "which form" are you
talking about.
For example, consider an application that displays all foundPersons to the
user w/ som
>You don't have a form here - where are you using PointForm?
>
>The code should be something like - assuming you're using struts 1.0.x:
>
> execute (... mapping, ... form, ... request, ... response) {
> form = new FooBarBlahForm();
> ...
> // Get model object
> ...
>
>You should really go back through some of the archives to review the
>pro and con arguments; and (among other things)
>you will find that I am adamantly against what you propose -- it would
>encourage people to reuse the wrong thing for the wrong reasons.
Craig -- thanks for your response. Will go
>> - set each individual attribute of my model into request
>> parameters
>Why would you do this if you have the form bean from the previous
>step?
Hi, Paul: Thanks for your thoughtful reply. Your above statement is
what I guess I'm having trouble with. (i.e. if I have a Point model
obje
Hi, David: Thanks for your notes.
Sundar> Does 1.1. interfere w/ the the loading/reading of css attributes?
Sundar> Thanks.
>You'll have to be much more specific, showing exactly what you mean by
>"doesn't
>work", along with showing relevant portions of you
Hi, I have a web application that was working fine w/ struts 1.0. I
updated to 1.1 (by update the tld's the jars etc.), and now the
web pages that had css attributes just don't seem to work!!!
Does 1.1. interfere w/ the the loading/reading of css attributes?
Thanks.
---
ne of them seem to work.
--
>>>>> "Sundar" == Sundar Narasimhan <[EMAIL PROTECTED]> writes:
Sundar> Hi, I have a variable "type" which I'd like to use like so
Sundar>
Sundar>
Sundar>
Sundar>
Sundar&g
Hi, I have a master form that displays a bunch of object.
I'd like for the user to select a radio button corresponding to one of
those objects and then click Edit.
The editaction should obviously display a form corresponding to the
selected object.
What I'm failing to understand is what I need t
Hi, I have a variable "type" which I'd like to use like so
But no matter what I try I don't seem to be able to get the link to do
the right thing.. Ideas?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I notice that w/ the default configuration on most browsers is to ask
the user wheter form data should be resent.
I wonder if there are concise descriptions/tutorials on web
application design that deal with somewhat (I expect :) thorny
issue. Do people just set the pragmas for cache-control and f
Hi, I was told that jsp->jsp through link in an
html file is not recommended struts practice.
If this is not good.. and I can understand why.. I was told that
replacing it with
was the way to go.
However, form's submits appear as "buttons" and not as "links". H
Thank you for all your replies. I had guessed RT Expr might mean that.
But now for the follow up.
>As others have said, it means "run-time expression". Specifically, it
>means the value CAN be specified by a JSP expression scriptlet
>(beginning with "<%="). Ironically, calling it a "run-time ex
In the bottom of the documentation on the attributes of several tags I
see [RT Expr].. what does that mean? Is it documented anywhere?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
pair --
tester=etts
Any help is appreciated.
Sundar
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
pair --
tester=etts
Any help is appreciated.
Sundar
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
output.
I want to go through
this section tag one by one. Sometimes it
goes straight
into innermost node ( if i use */section only ).
Can you please
provide me a sample code how to achieve this?
thanks,
sundar.
>
>
> On Sat, 24 Mar 2001, Sundar @eSaravana wrote:
>
> > Hi,
> >
> > This is my situation:
> > I have a collection(Vector) of buddyListForm as session attribute.
> >
> > So, in my JSP,
> >
> >
>
> If the Vector you are stor
)
at
org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:
.
I am attaching buddyListForm, too.
Sundar
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
rks fine.
>
>
>
> Now I want to send multible BuddyListBeans as a collection to jsp, iterate
> first at bean level, then again at attribute level.
>
> i.e)
>
> scope="session"> bean level
>
>
> attribute level
>
> attribute level
>
> beanlevel
>
> How do I do it? Any help is appreciated
>
>
>
> Sundar
>
>
>
>
>
>
>
>
iated
Sundar
Please, could I get the answer from gurus. I need some build that has image
tag fixed - Sundar
- Original Message -
From: "Sundar @eSaravana" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 5:49 PM
Subject: Has the image tag property
Thanks Martin. That's all I needed.
Sundar
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 4:21 PM
Subject: Re: Where are form tags?
> I'm not sure exactly what problem you're seeing, but here are a co
Hello,
Where is 26th nightly build binary/src version? Or any other build that has
image tag fixed for property attribute.
Cheers!
Sundar
Has anyone used log4j with struts? I have used log4j before, but I am new to
struts. So, I am just looking for a short cut. If you have,could you please
send me some code fragments to start off.
I would really appreciate it.
Cheers.!
Sundar
Hello,
In the beta release, which I downloaded and built, struts.jar did not have
html tags. So, I just downloaded yesterday's binary and it does not have
form tags. Am I missing something here?
Any information is appreciated.
Sundar
entListener.addGenerator(JspParseEventL
istener.java:138)
at
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEven
tListener.java:911)
at
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe
ner.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
What am I doing wrong? Any help is appreciated.
Sundar
them successfully for the most part.
Has anyone downloaded and built it successfully on any unix machine?
Sundar
- Original Message -
From: "Sundar @eSaravana" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 11:50 PM
Subject: Problem in B
I downloaded beta release of struts jakarta-struts-1.0-b1-src.tar.gz , but
it just doesn't untar properly. I even downloaded second time, but had same
check some error and there is no build.sh in untared folder.
Did anyone manage to successfully untared and built the beta release.
Sundar
After your mail, I checked out the URL again it still comes back with the
same error.
Is following the right URL?
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd
Sundar
- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
ation outside of a DTD. Line 26, Position 12
---^
Am I missing something or I can just go ahead, copy the source and deploy my
servlet
Sundar
Hi,
I also have the same problem.
sundar.
-Original Message-From: pratima gogineni
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 13, 2001 5:57
AMTo: [EMAIL PROTECTED]Subject:
struts:example
Hi,
I just moved from 0.5 to 1.0 (last nights build). I had the example
63 matches
Mail list logo