Sorry, this was a frivolous question.
The answer is "some_l&f".
Erik
Erik Weber wrote:
I have directory with the character sequence "l&f" in the name. Ant
won't process this line:
How can I get ant to accept (escape?) this directory name?
Thanks,
Erik
I have directory with the character sequence "l&f" in the name. Ant
won't process this line:
How can I get ant to accept (escape?) this directory name?
Thanks,
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
I'm not sure if I gather exactly what you are trying to do. I have a set of
classes (Party which is inherited by Person, Family, Organization, etc.) and
in general they share the same fields. I am using validation. I chose to
write one PartyForm that extends ValidatorActionForm. This way I c
Thank you.
Erik
Craig McClanahan wrote:
On Thu, 10 Feb 2005 23:09:51 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
Sorry, I was using the html-el tag, not the html tag:
I think you should be able to do what you want without the el tags if
you are using JSP 2.0, but to be honest, someone else nee
On Thu, 10 Feb 2005 23:09:51 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> Sorry, I was using the html-el tag, not the html tag:
>
>
>
> I think you should be able to do what you want without the el tags if
> you are using JSP 2.0, but to be honest, someone else needs to jump in
> and bail me o
Two things that I think can cause a problem are using a Servlet 2.3
web.xml instead of a Servet 2.4 web.xml and using the "isELIgnored"
attribute to the page directive incorrectly.
Erik
Erik Weber wrote:
Sorry, I was using the html-el tag, not the html tag:
I think you should be able to do what
Sorry, I was using the html-el tag, not the html tag:
I think you should be able to do what you want without the el tags if
you are using JSP 2.0, but to be honest, someone else needs to jump in
and bail me out here on that. I think it's a configuration problem. (web
app 2.3 v 2.4 or something?
Hibernate rocks
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 10 de fevereiro de 2005 12:58
To: user@struts.apache.org
Subject: Hibernate object relational mapping
I'm looking for opinions on using Hibernate with struts. Pro's /cons. etc.
My ap
Hibernate rocks
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 10 de fevereiro de 2005 12:58
To: user@struts.apache.org
Subject: Hibernate object relational mapping
I'm looking for opinions on using Hibernate with struts. Pro's /cons. etc.
My ap
Authentication information (user is logged in) must be stored on the
server side (session or database). It should not be given to the client,
because the client could manipulate it (setting isLoggedIn to true).
If you store it in the database you should use a non guessable random
number as a ke
Not yet.
- Original Message -
From: "kjc" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, February 10, 2005 8:04 PM
Subject: Validation question
> Is it possible to pass the incorrect field value that was entered by the
> user
> to the error message such that
>
>
Theres an outstanding bugzilla request for this
http://issues.apache.org/bugzilla/show_bug.cgi?id=22600
Niall
- Original Message -
From: "Norris Shelton" <[EMAIL PROTECTED]>
Sent: Thursday, February 10, 2005 9:50 PM
> I ran across this article
>
>
http://webdeveloper.earthweb.com/repo
I will be out of the office starting 10/02/2005 and will not return until
14/02/2005.
I will respond to your mail when I return.
For urgent matters concerning ADQ you can contact Koen Daenen or Walter
Zegels.
-
To unsubscri
David:
That worked! That is really cool.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
> -Original M
Erik:
This did not seem to work for me. The varuable is not being
substituted. I am using TOmcat 5.0.25 so it should implement
JSP 2.0.
Here is what I have in my JSP:
<%
String buttonImageUrl =
PathUtil.getImagePath(request,"layout/homeButtonOver.gif");
pageContext.setAttribut
Neil
I was doing that from memory so a quick check in the tiles TLD shows I gave
you the wrong attribute name. It isn't template but definition. I verified
this works in my current in-development webapp. Well, once I added the
tilesPlugin.
Regards,
David
-Original Message-
From: Neil
David:
I tried this index.jsp page:
<[EMAIL PROTECTED] uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
I have this in my tiles-defs.xml:
When I go to the index page, I get a blank page.
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, JAMM Con
A JSP can use the tiles taglib and pick a tiles definition to "show". This
is how I setup my webapps' index.jsp page. Tiles allows for two ways...
The first I use in my index page so my initial action does not have to be a
struts Action, just the plain old /index.jsp page:
<%@ taglib uri="/WEB-
Use Struts 1.2.6 and a JSP 2.0 compatible application server and have
your web.xml file set to use JSP 2.0 and JSP EL syntax -- then you get
the benefits of EL without the need for the struts-el packages. That's
what I use now on my projects with Tomcat 5 or JBoss 4 application
servers.
On Thu, 1
Testing.
Please ignore,
JQ
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm implementing container managed security in Tomcat using the JAASRealm.
Everything works as I expect it to, but I can't figure out how to get an
error message passed from my LoginModule back to my Struts Action class (I
specify in the that my pages are .do
actions). Is there a way to access t
I'm implementing container managed security in Tomcat using the JAASRealm.
Everything works as I expect it to, but I can't figure out how to get an
error message passed from my LoginModule back to my Struts Action class (I
specify in the that my pages are .do
actions). Is there a way to access t
I ran across this article
http://webdeveloper.earthweb.com/repository/javascripts/2003/12/341171/cssscroll.html
Has something like this every been implemented in the standard
code? maybe an inherit property.
I have 3 forms (LazyValidatorForm)and they all have to have
default the same fields or
having a checkbox with the same name as a hidden field prevented
the value from being evaluated. This was solved by putting the
script directly into the onclick method.
onclick=" if (this.checked == true) {
document.getElementById('${recordType.name}Box').style.display='block';
} else {
do
I am trying to verify if a string is anything Other than a money format such as:
// bigMoney means 9 or 999,999,999 allowed, max 9 digits in 11-char
field.
// Make sure NOT valid for weirdly placed commas like ",999" or "9,,999" or
"99,99"
inputString.match( "^\\d{0,9}$|^\\d{1,3}(,\\d{3
following code will display multobox (Multiple Checkbox) using Label
value bean List.
id="checkboxid"
This id will be referd in multibox tag , bean write tag
entries_list : is LabelValue Bean List
selectedEntriesArray : is Array O
Ich werde vom 07.02.2005 bis 20.02.2005 nicht im Büro sein.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dang it. This is not going to work for me. I have a check box.
If the check box is checked, I have some javascript looking for
the click event. If the check box has a .checked = true. I
change div's display value to block, else to none. So, you
check the check box and some radio buttons show
What do we do if we are using Struts 1.2.6 and need as in:
Thanks for any assistance!
--
The radiance of all the stars does not equal a sixteenth part of the
moon's radiance, likewise, good deeds giving us merit, all these do
not equal a sixteenth part of the meri
IIRC, the issue only involves the new errorStyle attributes. If
you're not using them, you don't need to worry. If you're using them
with the non-EL tags, you're fine, too. The issue would only be if
you want to use them with the EL tags, because the support isn't there
yet.
Hubert
On Thu, 10
What do we do with Struts 1.2.6 and using in this case?
Thanks for any assistance.
On Mon, 07 Feb 2005 13:32:53 +, Graham Reeds <[EMAIL PROTECTED]> wrote:
> Niall Pemberton wrote:
> > http://www.mail-archive.com/dev@struts.apache.org/msg05862.html
> >
> > From memory, version 1.2.6 was left
Now I see clearer what you were saying. I found this in the
java forums.
http://forum.java.sun.com/thread.jspa?threadID=242031&messageID=2946045
It worked like a charm.
I wonder why the html:checkbox docs don't mention this.
Thanks for your help.
--- Cédric Levieux <[EMAIL PROTECTED]> wrote:
Is it possible to pass the incorrect field value that was entered by the
user
to the error message such that
errors.email={0} is an invalid e-mail address.
gets generated as
"someIncorrectEmailAddr" is an invalid e-mail address
Thanks in advance.
I do a dropdown list as follows with a list holding label value beans:
How would I put these into a mulit-checkbox? Thanks for any assistance.
--
The radiance of all the stars does not e
Hi
Thanx for all the information, i can now try to find a
solution using one of the ways
Ashish
--- PA <[EMAIL PROTECTED]> wrote:
>
> On Feb 10, 2005, at 16:44, PA wrote:
>
> > Well... there is no simply solution to this
> problem... to make matter
> > worst, you have dynamic IP address... sig
GMane (www.gmane.org) offers the Struts mailing list as an NNTP
newsgroup and as an RSS feed. It might be really easy to come up with
something off of these interfaces.
-- Jeff
Jason Long wrote:
Is there a way to batch download archived struts messages for my own search
implementation?
Thank yo
Neil,
Unfortunately I know of no "better" way of accomplishing this. Redirects are
for the benefit of the user anyway -- they get a new address bar location --
and so this really shouldn't be an issue.
Thanks,
Paul
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: T
Paul:
I see.
I did this which worked:
Is there a better approach to doing this?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months
Is there a way to batch download archived struts messages for my own search
implementation?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineerring
http://www.supernovasoftware.com
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PRO
Is there a way to batch download archived struts messages for my own search
implementation?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineerring
http://www.supernovasoftware.com
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PRO
Hi All,
What do people feel about using constants for property names?
In general I feel one should use constants for such things, but it is
far from easy in a web app to do so.
If I define a constants class (e.g. com.plok.app.constants.Keys) I can
use this in everywhere in java code and in *m
Neil,
You cannot redirect to a Tile. A Redirect is specific to a URI.
Thanks,
Paul
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 12:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Redirect instead of forward in action mapping
Bil
On Thu, 10 Feb 2005 15:18:27 +0100, Gaet <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm writting a web application using J2EE where several pages can contains
> the same images.
> I would like to have the path to these images into one place an if possible
> into the same place for all images.
> Fo
All good points
-Original Message-
From: Soaring Eagle [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 12:18 PM
To: Struts Users Mailing List
Subject: Re: Hibernate object relational mapping
Well, hibernate does the one thing of database access very well, but
one still has to
Well, hibernate does the one thing of database access very well, but
one still has to learn hibernate - just as one would have to learn SQL
or JDBC and one still has to maintain hibernate when your business
object design or data schema changes - just as one would have to
maintain SQL and Data Acces
Bill:
I tried adding the redirect="true" parameter to my success
forward and it does not seem to have an effect. When
I get to the success page and hit the reload button on my
browser, the form data is posted again.
You can try it by going to:
https://dev.jammconsulting.com/pricetracker/register
I honestly don't know how much different using Hibernate will degrade as
compared to using Stored Procedures... But, on top of the advice
everyone else has given you, you might look at Ibatis. I personally have
never used it, but I mean to soon.
My thought is this: Its fairly easy to write your
One alternative is to use the "srcKey" attribute for both the
and tags to specify a key in your Message
Resources properties file whose value is the URL.
-Bill Siggelkow
Gaet wrote:
Hello,
I'm writting a web application using J2EE where several pages can contains the
same images.
I would like
Try http://marc.theaimsgroup.com/?l=struts-user
On Thu, 10 Feb 2005 12:04:19 +, draegoon Z <[EMAIL PROTECTED]> wrote:
> Is there anywhere to get the most recent emails from an archive for struts?
>
> Meaning Feb 2005.
>
> Thanks.
>
>
Hibernate 3 (now in beta) will support stored procedures. I think they may
even be available in the current 2.x branch.
DW
- Original Message -
From: "Brian McGovern" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ; "Soaring Eagle"
<[EMAIL PROTECTED]>
Sent: Thursday, February 10,
That was my question. From what i understand hibernate uses sql statements not
stored procs. And i assumed that even though it was more coding on my part,
that using stored procs and JDBC i could achieve faster db interaction.
But we all know what happens when we assume.. haha
-Original
why would app speed be threatened? is it a big threat (like 50 %
downgrade or 10% downgrade?). Whats the problem with stored
procedures? I thought they were better than pure java.
On Thu, 10 Feb 2005 10:40:52 -0500, Brian McGovern
<[EMAIL PROTECTED]> wrote:
> Don't get me wrong, i wasn't knocking
On Feb 10, 2005, at 16:44, PA wrote:
Well... there is no simply solution to this problem... to make matter
worst, you have dynamic IP address... sigh...
Couple of options:
Forgot one more option:
- If your are in a Windows environment, you could leverage information
from CIFS's UniAddress.
Chee
For 95% of your application, this won't be a problem. It's the 5% that
you will have to take out of the persistance layer and tune that will
be where your optimization of they query will be required.
On Thu, 10 Feb 2005 10:40:52 -0500, Brian McGovern
<[EMAIL PROTECTED]> wrote:
> Don't get me wron
On Feb 09, 2005, at 21:39, Ashish Kulkarni wrote:
Is there any thing unique to identify the client
machine(desktop) other then IP address?
I have a situtation where in my intranet, i need to
identify the machine uniquely and do some processing,
But the problem is that we dont haev static IP
address
Hi
This is not the exact requirement to display floor
plan, i have production line in factory and the worker
needs to know his production plan for that, and he is
not allowed to touch the screen or enter book mark,
this is very crucial to display the correct line, or
else he will end up manufactor
Don't get me wrong, i wasn't knocking it. But my main concern is app speed
difference using stored procs or hibernate.
-Original Message-
From: Lee Harrington [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 10:10 AM
To: Struts Users Mailing List
Subject: Re: Hibernate object r
You implement org.apache.struts.action.Plugin, something like this:
public void init(ActionServlet controller, ModuleConfig config) throws
ServletException {
ServletContext app = controller.getServletContext();
app.setAttribute("somePath", getSomePath(controller));
}
. . .
protected Stri
If I were to be given this requirement, I'd just create a bookmark with
the appropriate floor number on each computer. For computers on the
fourth floor, I'd create a bookmark
'http://somecomputer/showmap?floor=4'. I think that the problem of
mapping dynamically allocated IP addresses to comp
Hi Bill, I am happy for having answered:)
Good, they are some parts of the source code there:
I do not want that ID, NAME and X are OBJ Array inside, but yes, to
have a OBJ Array and to validate the data using this Array.
On Thu, 10 Feb 2005 09:01:09 -0500, Bill Siggelkow
<[EMAIL
Brian,
I use hibernate for a couple of reasons, some of which have already been
mentioned. In some cases using hibernates sophisticated caching system can
greatly improve the speed of an application. I have also found that the
more I can think about the OBJECTS in my application without the co
From: "Gaet" <[EMAIL PROTECTED]>
> I'm writting a web application using J2EE where
> several pages can contains the same images.
> I would like to have the path to these images into
> one place an if possible into the same place for all images.
I have Apache serve images directly, so all my webapp
I use hibernate...it's not a "tool for those who don't know sql" -- as
I've been a database developer for 20+ years.
It's a tool for those who:
1. don't want to have to write a lot of redundant code just to
insert, update, delete
2. don't want to have to hand code "class.property =
recordset.getF
Thanks very much for your help Erik.
Do I abuse if I ask you your Struts' plugin you are talking about?
TIA
Gaet
- Original Message -
From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, February 10, 2005 4:02 PM
Subject: Re: Handle images path in one
At 7:34 AM -0500 2/10/05, CRANFORD, CHRIS wrote:
I have a form which needs to display several dropdown combo boxes, one in
particular is to be populated with values as follows:
Today
Yesterday
This Week
Last Week
This Month
Last Month
Last 3 Months
This Year
Last Year
series of
Hi
thanx for the mail, here is my problem we have
machines installed on different floors of building,
and we have to design a web page which will give floor
plan and display it on that machine browser, so if the
machine is on 4th floor we want to display the plan of
fourth floor, if the machine had
Using the expression language, you can build paths like this:
The "somePath" variable could be an application scope attribute
(ServletContext attribute). I have done this before by writing a
(Struts) plugin that gets "somePath" from web.xml (init-param) and
stores it as a ServletContext attribu
I'm looking for opinions on using Hibernate with struts. Pro's /cons. etc.
My approach for data driven apps where the data changes rather frequently,
would be jdbc interaction with stored procedures that populate beans that get
passed around the app. But im hearing so much about how hibernate
Hello,
I'm writting a web application using J2EE where several pages can contains the
same images.
I would like to have the path to these images into one place an if possible
into the same place for all images.
For instance in a file and have a tag to access like this
like this I can move my i
Please provide some specifics, e.g. snippet from your validation.xml.
You can use the validator to validate indexed fields using the "indexed"
attribute.
-Bill Siggelkow
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You should *not* navigate directly to that page; instead you need to go
through an Action; the only way that Struts will switch the module is if
the request is processed by the Struts RequestProcessor. While the JSP
might display when accessing it directly, any module-specific resources
(e.g.
I had a very similar problem some months back. It turned out to be a proxy
server in the network caching pages too aggressively. We have a welcome screen
that says hello to the user by name, based on a value pulled from session.
Many times, anyone who logged in would be greeted by the wrong n
I had a very similar problem some months back. It turned out to be a proxy
server in the network caching pages too aggressively. We have a welcome screen
that says hello to the user by name, based on a value pulled from session.
Many times, anyone who logged in would be greeted by the wrong n
Here's a bit of code to put into the onload() event handler of your
dialog. (This has only been tested on IE.)
var chromeHeight = /^[0-9]+/.exec(window.dialogHeight) -
document.body.clientHeight;
var contentHeight = document.all.mainLayer.offsetHeight;
window.dialogHeight = (contentHei
Jason Long wrote:
I always use numeric references such as & = &
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineerring
http://www.supernovasoftware.com
In Laurent's case, this would have the same problem. & and &
are completely equivalent, anywa
Hi
Friends of the list, I am having a great problem with input Array,
as much with ActionForm how much with DynaActionForm... I obtain to
perfectly validate with ActionForm an Array of String, but I do not
obtain with an Array of another object, as for example, a class of the
project... It will
-Original Message-
From: Brown, James [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 4:30 PM
To: user@struts.apache.org
Subject: session race / transfer issue
We have encountered a problem in which it appears (from user's
description, transaction records, web application log
directly you can call that file.
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 6:34 PM
To: Struts Users Mailing List
Subject: using modules
hi,
I have configured one module "module1" apart from the default module. Can I
navigate to
hi,
I have configured one module "module1" apart from the default module. Can I
navigate to the jsp files directly in that module or I have to always make
a switch from default to module1 and vice versa ?
Here is my directory structure
rootContext\file1.jsp
rootContext\module1\file2.jsp
Thanks
ok
-Original Message-
From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 6:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Taglib vs. Action To Populate LOVs.
Great, thanks for the input ...
-Original Message-
From: Krishna Srinivasan, ISDC Chen
Great, thanks for the input ...
-Original Message-
From: Krishna Srinivasan, ISDC Chennai [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 7:48 AM
To: Struts Users Mailing List
Subject: RE: Taglib vs. Action To Populate LOVs.
It would be better to use options tag.
-O
It would be better to use options tag.
-Original Message-
From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 6:04 PM
To: 'user@struts.apache.org'
Subject: Taglib vs. Action To Populate LOVs.
I have a form which needs to display several dropdown combo bo
I have a form which needs to display several dropdown combo boxes, one in
particular is to be populated with values as follows:
Today
Yesterday
This Week
Last Week
This Month
Last Month
Last 3 Months
This Year
Last Year
series of Month/Day/Year values
All
I wanted to ask oth
Is there anywhere to get the most recent emails from an archive for struts?
Meaning Feb 2005.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I don't think that's possible, unless you can figure out a way to calculate the
size of the content that will appear. You might be able to open the window and
place everything within a , then read it's innerwidth style attribute and
set the size of the window (it is possible to resize an existi
I don't think that's possible, unless you can figure out a way to calculate the
size of the content that will appear. You might be able to open the window and
place everything within a , then read it's innerwidth style attribute and
set the size of the window (it is possible to resize an existi
Because when you uncheck a checkbox you don't send this field and the
form process let the previous value in place
One of tips of mine is to put a hidden field with the same name and to
see the field as an array : when it contains only one value the
checkbox is unchecked, checked otherwise
Hope i
For storing user info, using sessions is the best way. Think about not
using sessions: you should someway propagate an "ID" of the user between
requests. Luckily, J2EE applications store a session ID as a cookie or (if
cookies are not enabled) propagates it in URLs.
But be cautious using session, d
There is the MAC address, but only if you are connected to the same
switch/hub. Otherwise, it will fail because the MAC address is usually the
one of the default gateway.
The big big problem is that almost everything can be spoofed. IP address
can be spoofed (well at least the response never arrive
89 matches
Mail list logo