Hi all,
I am a new struts user utilizing it for my uni project. I have reached a point that I
do not know how to handle the struts way and am really stuck! I spent a lot time on
this and I would be grateful for any further info!
I am dynamically producing some search results. I will be
current project we are using an adapted version of the LinkXTag
class provided with the struts example application. Check out this class
and I hope it is what you need.
Kind regards
Dennis Hunziker
-Original Message-
From: Theodosios Paschalidis [mailto:[EMAIL PROTECTED]
Sent: Sonntag
Hi all,
I am trying to setup a database driven web site that displays unicode characters. I
have spent much time on this but my attempts have been unsuccessful.
I have tested my JDBC business logic with the database and works fine but when I use
my application to perform a search it fails to
/filter-mapping
- Original Message -
From: Theodosios Paschalidis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 5:11 PM
Subject: Tomcat/Struts Unicode Encoding/Decoding problems
Hi all,
I am trying to setup a database driven web site that displays
, January 23, 2004 4:11 PM
Subject: RE: Tomcat/Struts Unicode Encoding/Decoding problems
From: Theodosios Paschalidis [mailto:[EMAIL PROTECTED]
here is the beginning of my xml document.
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee
Hi all.
I am internationalizing my application and I was wondering whether the standard
validators can be used with Unicode (greek) characters by the proper modification of
the regular expression. Standard [a-z] expressions doesn't recognize unicode
characters, throwing the predefined error.
24, 2004 9:48 PM
Subject: Re: Validation for Unicode characters?
Theodosios Paschalidis wrote:
Hi all.
I am internationalizing my application and I was wondering whether the
standard validators can be used with Unicode (greek) characters by the
proper modification of the regular expression
Hi all,
I am trying to get my validator to detect the user's local by having this in the
validation.xml, before the alternative validation
form name=registerForm locale=el
As it is, it seems to use the server's default locale and not the client's.
I have already internationalized my JSPs by
Hi all,
I had to delete my application's temporary directory in Tomcat's
\work\Standalone\localhost because it was not running using my latest compiled files.
Now when I access my application I get the following error and I don't have a clue why
that is so! Any ideas?
Thank you for your
Thank you guys,
appartently it was just that in my index page i was reffering to
/tags/struts-logic
rather than /WEB-INF/struts-logic.tld The strange thing is that I did not
make ANY changes between deleting the temp file and reaccessing my app !
Theo
- Original Message -
From:
Hi all,
a quick newbie question.
When I use an ActionError in my Action class in conjuction with the Validator, I get
all my errors reported as server side validations (i.e. no java script).
I have found the following code in the book Struts In Action to handle that but I
guess it's
Hi all,
just a newbie question. I have a PlaceOrderAction and I want to display as an
ActionError the items that were out of stock.
I would like to be able to pass a String to my ActionError. Is there a way to do this
may using Format? Could somebody provide an example?
Suppose I have a
( Globals.ERROR_KEY, errors );
fwd = new ActionForward( _mapping.getInput() );
}
}
Theodosios Paschalidis wrote:
Hi all,
just a newbie question. I have a PlaceOrderAction and I want to display
as an ActionError the items that were out of stock.
I would
Hi guys,
I had similar issues with Greek. Certain regular expressions that were
supposed to work with Unicode characters, actually didn't.
A Struts fellow suggested changing the xml's encoding to UTF-8 as follows
?xml version=1.0 encoding=UTF-8 ?
I was then able to insert Greek characters
Hi all,
I was just trying to figure out how to do that. (newbie) I have an app that
has some pages available for all, some for logged in users and some for
administrators.
I prevent access to logged-only pages by a tags that hide the relevant
functionality.
I have now written an abstract
on
if (isLogged(request)) {
HttpSession session = request.getSession();
LogonForm user = (LogonForm)
session.getAttribute(Constants.USER_KEY);
return (user.isAdmin());
} else {
return false;
}
-Original Message-
From: Theodosios Paschalidis
.
Adam
On 03/13/2004 11:43 PM Theodosios Paschalidis wrote:
Struts seems to be erratic! It first worked then with no changes it
didn't!
Something is going terribly wrong with how the server updates the
classes...
I believe the safest bet is to do it my jsp.
-Could somebody please give
Hi all,
I have unsuccessfuly spent all this time trying to figure this and it must be very
simple...
In my JSP I have code like this:
logic:equal scope=session name=userid property=Admin value=false
for a bean boolean property defined like this:
private boolean admin = false;
public boolean
Hi Kunal,
I do not use Tiles nor the DynaValidator but I get the same in a certain
Form. I use Struts 1.1
Theo
- Original Message -
From: Kunal H. Parikh [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 9:38 PM
Subject: RE: Struts
Hi all,
in my application I use both the validator for client side validation and server side
validation. My problem is that when validation fails, I get the error reported as
server side and not in a Javascript fashion.
Additionally when a validation error occurs my reset button does not
Hi Sam,
reset seems to work fine when using ValidatorForm. Nevertheless if your
action throughs a GLOBAL.ERROR and you do a
return (new ActionForward(mapping.getInput()));
reset won't work (at least that has been my experience)
Theo
- Original Message -
From: as as [EMAIL PROTECTED]
To:
Hi all,
I am trying to execute an Action using only a dummy form (empty). I have
successfully used this in other occasions but it seems to fail now.
In my config I have
form-beans
form-bean name=closeOrderForm type=app.CloseOrderForm /
/form-beans
!-- CLOSE ORDER --
action
code and see
what you're casting. Post the code so others can see, too.
--- Theodosios Paschalidis [EMAIL PROTECTED] wrote:
Hi all,
I am trying to execute an Action using only a dummy form (empty). I have
successfully used this in other occasions but it seems to fail now.
In my config
23 matches
Mail list logo