Hi,
I'm using struts-modular approach. i.e. in web.xml I've definitions like
this
-
config
/WEB-INF/struts-config.xml
config/business
/WEB-INF/struts-config-smile.xml
-
But when ActionErrors object is populated in "config/business" mo
Yes. I am hoping that . We have deployed
in weblogic 7.x and the problem has not shown up yet. Thanks.
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
[EMAIL PROTECTED]
05/06/2004 12:59 PM
Please respond to
"Struts Users Mailing List" <
Hi Dave,
Tiles seem(s) to have particularly needy scoping issues. Try setting attributes
for the particular Tile you're inserting in your .jsp, then do a
You may also want to consider using messages as opposed to errors, AFAIK, errors
are or will be deprecated.
HTH (& I'm not too off-base),
Simone - Dev wrote:
Hello all,
I'm in a team of open source developer for an HTML editing control to be
included in web pages to enable the posting of rich formatted text using
a visual approach (instead of typing HTML in a textarea)
The project is http://www.fredck.com/fckeditor/ and u can see a
I managed to get a more complete stack trace of the error:
[Servlet Error]-[action]: java.lang.ClassCastException:
org.apache.struts.tiles.TilesUtilImpl
at
org.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping(TilesRequestProcessor.java:126)
at
org.apache.struts.tiles.TilesRequ
Hello all,
I'm in a team of open source developer for an HTML editing control to be
included in web pages to enable the posting of rich formatted text using
a visual approach (instead of typing HTML in a textarea)
The project is http://www.fredck.com/fckeditor/ and u can see a working
demo (works f
Larry,
Its better you post questions to the user list rather than directly to me -
you will get more eyes looking at your problem.
Niall
- Original Message -
From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]>
To: "Niall Pemberton" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 10:35 PM
Subj
Ecch. Sorry about that. I mean this to go to James and munged my to:
field
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 6:30 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [ANNOUNCE] Struts Console v4.6 - GUI tool
>
>
> My JBuilder
My JBuilder 8 IDE is hanging on startup with Struts Console 4.6. I
remove the jar file from lib/ext and it launches fine.
> -Original Message-
> From: James Holmes [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 3:19 PM
> To: 'Struts Users Mailing List'
> Subject: [ANNOUNCE] Str
I'm using multiple validators for my form. I noticed by chance that each
validator is overwriting the ActionErrors for the previous validator that
was run. Can someone tell me why this is happening and how to solve the
problem?
Any help with the problem will be greatly appreciated.
Below is the
Hi,
I've got a page which uses tiles to load another jsp as part of the
page body. In the tiled jsp there is a form that I validate. If I
create ActionErrors in the form validation, I can render the
correctly in the main jsp page but nothing appears in
the tiled jsp (which is where I actually w
My pragmatic answer is just use something, and just actually test. Which tool you use
is almost a technical detail.
I used HttpUnit on my current project, but it's not perfect. It does enough of what I
want, that I was able to code up a couple of helper objects and get most of the rest
of my ne
No worries. Your stuff's a bit confusing. On your you have an
action named "interest" and you don't specify a "name" attribute on your
. That means the checkbox tag is going to try and get the
form associated with your "interest" action (if it doesn't exist, it'll try
and create it) and then try t
I truly do hate myself sometimes...
I was just about to post that I had solved the problem, when I saw your
message (and someone else that caught it as well).
100% correct, it was the wrong method to be calling. getPath() was exactly
right. I dawned on me that I have a FILE object, and what I
Instead of using the "name" property, try the "path" or "absolutePath"
properties.
None None wrote:
Ok, I've banged my head enough in the past two hours...
I'm working on a file manager Struts app to get myself acquainted with
Struts. The first logical step is a list of drives. Here's what I
Its all looks good to me except that File.getName() is returning an empty
String - instead of using "name" in your try "path" and I think
you'll see what you're expecting:
Niall
- Original Message -
From: "None None" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thur
Unfortunately no, it's just 17 times (that's the correct
# of drives on my system), nothing in the cells where the output of the
bean:write should be. That DID catch my first mistake, which was forgetting
the struts-bean taglib import, but that's old news at this point :)
This is even more bi
Does any one have a recommendation on HTTPUnit vs HTMLUnit?
http://httpunit.sourceforge.net
http://htmlunit.sourceforge.net
Thx.
Mike
__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.
Sorry for replying directly to you Niall. I meant to reply to the whole
list. I think when you reply to a message you are replying to the user
list and me individually, because I get two copies of each message that
you post. The reply-to on one of them it set to the struts user list,
and the
Any joy looking at the page source maybe..?
> -Original Message-
> From: None None [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Some further newbie woes
>
>
> I'll stick with None None until I get this figured out :)
>
> That di
I'll stick with None None until I get this figured out :)
That didn't seem to help either... I actually thought of that previously, I
figured at some point there has to be some code casting an Object to a File
object, otherwise certainly the getName() method call is going to fail. I
tried agai
Nope, that didn't seem to make any difference. I get the same result, which
is no output from the tag.
From: "Solley, Tim" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Some further newbie woes
Date
Hey you're welcome and thanks for the info, its good to know whats out there
and what people are using.
Niall
- Original Message -
From: "Tom Vekemans" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 8:02 PM
Subject: Re: Struts failing
None None: (or Someone Someone..;))
In fact maybe just adding the "type" attribute to your orignal iterate will work I
think:
Regards,
Geeta
> -Original Message-
> From: Solley, Tim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 06, 2004 3:31 PM
> To: Struts Users Mailing List
Hi None None...
So in your JSP you are iterating over an ArrayList of File objects, trying to get at a
property inside the File objects. To get at nested objects, you use the Struts nested
tag library.
Try replacing your with the equivalent from the nested library:
(below off the top of my h
Ok, I've banged my head enough in the past two hours...
I'm working on a file manager Struts app to get myself acquainted with
Struts. The first logical step is a list of drives. Here's what I've
done...
I have created an index.jsp that does a quick forward to main.jsp (just like
the blank s
Niall,
Thanks for your questions, they actually helped me to solve the problem. I
checked out the manifest of the struts.jar we were using, it *was* 1.1
however after downloading struts once again from the jakarta site I noticed
differences in the size of the jar files (???). SO I now use the jars
Hi,
This behaviour is specific for JBoss and it is intentional. Indeed, JBoss
uses one (master) classloader for all applications.
You can specify however that you want JBoss tu use *another* classloader on
a per-ear basis. For this, you must write a file called jboss-app.xml and
put it next to th
Well it works fine for me - so I'm at a loss to explain. Maybe you should
post the actual jsp code you are using - you said the jsp code looked like
this:
but the exception you show is for the EL version of the checkbox tag.
Also its better if you post to the struts user list rather than
Hi
I have a subclass of DynaValidatorForm with nested Forms, some in a list
others just singular
This works ok however I want to sort the validation out.
After searching the list the only solution I have found is to add each
nested form's validation to the top level form in the valida
> I only have questions rather than answers...
>
> I'd been interested to know how you're automated emulation of 100 users
> works - could it be that you have two requests operating on the same form
> and your form has some kind of nested/mapped/indexed properties in it? Do
> the 100 users all ha
org.xml.sax.InputSource isn't a Struts class - all the classes in struts.jar
are in packages org.apache.struts
Struts requires an XML parser that complies with the JAXP 1.1 Spec of
later - I use xerces but any compliant parser should do. Thats where you
will find the org.xml.sax.InputSource class.
Yes, those files have been stable since the book was released. All the JARs you need
should be there.
Speaking of stable, here's an "oldie-but-goodie" that's been running nearly unchanged
since its debut in April 2001:
http://data.wxxi.org/auction
-Ted.
On Wed, 05 May 2004 17:56:41 -0500, Pet
What about osworkflow? Or does that not work with struts?
sandeep
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 3:58 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Building Wizard navigation using Struts
have a look at st
U can use
Michael McGrady <[EMAIL PROTECTED]> wrote:I am a notice in JavaScript. I have wondered
in my brief perusal of
JavaScript books how you tell which form is the referent of the formindex
numbers?
At 10:37 AM 5/5/2004, Henrique VIECILI wrote:
>you can use javascript to do this job.
Rüdiger,
Thanks for your help. That works perfectly!
Brian
From: "Rüdiger Schulz" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Clearing Input fields
Date: Thu, 6 May 2004 13:38:30 +0200
MIME-Version:
I believe I had this same issue where JBoss (or Tomcat actually) shares
the same classloader for all web applications?
Anyway, I fixed this by adding the following to my jboss-service.xml
inside the jbossweb-tomcat41.sar\META-INF directory.
*false*
I added it directly under:
true
Hope this hel
Hi,
I´m not if this will help, but Jboss 3.2.3 classloader has no hierarchies,
so if you have two classes that has the same name ( i.e:
main.application.StartApplicationAction) the last class that was deployed
will be used for all your apps...
This is a problem because you have to be extremely ca
Here is how I've successfully handled input arrays.
My HTML form input accepts up to 12 monthly date/value pairs:
Date Rated
Unit Capacity
Then in the form bean associated with the action, you need indexed
getters/setters l
There is a bug with test OC4J container
shipped with Jdeveloper ..Solution is prior to opening a pop up from a
parent window , press cntrl-n to open a new window of the parent
and then open the pop up..the session will be retained.. however this problem
will not occur when you deploy it to a prod
Basically I'm doing this (in my jsp)
<%
String mode = request.getParameter("mode");
%>
Would , encoding every field/attribute in the form bean , be a viable option?
jeff mutonho
Craig McClanahan <[EMAIL PROTECTED]> wrote:
Van Riper, Mike wrote:
>>-Original Message-
>>From:
have a look at struts workflow extension...
http://www.livinglogic.de/Struts/(the new home at source forge does not ahve all the
documentation:-(()
It provides support for wizard like flows with much more...
Also there are a couple of other approaches.
1:Use a session scoped form and collect dat
That's OK, we had the same questions ;)
Freddy Villalba Arias wrote:
Sorry for the spam, everybody. Didn't mean to reply to all of you.
Regards,
Freddy.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
You should use:
Do not use:
http://www.tcs.com
>
>
>
> "Jirole, Amar" <[EMAIL PROTECTED]>
> 05/06/2004 02:52 AM
>
> Please respond to
> "Struts Users Mailing List" <[EMAIL PROTECTED]>
>
>
> To
> 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> cc
>
> Subject
> RE: close pop-up window
>
Niall,
I am not sure if src/share contains all the .java files corresponding to classes in
struts.jar. What happens is that I deleted struts.jar and put all the source files
under src/share and then compile all the files in WSAD trying to generate all the
classes in struts.jar, and I found one
Thanks for the prompt, and on point, input. After playing with
redirects,
I think I'll be able to implement the functionality I desire.
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 6:46 PM
To: Struts Users Mailing List
Subject: Re: Ho
Hi -
I have an arraylist within an arraylist and I am trying to iterate throught it. When
I use indexed on the item; it doesn't seem to be indexing the name. Here is a code
snippet:
When I look at the generated source code I see the following being generated:
Start
;-) Assuming this is some sort of communication breakdown, what I meant was that
the phrase "accept runtime expressions" should actually be "accept request-time
expressions". There's no such thing as a JSP "runtime expression"...
Quoting Zsolt Koppany <[EMAIL PROTECTED]>:
> What are "runtime" and
JSTL Spec:
http://jcp.org/aboutJava/communityprocess/final/jsr052/index2.html
The following code runs in my 2.4 Servlet container.
and produces the output:
0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9
0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9
0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9
0 / 1 / 2 / 3 / 4 / 5 / 6
Hello Brian Boyle,
on 06.05.2004 at 18:35 you wrote:
> Please excuse my lack of knowledge about Struts! I've only started learning
> it recently.
I just have completed my first Struts project as well, and lack of
knowledge is what usually brings people to mailing lists :-)
> First of all you sai
Hello,
My app has a form which content is generated dynamicly with the help of
an iterate tag.
The form displayed is fine, the fields in the repeated lines have all
the same name, which is correct and easy to handle with servlet.
How can I handle this fields in my xForm / xAction classes? How
Hi All,
I've got a JBoss 3.2.3 server that is running two applications and i've
got a problem with the action/form objects:
ApplicationA has an action called
"/main/application/StartApplicationAction"
ApplicationB has an action called
"/main/application/StartApplicationAction"
And the applicatio
Hi Irshad,
Is there any major issue stopping you from using the normal Struts
FileUpload mechanism (ie: FormFile properties in your actionForm)?
As, it looks like you may need to handle the file yourself, in as much as
using the struts FormFile and from it get the file and copy it to the
appropria
I use a text box (stylized to look like a link) when I run into this.
Unlike the link, the text box is ON the form, so I don't need to figure
out what the name or index of the form is.
where the javascript function is something like this:
function DoSubmit(frm)
{
frm.submit();
}
and the sty
54 matches
Mail list logo