I am trying i18n my application by adding a Resources_ru.properties, and it
seems to work. However, I can not get the Unicode characters to work
correctly.
I have looked at HP's example, and they use unicode escapes for their
messagesis there an easy way to convert Strings to Unicode
userLog should start with lower case.
From: Steven Dahlin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: no getter method
Date: Sat, 23 Feb 2002 11:17:58 -0700
javax.servlet.jsp.JspException: No getter method
ok, i promise i will:
1. stop using obscure, hairy acronyms.
2. cease and desist from OT EJB references (oops! there i go, i broke #1.
no more. i promise!).
3. drink at *least* one beer.
:)
i hope you all had a fine weekend!
--e--
On Fri, 22 Feb 2002 13:09:58 -0800, Eugene Neymark
i'm building a test application with struts in order to learn it better.
out of curiosity, i was wondering what sort of useful functionality people
are building into a Base Action class (i.e. a super class for all actions),
and how (in general) they are using them to fulfill specific business
what is the general accepted practice for handling logins and securing
access with struts?
from a review of the archive, it seems that way *not* to do it is to use a
isLoggedIn flag that gets passed from page to page. and, that the
canonical approach is to utilize Action.perform(...) to
You want to set a session-level boolean value (actually Boolean, not
boolean, since you can only store proper objects in the session scope),
indicating whether the user has logged in.
Here are three ways to build a framework with Struts to check for
logged-inness. I've used all three in
There's this one,
http://cvs.apache.org/viewcvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/SuperAction.java
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web:
has anyone encountered special cases where they've had to come up with some
unique way of handling logins?
Why not use container managed authentication?
You don't need to protect your pages statically using statements in web.xml.
If you need to protect specific pages, then redirect
I have a logon page that is internationalized and working correctly. I did
this by changing the html header information to work with UTF-8 and I set
the @ page contentType to work with utf-8 and I put in a html:html
locale=true as well.
Now my Russian characters are displayed as expected.
CyberZombie == CyberZombie [EMAIL PROTECTED] writes:
CyberZombie Trying not to cheer too much (just a satisfied user), Cygwin is a
complete *nix environment that runs as a Windows process. I love symbolic links,
mounts, gcc, perl, awk and all the other tools --
CyberZombie
Michael == Michael Press Press writes:
Michael I just did this. I based my solution on the Dynamic Properties solution
by
Michael Kevin Wang
Michael
(http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01374.html),
Michael but I needed to do it without
Maris == Maris Orbidans [EMAIL PROTECTED] writes:
Maris hello
Maris If I compile my webapp with Tomcat 4.0 library it shows following
Maris warnings:
Maris saraksts.jsp: Warning #: 368 : variable EVAL_BODY_TAG in interface
Maris javax.servlet.jsp.tagext.BodyTag has been
Hi Bryan;
I went through all the options. Could you please elaborate on point number 3. If i am
going to implement this in my application , which is based on struts framework , How
to implement this.
Thanks,
Subhendu
-Original Message-
From: Bryan Field-Elliot [mailto:[EMAIL
Hi
I have a template jsp file which on the side bar displays the Latest News.
The latest news is retrieved from the database. I can do a database access
from the JSP or from a custom taglib, but this does not follow the MVC
pattern.
So, what I have done is have a BaseAction class this extends
Hi Dave:
thanks so much. This is helping. I think I know the answer to this
question but can you verify this with me:
- Based on what you said:
Request scope changes when the browser makes a request of the server.
Does this mean that invoking an http request to bring up a JSP page or
Bryan Field-Elliot wrote:
3. Don't use Struts at all for your login check. Instead, use Servlet
Filters (requires a Servlet 2.3 container such as Tomcat 4.0).
You could, of course, also use J2EE's declarative AI features.
--
Programmers are tools for converting caffeine into code.
Yes, you (and Torgeir Veimo in a prior message) are right, I could use
container-managed authorization. I'm just not a big fan of it -- it
hasn't bought me much, and since authorization/login check is such a
trivial amount of code, I just prefer it all under my wing. Perhaps
thats wrong.
On
I have an action as such:
---
action
path=/enterBillingEdit
type=express.BillingIDActionForm
name=BillingIDForm
Rest omitted to save space
---
and the form definition of:
form-bean name=BillingIDForm type=express.BillingIDForm scope
=request/
And I have an entry
Have you implemented the reset() method on the action form? I found that
struts calls reset more often than you would expect.
Tim.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 11:02 PM
To: Struts Users Mailing List
Subject:
Steve
I tried to compile your SecureRequestUtils code using servlet 2.1 and the
compiler says that aRequest.getParameterMap() does not exist.
Is your servletUtil based on Servlet 2.3?
Regards
Michael Mok
/**
* Creates query String from request body parameters
*/
public
Edward Q. Bridges wrote:
location independence means independent of location, that is all.
if you're implementing two interfaces to do (more or less) the exact same
thing, and one is called local and one is called remote that is
absolutely *not*, by any stretch of the imagination, location
Yes. As I understand it, as long as the Action classes are performing
forwards rather than redirects it will all be handled on the server side in
the same request. It is only when a response is returned to the browser that
the request will be ended. On the other hand, if a redirect is performed,
22 matches
Mail list logo