Darren, the examples serve as documentation to help you see how to use
various features of Struts; you can skip building them and still end up
with a fully functional framework. I don't know why the build isnt'
working correctly for you, but perhaps that's enough to allow you to
move forward.
Hello!
Thank you to all for your hints. Now, I want to tell you, what I did at last.
My application consists of nearly 100% forms. The application is logically
devided into two parts (-> represented by two browser windows), and it must be
possible to get from one part to the other. If somebody g
In the jsp code u givenonsubmit="return validateCustomerForm(this); but
in validator-user.xml the form name is custForm, so replace that with
onsubmit="return validateCustForm(this);
Thanks,
Srinivas.
L
On 8/29/06, Lakshmi Saritha <[EMAIL PROTECTED]> wrote:
Please clear me why the message is not coming from properties file.
Is the error in properties file or validator-rules.xml or some other.
Try adding an tag to your CustomerDetails JSP, I don't
see it there.
--
Wendy
---
Hello everybody,
I'm new to Java. I'm working on Struts now. I got this application from
one struts PDF. I've one jsp for customer details as follows:
CustomerDetails.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-html.tl
Hi All,
I am investigating the use of continuations for a page flow wizard. Can
anyone report the status of Struts Flow sandbox project? There has not
been an official release since 2004 (0.5 is not yet released). Has this
project stalled or been superseded by something else? Is continuations
fo
I need to find a decent IRC client for OS X.
--
James Mitchell
678.910.8017
On Aug 26, 2006, at 11:00 PM, Wendy Smoak wrote:
If anyone is on IRC, we have a channel: #struts on
chat.freenode.net .
It now (well, if I'm there,) has a strutsbot, though it doesn't know
much yet and isn't *n
Madhav Bhargava wrote:
I was going thru the struts source code and was in particular reading the
way they have implemented the synchronizer token pattern for preventing
multiple submits on transacional pages.
I saw that they have synchronized on session ID attribute. Is it possible
that multiple
Update:
I found out why the struts.home property is not holding a value. It is
previously defined in the build.properties file used by the build process.
Apparently, properties defined in the build.properties file are not mutable?
In any case, is there a point to me attempting to compile these exam
Hello all,
OK. I admit I am thoroughly confused. :)
> Note that there's a
> special
> consideration for checkboxes, though: if a checkbox
> is de-selected when
> the form is submitted, *no* URL parameter will be
> included for it. As a
> result, Struts has no way to automatically clear
> your
I am attempting to build struts 1.2.9 and having issues. It seems to build
the main struts.jar fine, but fails later in the process when building
mailreader.
I guess I have two questions.
First, is there any value in building the struts-examples? Do they provide
any functionality to the framewor
I was going thru the struts source code and was in particular reading the
way they have implemented the synchronizer token pattern for preventing
multiple submits on transacional pages.
I saw that they have synchronized on session ID attribute. Is it possible
that multiple session share the same
You left container managed security off your list; that's the most
'standard' solution, but isn't necessarily the most portable since parts
are container implementation defined. A filter is probably the most
flexible alternative if container managed security isn't viable, but it
really depends
[EMAIL PROTECTED] wrote:
Hello!
Is it possible to create a new session for an already logged in person (which
has an actual session) without invalidating the existing session? It's necessary
for me to have the old session before creating an additional one, because I have
to get few datas from th
On 8/28/06, Thomas Hamacher <[EMAIL PROTECTED]> wrote:
My current implementation is close to the default struts-implementation, so
the "UnauthorizedActionException" is thrown, if the user is not allowed to
access this action. But in this case the tomcat shows an error 500 with the
given error-me
All,
I have a jsp page, to add new records to the database. Now, when the records
are added succesfully I have to come back to the same page with the fields
populated with the added values.
how do i achieve this ?
Please let me know.
Thanks
Hey Everyone,
I am trying to use a custom session timeout JSP. To do this, I extended
"RequestProcessor" and overrode "processPreprocess" and added the following
code:
HttpSession sess = req.getSession(false);
if(sess == null){
// even when the session
It's not that he wants to save everything when the session is invalidated.
He wants to have two HttpSession objects, representing the same user.
On 8/29/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
> Hello!
>
> Is it possible to crea
Tom Ziemer wrote:
a) If you send p to the server, your persistence layer will save it for
you and update the id-field, yet this is not visible in the object on
the client, this will force you to have an API like
public Parent saveParent(Parent p);
or
public Long saveParent(Parent
Hi,
actually its the problem of the proper architectural design. If you
assume that your client works with objects internally used in the
business layer like in your parent-child example, you are screwed
regardless of hidden updates.
(Btw with CORBA your use-case won't happen, if you design Pare
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello!
Is it possible to create a new session for an already logged in person
(which
has an actual session) without invalidating the existing session? It's
necessary
for me to have the old session before creating an additional one, becau
Hi everybody,
This is rather off topic (and a repost from a different list), but this
is bugging me and I am sure, lots of you have faces a similar problem.
Basically it boils down to remoting via web services, RMI, Corba, etc.
and passing objects by value instead of by reference.
Please consider
I'm dying to know why you could possibly want 2 sessions.
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello!
Is it possible to create a new session for an already logged in person
(which
has an actual session) without invalidating the existing session? It's
necessary
for me to h
It's tricky to force a new session, and most of time depend on the
container.
Since you want to keep a few datas of your session, i'll recommend you
try using
Enumeration HttpSession.getAttributeNames()
HttpSession.removeAttribute(String name)
[EMAIL PROTECTED] a écrit :
> Hello!
>
> Is it possib
Hi,
request.getSession(false) retrieves a session only if it already exists
request.getSession(true) creates a new session if there is no old one
otherwise the existing one is returned.
I don't see a possiblity to have multiple sessions at the same time.
Best wishes,
Ingo
-Ursprüngliche Nac
Hello!
Is it possible to create a new session for an already logged in person (which
has an actual session) without invalidating the existing session? It's necessary
for me to have the old session before creating an additional one, because I have
to get few datas from the old session for the new
I guess the best practise for secure struts webapp can never be answered by
listing a few items of "what to do and how to do". It is a complicated topic
and has many situation like for LAN, WAN ...
Besides, will struts continue its development rather than enhancement? Or
webwork will replace it s
put secure page under /web-inf
you can create a tag for checking session validation and/or user object.
On 8/29/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
The options number 2 and 3 (filter and action) sound both very hale to me.
If you just want to separate between logged in and not logg
The options number 2 and 3 (filter and action) sound both very hale to me.
If you just want to separate between logged in and not logged in users
i would go for option 2.
If you need fine-grained separation go for baseaction and make not
only login check but also for action-dependant permissions.
Chetan Pandey ha scritto:
<%
response.sendRedirect("/loggingAction.do?function=login");
%>
This does not work if your webapp is not in the ROOT context (that is
the 99% of cases when developing).
Either use a relative path (i.e. remove the first '/') or use:
response.sendRedirect("/" +
Hi everyone,
I think I have a very basic question here, but after spending some time with
google I haven´t found a real solution to this question: What is the best way
to secure a struts webapplication to be sure, that only logged in users are
allowed to do some special action and access some s
hi,
try:
onclick="<%="this.value='"+labelPrinterButton+"'"%>'"
regards
Leon
On 8/29/06, Laurent Duparchy <[EMAIL PROTECTED]> wrote:
Hi,
I'm forced to use a scriptlet to insert a localized label into a tag.
The code is this ;
(Note : this code is changing a button display by an image, defined
Hi,
I'm forced to use a scriptlet to insert a localized label into a tag.
The code is this ;
(Note : this code is changing a button display by an image, defined in
the css file. )
onclick="this.value='<%=labelPrinterButton%>'"
styleClass="buttonPrinter" title=
Hi,
I am working on a web app using Struts 1.2.4 (+ Spring 1.2.6 + Tomcat 5.5.9).
The app has two versions - English and Traditional Chinese. I use
ResourceBundle + tag to achieve this.
Properties file
==
WEB-INF/classes/message.properties
WEB-INF/classe
34 matches
Mail list logo