MyCart mycart = new MyCart(...);
request.setAttribute("cart", mycart);
is immediately visible to a JSP page which this servlet forwards to,
using a standard action tag like this:
I have 2 layers
One.jsp uses this mycart object and gets this object.
This page links to another jsp say- two.js
Funny you should mention this...Nick Heudecker (Hibernate Quickly) and
I have just agreed to write Struts in Action, 2nd Edition which will
target 1.2 and 1.3 as appropriate. Our goal is to bring the trusted
tome up to date, and include more practical solutions to common
problems that arise on thi
I'd switch on logging in debug mode - digester I think tells you loads about
what its doing, maybe you can work out from that whats happening at startup.
Niall
- Original Message -
From: "Stephen Peck" <[EMAIL PROTECTED]>
Sent: Monday, February 14, 2005 1:23 AM
> Thanks for the reply Nia
On Sun, 13 Feb 2005 17:22:01 -0700, Larry Meadors
<[EMAIL PROTECTED]> wrote:
> very soon
Very soon as in months or weeks? How do you know this and could you be
a bit more specific? What's the latest that you think it might come
out?
JQ.
---
Niall Pemberton wrote:
Many of the configuration options available using in the
web.xml were deprecated in Struts 1.1 and removed in Struts 1.2, including
the "mapping" one you're trying to use. The upgrade notes on the wiki have a
full list:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
Many of the configuration options available using in the
web.xml were deprecated in Struts 1.1 and removed in Struts 1.2, including
the "mapping" one you're trying to use. The upgrade notes on the wiki have a
full list:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
However having said
very soon
On Sun, 13 Feb 2005 18:36:55 -0500, David Johnson <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I've looked at Ted Husted's book "Struts in Action" and I think it's
> what I'm looking for, but it's a bit long in the tooth, publushed in
> Nov 2004.
>
> Does anyone (including Ted) have any id
Hi all
I've looked at Ted Husted's book "Struts in Action" and I think it's
what I'm looking for, but it's a bit long in the tooth, publushed in
Nov 2004.
Does anyone (including Ted) have any idea when a new version is going
to come out with authoritative coverage of 1.2?
Very much want this bo
I've decided to give struts menu a go anyway, but does anyone know
where I can get a dtd for the menu-config.xml file?
I'm having problems getting it to work. It refuses to stay anything
other than something resembling "???en_GB.Contact???" as the menu
name, and the link does work. Also when I i
Hi,
I am currently trying to set up a custom security model using struts
which involves extending ActionMapping
with a class called SecureActionMapping using Tomcat 5.0 and Struts 1.2.
My problem is that after initialisation of the actions, which definitely
creates and parses the extended action
I'm wondering if I can have a formbean containing a List of Strings. Is
that recognized by Struts correctly?
I need that for a shopping cart implementation, where the user can
modify the amount of the articles in the shopping cart. For each article
should be a text field for entering a number.
OK I see what you mean and I agree its not possible to configure validator
in the traditional way. So the question is what mechanism do you have that
tells you how to validate these fields? You must be getting some meta data
that indicates what validation needs to be done for a specific property? M
Hi,
PROBLEM:
Please help with my servlet mapping issue. It's
calling my redirector class repeately and the
redirector does not work.
REQUIREMENTS:
I want to give my client a personalized URL like
http://www.mydomain.com/myWebApp/FirstName_LastName
(NOTE: no file extension).
When the user enters
Hi all.
The last days I've been working in a Struts like
framework for .NET. I guess most people that work for
companies that develop both in Java and in .NET whish
they had something like Struts for .NET projects.
The framework is almost ready (when I finish and
publish it, in few days, I'll send
Hello Robin
I would recommend starting with an example on how to setup your first Struts
webapp..there are many examples but the login form example on the Struts
website can be easily modified to fit your situation
http://struts.apache.org/faqs/actionForm.html
then I would use whatever DB tools t
You need to write object/class that you can unit test outside of
Stuts.Lets call it Calc.java.
It would call a DAO (such as iBatis, there are tutorials to iBatis all
over the place, try Rick Reuman (spelling?)).
That would call SQL.
So in Calc you might have private methods:
private long getStar
Hi,
I'm doing a small timesheet app with struts using PostgreSQL as backend
and as I'm new to struts and also somewhat new to Java I'm trying to
decide where I should put the logic.
Each row contains a day, start time, end time and break time. Now, I
want the business layer to calculate the dur
Hi,
Can someone tell me if Struts-Menu is compatible with SSLEXT?
I've just started to look through a basic tutorial on Struts menu and
as links are defined as links are defined in an xml file the sslext
tags cannot be used. Is it clever enough to use SSLEXT if I just send
it to the correct acti
Niall,
Thanks again for the reply. I am afraid this is not going to work for
me, however. The problem is I don't see how I can "do nothing
different than normal validation". Normal validation requires the
field names and validations to be declared in the validation.xml file.
I do not know in ad
19 matches
Mail list logo