Subject: Re: Struts configuration problem with Apache + Tomcat + Struts
HELP
From: Hyunjin Kim [EMAIL PROTECTED]
===
Well.. Sorry for being not clear on my last msg..
I actually had:
VirtualHost 111.111.111.111
ServerName asdf.com
WebAppConnection conn warp
I'm not sure if this helps since I'm still learning struts too...you mentioned that
*.do is not being recognized by TomCat huh...well, I wonder if it's because you did
not configure your web.xml properly. Anyway, this is how I define the *.do in my
web.xml:
servlet-mapping
Wow. I just tried it again and it works beautifully. You learn something new
every day. It simplifies things to be able to use a definition in a path
rather than having to specify the location of a two line file that just has
a tiles:insert. I think it had something to do with the DOCTYPE. I had
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
So, what you changed to make it work? To me, it still doesn't work, even I
use servlet 2.3 (I'm using Tomcat 4.0.3) DOCTYPE, and struts 1.1 DOCTYPE.
same configuration with forward to a jsp, it works
run-time expression.
it means you can pass a script variable
like param=%= scriptVariable %
--- Bill Page [EMAIL PROTECTED] wrote:
in the tag docs I see a [RT Expr] in a lot of the
attribute definitions.
What does this mean? I can't find a def anywhere in
the struts docs.
thanks
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Well, I don't think this is the problem.
If I had to use forward attribute instead of forward tag, How can I forward
to different page depend on the result?
Jack
Wellie W. Chao [EMAIL PROTECTED]
Yes, that would be a problem. I'm building some pages now that will make use
of findForward, so I'll let you know if I experience success with the
forward elements within an action block. If I have problems too, then it's
probably a bug in Struts where the forward attribute works but enclosed
Hi Jack,
As I said earlier I had exactly the same problem as you and so now I've done
a little detective work to try and figure it out. Here is what I've found.
At the bottom of my struts-config I have this.
!-- == Associated Request Processor settings
=== --
!--
Subject: Re: Weird problem with tiles and struts forward.
From: Jack Gao [EMAIL PROTECTED]
===
Hi, Brendan
Yes, it works Thank you guys so much
Yes, the problem is the controller for tiles, after I add it in my
struts-config.xml file, I got it work!
Thanks a lot in deed, this is a
Hi, Peter,
I hope this'll answer your question.
If you use lt;logic:iterategt; to loop through a collection. you can use
lt;logic:equal ..gt; to compare the value, the best way (in my opinion) is to use a
collection of objects, then you can compare the property in the object. However,
You would use a transfer object (see EJB Design
Patterns -- a good book).
There are a large number of options for getting the
data from the formbean into the dto.
The conventional thing that a lot of people are doing
is to have the data transfer object (j2ee blueprints
have recently changed
11 matches
Mail list logo