Not beeing in a real JSP (your servlet doesn't extend any JspServlet)
may cause some troubles to your servlet container.
To evaluate EL expression, you should consider using Jelly and Jexl
language from jakarta-commons. I did it with success.
Nico.
f. a écrit :
Hi,
I am currently developping
In relation to this area it's probably worth tracking JSR 227 - A
Standard Data Binding Data Access Facility for J2EE
(http://www.jcp.org/en/jsr/detail?id=227)
Which provides, in metadata, an abstraction of the business service in
terms of collections and operations. Allowing the view
Hi,
I am not sure why you want to have a central controller and secondary controllers.
My experience is that if you have single controller,the application is more easy to
maintain.
But if at all you want different controllers because you have different modules, then
may be in struts 1.1 , you
On Tue, 16 Mar 2004 as as wrote :
Hi,
Try my snippet below
I populated my jsp/form bean with values from database (dynamic)
td
%
java.util.List driversList = (java.util.List)request.getAttribute(drivers);
%
Can i know what fullName,supervisor,supervisors ,employeeID i fpossible pl.
You're talking about breadcrumbs as site navigation - just to be clear,
because there is another implementation of breadcrumbs as history
navigation.
It is relatively simple to implement (and maintain) a navigation
breadcrumb menu using Tiles, which shows the position of your page in
the
Add the following headers to your js/staticJavascript.jsp file to tell
your browser not to cache it:
%
response.addHeader(Cache-Control, no-store, no-cache,
must-revalidate); // HTTP/1.1
response.addHeader(Pragma, no-cache);
response.setDateHeader (Expires, 0); //prevents caching at the proxy
%
Hello,
I know this could be a dumb question, but how do access the objects stored in the
ServletContext object using bean:write
a quick answer would help!!
I am surprised to see that the xpetstore @ sourceforge has a direct
interface between Actions and the session beans.
The delegate does make sense to me now and I'm going to implement it.
One think I've been wondering is about packaging all the classes. Do you
put the delegate classes and the
Hi Adam.
Your first question, regarding packaging
I keep that part simple, so I place all value objects in a model package,
say com.mycompany.myproduct.model. Both the ejb-jar and the web-jat
contain these classes.
Your second question, regarding generation value objects
I use xDoclets
ehh..Correction to third answer...
Actually the plugin caches the reference to the EJB Facade and the Service
Locator caches the home looked up from JNDI...
Is this really safe..?? :-)
- Original Message -
From: HG [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Hi
I have used the file tag of struts for uploading the file.
Can i specify the path seperator , or can i change the filename of the file
that is uploaded .
The problem is i want to change the file path seperator.
Regards
Kusum
Title: Message
Dear all,
i want to use
input
type="checkbox" name="active" value="1" %=(
appraiser.getActive()).equals("1") )?" checked ":""%
Yes/td
in strut html
like
html:checkbox name="AppraiserForm" property="active" value="1" /
but until now, i can find how to solve this
Definately u can change.Once get the file name in controller use replace
method to chnage
Sougata
-Original Message-
From: Kusum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 5:23 PM
To: Struts Users Mailing List (E-mail)
Subject: Form file object
Hi
I have used the file tag
Alex:
Your initial page is just a jsp, right? So why would you not use your action
mapping to say something like if success then forward to newpage.jsp and if
not forward to samePage.jsp..? This will work unless you are using this
refresh action in many pages..? In which case, you will have to
Hello All,
We have written a class RFFRequestProcessor which will extends
org.apache.struts.action.RequestProcessor. This is being used to validate
the values in request headers before control enters into execute() method of
action classes. When the application initialized struts not able to
You need to define the laytou of your pages? Did you define where Tiles
should put title and content? If not, he can't compose your page.
Take a look now in the path attribute.
definition name=tiles.view path=myLayout.jsp
put name=title value=PAGE TITLE/
put name=content
Andrew,
I used the exact same approach my in my action class, the array from request is
yielding null...
Any clues..
Thanks so much!
Andrew Hill [EMAIL PROTECTED] wrote:
I usually concatenate the array into a single string (using a delimiter such
as a comma) and then put this value into a
Hi Srikanth:
I tried to download the sample chapter via the link on
http://www.objectsource.com/ but seem to run into trouble..? I got the
following error message on the status bar of my browser: An error has
occurred while trying to use this document. I am using Mozilla 5 and
Acrobat 4..
Hi,
Have you tried to use html:multibox
Irwan Wijaya [EMAIL PROTECTED] wrote:
Dear all,
i want to use
input type=checkbox name=active value=1 %=(
appraiser.getActive()).equals(1) )? checked :% Yes/td
in strut html like
html:checkbox name=AppraiserForm property=active
Hi
I am having a problem with a simple Tiles based site using the
classicLayout.
The problem is that the menu only appears on the first page - if I select a
link to another page the footer,body and copyright are rendered but the
menu is missing.
Here is the tiles-defs.xml ;
?xml version=1.0
HI
My URL pattern in web.xml is
web-resource-collection
web-resource-nameemis-web/web-resource-name
descriptionRequire users to authenticate/description
url-pattern/emis/*/url-pattern
HI ,
Just go through the name of the file matches excatly file name existing
directory corrected.
Ex:
sample/web.xml/*/sample
Bye
MOHAN RADHAKRISHNAN [EMAIL PROTECTED] wrote:
HI
My URL pattern in web.xml is
emis-web
Require users to authenticate
/emis/*
POST
GET
Now
Is it safe? I really don't know. You'd have to ask someone else or
wait until I've got a couple of years experience with the service
locator pattern, and I'll let you know ;)
but regarding value objects - you use BeanUtils to copy the properties
into the form beans?
On 03/17/2004 12:34
bean:write name=foo property=bar scope=application/
Application scope, aka global, aka servlet context
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 5:14 AM
To: Struts Users Mailing List
Subject: scope question
Hello,
I know this could
Hi Uma,
Did you reference the RequestProcessor with its fully qualified class name
in struts-config? I guess you must have, otherwise you wouldn't have gotten
that great error msg. Anyway, it might look something like
snip
controller processorClass=a.b.c.ClassName
debug=0
Hi Adam
there is a good book on it!
http://www.corej2eepatterns.com/Patterns2ndEd/index.htm
i use it very often...
but more it's german version... :-)
however that covers j2ee1.4
cheers,
btw. under the sun, there is a code camps, or however they call it
for strtus and j2ee_patterns:
Hi Adam..
Well, I haven't experienced any problems whatsoever with this approach...so
I guess it is safe.
Sometimes I use BeanUtils to copy attributes but not very often...in my
opinion DTOs (or Value Objects) and the form bean is two totally different
concepts..therefore I like to keep them
Thanks Matthias. The codecamp looks like just the right thing.
Adam
On 03/17/2004 02:17 PM Matthias Wessendorf wrote:
Hi Adam
there is a good book on it!
http://www.corej2eepatterns.com/Patterns2ndEd/index.htm i use it very
often... but more it's german version... :-) however that covers
Clarification:
I did manage to download the pdf, but cannot seem to open i in Acobat 4.0:
the file apparantly is corrupted..
Geeta
Geeta Ramani wrote:
Hi Srikanth:
I tried to download the sample chapter via the link on
http://www.objectsource.com/ but seem to run into trouble..? I got the
I posted a question on using Struts with EJB but it got removed!
I assume that since the book doesn't cover this that it wouldn't be
discussed so that's why it was taken off?
-Original Message-
From: Srikanth Shenoy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 8:06 PM
To:
Clarification:
I did manage to download the pdf, but cannot seem to open i in Acobat 4.0:
the file apparantly is corrupted..
Geeta
I downloaded and opened fine. You are using a very old version of
Acrobat. My version is 6.0, so maybe it only supports a newer version?
--
Bryce Fischer
Hi Geeta,
The PDF was created using Adobe PDF 5 standard and using the encryption
to disable printing.
All Adobe PDF 5 files open in Adobe 4, except the encrypted ones.
There lies the problem...
You have to use Acrobat Readers 5 and above
-Srikanth
Geeta Ramani [EMAIL PROTECTED] wrote in
Hi Darrin,
I am surpirsed as to why would anybody remove the question even if the
book does not discuss EJBs.
Did you check if they move into other forums by any chance?
-Srikanth
Smith, Darrin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
m...
I posted a question on using Struts
Old versions of software - the story of my life.. (:(
However, the download page does say it should work with acrobat 4 and 5.. ?
Thanks for your response!
Geeta
Bryce Fischer wrote:
Clarification:
I did manage to download the pdf, but cannot seem to open i in Acobat 4.0:
the file
I looked at the EJB forum but it wasn't there. I might try to post it again
if you think you might have some insight on it, but since the book doesn't
cover it...
-Original Message-
From: Srikanth Shenoy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 8:54 AM
To: [EMAIL
Srikanth:
Thanks for your promt reply. Seems like I'll have to wait till I get home
and use some decent software then..;)
Geeta
P.S. You may want to correct the notation about acrobat 4 on the web site
then..:)
Srikanth Shenoy wrote:
Hi Geeta,
The PDF was created using Adobe PDF 5 standard
Hello.
I'm now using the SSLEXT for struts (following some advices frm the list).
Now I have my login action protected by HTTPS, but I want the user, after
login, being forward to the main page of the application using HTTP
protocol. Is this possible? Or I can only change the protocol in
Use the sslext:pageScheme secure=false/ on the main page.
This should switch it back to HTTP.
robert
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 9:58 AM
To: 'Struts Users Mailing List'
Subject: SSLEXT
Hello.
I'm now
I can't. Because my main page is not a page at all. It's a Tiles definition.
Where can I find the documentation about SSLEXT? I mean the description of
the tags?
Thanks,
JP
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 17 de março de 2004 15:09
To:
I think your forward will have to have redirect=true. Otherwise it
will still be the same http request and therefore the same protocol.
Using redirect=true causes a http redirect header to be sent causing
the browser to fire a new request.
I'm not sure on any of the above. Please correct me if
Okay. Then you should be able to place the following in your struts-config action
mapping for the main page.
set-property property=secure
value=false/
robert
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 10:17 AM
Geeta:
Yes, that's the point.This refresh action need to exist in many pages.
looks like it is easy to implement if it can just do a back operation in
that action class when false return. But actually as I know the action
doesnot provide such operation. So do you have some idea about this?
Ok, but the main page is still in HTTPS.
Let me try to explain the flow:
1. User enter with username and password
2. User submit the form to an HTTPS address
3. A LoginAction try to authenticate the user with the data transmitted
(username and password) with HTTPS protocol
4. LoginAction forward
Yes. Instead of forwarding directly to the Tile, define an action which simply
forwards (or redirects) to that main page (tile) and
in that action mapping configuration define it to be secure using the set-property
element.
robert
-Original Message-
From: Joao Batistella
It has to extend TilesRequestProcessor, not RequestProcessor.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 7:20 AM
To: [EMAIL PROTECTED]
Subject: Cannot initialize RequestProcessor
Hello All,
We have written a class
Hi All,
One of our customers has a problem when trying to upload a 800KB file.
I'm using struts1.1 with JBoss/Tomcat4.1 and an IIS (using the
isapi_redirector2.dll) in front of it.
I'm using the standard struts tag: html:file property=theFile size=40
/
When I watch the processing of her
Correction:
...in that action mapping configuration define it to be non-secure using the
set-property element.
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 10:52 AM
To: Struts Users Mailing List
Subject: RE: SSLEXT
Yes. Instead
Alex:
Here's an easy way to implement this: Have a hidden variable in each of your
jsps which reflects the name of the jsp you are on and use that in your action
class to prepare the forward (do you see what i'm saying..? I can elaborate if
you'd like..) . You could also use something like
I have searched the archive of the list and I came up empty.
I want to use validator.xml to indicate that a single checkbox must be
checked 'true' on my form. Has anyone had success simply indicating a
boolean field to be required?
I've noticed that in the client-side javascript that is
The following should work without changing any code in your LoginAction:
action path=/login
type=mypackage.LoginAction
name=formLogin
scope=request
input=/login.jsp
set-property property=secure value=true/
/action
My forward:
global-forwards
Thanks again.
But now I have this error message:
java.lang.IllegalArgumentException: Path tiles.initial does not start with a
/ character
This is because the following action:
action path=/initial forward=tiles.initial
set-property property=secure value=false/
/action
Any idea?
Thanks!
What makes a checkbox unusual is that it only submits a value when
checked - when unchecked nothing is submitted.
You should therefore be able to validate that it's been checked with a
standard required validator.
-Original Message-
From: Morowitz, Michael [mailto:[EMAIL PROTECTED]
Hello
Anyone out there using JDeveloper know how to add Java Web Services item
to General / WebServices Menu
Sorry for being completely off topic but I dont know where else to ask
Thank You,
Martin
-
To unsubscribe, e-mail:
Andreas,
While trying to debug the problem realized actual problem was not at the
startup. It getting loaded correctly doing its job well. When container
trying to destroy the servlet ie while stopping the server getting the below
exception.
ERROR (2004-03-15 10:30:42,329) [
Hmmm. Okay, then try using your original action mapping def:
action path=/initial
type=org.apache.struts.actions.ForwardAction
parameter=tiles.initial
set-property property=secure value=false/
/action
robert
-Original Message-
From: Joao Batistella
I've already tried. But this doesn't work... I don't understand why...
It seems that I'll have to create a page just to change the protocol. What
do you think?
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 17 de março de 2004 17:09
To: Struts Users
But, when I mark it required in my validator.xml, it doesn't work.
The javascript that is generated (validateRequired) does not apply to
fields of type checkbox. I suppose I could modify the javascript, but
I want both server side and client-side validation.
-M
-Original Message-
From:
Did you properly set the PlugIn and RequestProcessor in your
struts-config.xml file? I point this out because I remember a similar
message when I first started using Struts Tiles which was caused by not
specifying the TilesRequestProcessor (in my case).
From the Front page of
Sorry - didn't realise you were using javascript validation (should have
read your post more carefully).
You could add your own client side code:
script
function checkTheBox() {
if (!document.forms['yourForm'].myCheckbox.checked) {
alert(you must
Did you correct the typo in your original action mapping?
You had: parameter=tiles.inicial
Instead of: parameter=tiles.initial
Also, as David already pointed out, make sure you are using
SecureTilesPlugin, and SecureTilesRequestProcessor.
When you say it doesn't work, do you get any error
Hi all,
i´m doing some selects like this:
html:select property=foo
html:option key=please select value=null/
html:optionsCollection name=foo property=bar/
/html:select
Now, i have to validate, that the user has made his choice, which means
that the 'foo' property is notNull.
Does anyone
An easy way could be to use
html:option key=please select value=/
with the minLength validation, using your own custom error message:
in validation xml:
field property=foo depends=required, minlength
varvar-nameminlength/var-namevar-value1/var-value/var
msg name=required
That applies for the complete ebook :)
Since the purchased ebook is not encrypted to constrain the printing, it
will open up in Acrobat 4 reader too.
Only the sample chapter wont.. ;(
-Srikanth
Geeta Ramani [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Old versions of software -
ok, that's 3 strikes.. I'm out..:O
Srikanth Shenoy wrote:
That applies for the complete ebook :)
Since the purchased ebook is not encrypted to constrain the printing, it
will open up in Acrobat 4 reader too.
Only the sample chapter wont.. ;(
-Srikanth
Geeta Ramani [EMAIL PROTECTED] wrote
Hi,
Interesting...
yourForm- where do we mention this in the struts's html:form tag
Thanks!
Sam
(I had similar error where my form on submission would say .length is null...was
probably not able to invoke checkbox.length on the form already as struts form is
generated only after hitting
I know this probably violates some basic guidlines but...
I am trying to display an html link rendered by the message in the
ActionErrors section of a JSP.
My problem is that the '' and '' symbols are being replaced by ' l t;'
and ' # 034;' (their equivelent)
How can I prevent this translation
It works!
Thank you all!!
Do you know how to hide the data were sent in the request?
Now that I'm switching the protocol all the parameters that have been posted
appears in the browser address like this:
http://myhost:8080/myapp/initial.do;jsessionid=0AF3B29811F69DEE15CB0672EC248
I've already solved this.
I just put redirect=true in the forward config and it's ok.
Thank you all.
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 17 de março de 2004 18:51
To: 'Struts Users Mailing List'
Subject: RE: SSLEXT
It works!
Thank you
Use c:out value=${error} escapeXml=false/
robert
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 1:43 PM
To: [EMAIL PROTECTED]
Subject: Links within ActionErrors
I know this probably violates some basic guidlines but...
I
Hello,
I have an action and depending on the combo box value I need to
redirect to another action. How can I do that? An action calling another
action?
_
Vanessa Monteiro
Analista de Sistemas
Quality Software
3475-3000 r:5062
On 17/03/2004 13:33, HG [EMAIL PROTECTED] wrote:
Hi Adam..
Well, I haven't experienced any problems whatsoever with this approach...so
I guess it is safe.
Sometimes I use BeanUtils to copy attributes but not very often...in my
opinion DTOs (or Value Objects) and the form bean is two
ActionA ===calling===ActionB
In the forward attribute of actionmapping of ActionA specify the action path of ActionB
action name=actionAForm type=ActionA scope=request/session validate=true
input=xyz.do path=/A/do
forward name=callActionB path=/B/do redirect=true /
If I need to pass the method name to be executed in ActionB I can do it
using setAttributes, right?
_
Vanessa Monteiro
Analista de Sistemas
Quality Software
3475-3000 r:5062
[EMAIL PROTECTED] 17/03/2004 16:10:12
ActionA ===calling===ActionB
In the forward attribute of
Last time I check, isapi_redirect2.dll can not handle file upload bigger
then 100K.
You may try to check this bug with tomcat list.
-Dan
- Original Message -
From: JoAnn Lemm [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 8:08 AM
Say I have 2 (or more) lists that are part of a hierarchy, such that the first list is
a category (say Food Groups) and the second list contains children of each of the
first list's items (for this example, let's say Food Types).
How do I get the second list to be filtered based on the
My attempts to do this so far in Tomcat 5.x have failed (in my opinion),
resulting in very poor performance and broken images. SSLExt is a good
altenative, but I'm wondering why I have to go to this length.
At this point, I am going to say that this *seems* like a Struts problem and
not a Tomcat
Short of a reload, I believe only a JavaScript/DHTML function can provide this
behavior.
-Original Message-
From: Randy Dillon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:48 PM
To: Struts Users Mailing List
Subject: Hierarchical Lists
Say I have 2 (or more) lists that
YES, you can do that way ie set it before you call ActionB, inside ActionB you can get
that value and execute any block of code of your choice...but I believe there are some
other ways using which we can do it better.
-Original Message-
From: Vanessa Monteiro [mailto:[EMAIL PROTECTED]
I am having a problem with multibox. I need to have a set of checkboxes to
default on in my form. I found and followed Ted Husted's Struts Tip #7
http://husted.com/struts/tips/007.html - Use Multibox to manage
checkboxes and everything works well, except in one condition explained
below.
When
I'm still a little hazy on when reset is called on forms, but you may want
to try moving
marketing = marketingItems;
to the forms constructor, so when the form is created the first time its
holding the default values.
And inside the reset method:
marketing = null;
-David
- Original Message
Actually according to Ted inside the reset method your code should be:
marketing = new String[] {};
HTH,
David
- Original Message -
From: David Erickson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 1:22 PM
Subject: Re: Multibox
Try this:
http://www.oreillynet.com/pub/a/javascript/2002/02/08/iframe.html
--- Randy Dillon [EMAIL PROTECTED] wrote:
Say I have 2 (or more) lists that are part of a hierarchy, such that the
first list is a category (say Food Groups) and the second list contains
children of each of the first
Actually, I've uploaded a 3M file with no problem - so that restriction no
longer appears to be the issue.
Turns out that Tomcat's socket connection timeout out (she was using dialup
after all) and there was too long a delay between the data packets. As a
result, the socket closed before the file
From: David Erickson [mailto:[EMAIL PROTECTED]
I'm still a little hazy on when reset is called on forms,
Right before they get populated from the values in the request.
but you may want to try moving
marketing = marketingItems;
to the forms constructor, so when the form is created the
I'm trying to test if I got an Global Error with the following code in my
JSP:
logic:present name=org.apache.struts.action.ERROR
property=org.apache.struts.action.GLOBAL_ERROR
test
/logic:present
Is this correct? This does not print the test and I'm sure I have a Global
Error?
Thanks
The advantage of this approach, the way I see it, is that it allows you
to declare all your 'views' or 'transfer objects' in xml, and have them
strongly typed (as opposed to formbeans) - and that it works well with
BeanUtils.copyProperties.
Are there any disadvantages at the back-end because
I don't think I explained myself quite clearly.
WORKS: All the checkboxes on the form default to on.
WORKS: User leaves all checkboxes on.
WORKS: User turns some of the checkboxes off.
DOESN'T WORK: User turns all of the checkboxes off.
In the last situation, the form reports to the action that
Actually this is a pattern mentioned in EJB Design Patterns - Advanced Patterns
Processes and Idioms
called Data Transfer HashMap. You can download the pdf from TheServerSide.com. It's a
pretty good read.
The book goes into detail on the pros and cons of this pattern.
I've though of (but not done) the possibility of using css to hide and show
different versions of the second select list rather than adding/removing
elements with javascript. Not sure which would be a better way to go as they
both will require some scripting. The css hide/show version's script is
Derek,
That's an interesting concept. My CSS skills are pretty basic though. How could you
use CSS to do it? Would it work if the first list was multi-select with many
different possible combinations?
:- -Original Message-
:- From: Scherger, Derek [mailto:[EMAIL PROTECTED]
:- Sent:
I don't think I explained myself quite clearly.
WORKS: All the checkboxes on the form default to on.
WORKS: User leaves all checkboxes on.
WORKS: User turns some of the checkboxes off.
DOESN'T WORK: User turns all of the checkboxes off.
In the last situation, the form reports to the action
You might want to try logic:messagesPresent tag instead.
ATTA
- Original Message -
From: Joao Batistella [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 12:59 PM
Subject: Testing a GLOBAL_ERROR
I'm trying to test if I got an Global
You might use something like
select id=parent-list.../select
select id=child-1 style=display:none;.../select
select id=child-2 style=display:none;.../select
select id=child-3 style=display:none;.../select
select id=child-4 style=display:none;.../select
Then in the onchange event of the
Actually this is a pattern mentioned in EJB Design Patterns - Advanced
Patterns Processes and Idioms called Data Transfer HashMap. You can
download the pdf from TheServerSide.com. It's a pretty good read. The
book goes into detail on the pros and cons of this pattern.
Well... it wasn't my
If you just wanna do it using Javascript, then I can share with you something
I've used before. I uploaded them here:
http://www.rabago.net/select/select.htm - has three levels. The javascript
code is commented so you can follow what it does (in case you're not that
familiar with js)
Andy,
My personal project will have 5 distinct levels (a business of my own,
someday). The lowest level has individual powers, nothing shared. It makes
that particular level analogous to a shopping cart user: his/her 'stuff'
only. The groups/levels are in order from highest ability to lowest
Great book. Thanks for the link.
I think I need more knowledge of xdoclet before I make my mind up
though. This offers alot to mull over. Plus I'm also quite keen to use
faster, quicker patterns.
I use dynaactionforms in struts almost exclusively and regarding this
Data Transfer Hashmap, it
In the Action, I have:
log.info(redirecting to: +redirectURL);
return new ActionForward( redirectURL, true );
The logs say:
15:53:45,640 - INFO edu.asu.vpia.struts.HarrisLoginAction - redirecting
to: http://www.example.com?user=0123456
15:53:45,640 - DEBUG
Adam, its frowned upon to pass a web tier object (ActionForm) into the business
tier. I believe a widely used technique is to use BeanUtils to copy the properties
from the ActionForm to a DTO (a Domain Object) which can be passed to the
business tier.
robert
-Original Message-
Wendy,
Not certain where the trailing / is coming from, but I believe as soon as it
encounters the ? everything past there is considered parameters, so
basically if you seperate everything left of the ? and its a working url,
great. And in essence http://www.blah.com is the same as
1 - 100 of 124 matches
Mail list logo