Atta,
A redirect in a tile cannot possibly work (and I've tried researched it
months ago). To use a redirect in a forward, you must have a file system
object to reach such as an html file, a jsp, or an application mapping (i.e.
struts *.do). Since a tile is only internal to Struts, and not an
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
/15/2004 03:00 PM David Friedman wrote:
I should have explained this a bit better. Each level is like a company
or
organization. It has it's own group of parties to maintain but can be
managed by one or more managers. The managers share group responsibility.
Only the user at the very bottom
PM David Friedman wrote:
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
Dear Laurie,
You forgot to set a page in your tile definition with the path attribute.
The definition needs to be more like so:
definition name=tiles.view path=/tiles-test/template.jsp
put name=title value=PAGE TITLE/
put name=content value=/tiles-test/index.jsp/
/definition
Where
mean, one user can see his / her stuff, which is not accessible to
another user of equal level?
On 03/15/2004 03:39 AM David Friedman wrote:
Jason,
They might need to go into the account underneath them to fix something
(if
they are asked) and won't know the password (encrypted). The admin
: Sunday, March 14, 2004 5:21 AM
To: Struts Users Mailing List
Subject: Re: security framework!!!
On 03/13/2004 05:48 PM David Friedman wrote:
My bigger problem is my scenario, which no one supports. I'd like to
allow
manager accounts to become one of if it's sub-accounts. My system would
support
they are
effectively changing their identity.
Your HttpServletRequest wrapper sounds OK as a solution though.
Adam
On 03/14/2004 03:51 PM David Friedman wrote:
Adam,
I want to integrate everything with roles (for using actions and jsp tags)
so I'm stuck, after container authentication, having a non
!!!
David Friedman wrote:
I've also been looking into security frameworks and the only solutions I've
really found are:
1. Standard (container) JAAS
2. SecurityFilter http://securityfilter.sourceforge.net
3. Pow2ACL http://pow2acl.sourceforge.net/
I was hoping, at some point, to use an SSL
I've also been looking into security frameworks and the only solutions I've
really found are:
1. Standard (container) JAAS
2. SecurityFilter http://securityfilter.sourceforge.net
3. Pow2ACL http://pow2acl.sourceforge.net/
I was hoping, at some point, to use an SSL switching feature such as
Kunal,
This is becoming a common question. According to your definition, the
page_title is really only available in the
/WEB-INF/jsp/layouts/default.jsp file. Check out the topic/thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg61368.html
Essentially, you need to do a tiles:insert
Mike,
When you use form-property with a form-bean, don't you need to make the main
Bean a DynaActionForm or a class you extended from DynaActionForm? Where do
you initialize the form-property bean. For DynaActionForms, they
initialize to null, per If you do not supply an initial attribute,
ThanksRegards
From: David Friedman [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: help me with using bean
Date: Wed, 10 Mar 2004 20:50:18 -0500
Mike,
When you use form-property with a form-bean, don't you need
: David Friedman [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: help me with using bean
Date: Wed, 10 Mar 2004 21:24:54 -0500
Mike,
Why not change your:
public class SelectFontForm extends ActionForm{
public
Did you accidentally set the scope of the FormBean for your Action to
application instead of session or request?
Regards,
David
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 7:48 PM
To: Struts User Mailing List
Subject: Cookies And Session
Navjot,
Though I haven't tried Velocity, I like the idea that my stub-pages can be
easily edited in HTML editors. How do your manage letting your designers
alter the JSP layouts? Do you have them use some (and if so, what is it)
HTML editor which is (Stuts JSP EL) aware?
Regards,
David
I am about to start an application with 5 user levels: admin, reseller,
merchant, company, and employee. I need the administrators for each level
to be able to become the lower level, do something for that lower level
(or go a level lower) and then pop back out. I would like to use roles for
Actually, it's www.displaytag.org, not displaytaglib. :)
Regards,
David
-Original Message-
From: Gagné Jean-Christian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:09 AM
To: 'Struts Users Mailing List'
Subject: RE: [SPAM] - Display TagLib Struts - Found word(s) list error
Nic,
We had discussions on this some time ago. I think this link might describe
how to use an attribute in another JSP used by that tiles definition:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg61368.html
I remember thinking it was odd but I recall trying it and making it work
because I
Carl,
There is EL support in the CVS (1.0-b3) version for displaytag.
See: http://displaytag.sourceforge.net/changes-report.html
Regards,
David
-Original Message-
From: Carl [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 1:15 PM
To: Struts Users Mailing List
Subject: Re:
Dominik,
The pdf http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf (Tiles
Advanced Features) lists various ways to do this. I suggest you extend your
Action class as a tiles controller so that, within the action, you can set
the pieces of the tile definition to those of your choosing.
I use hibernate so, yes, I think it is a
good alternative. :)
Regards,
David
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 15, 2004 8:56 PM
To: Struts Users Mailing List
Subject: Re: persistent data storage - the right way
is Hibernate another good
Joseph, here are some different questions for you:
1. Is your problem with client- or server-side validation?
I'll assume (for discussion purposes) that client-side multi-page validation
with an Action is your problem:
Does your appropriate JSP page have
html:hidden property=page value=1 / (or
I hate action chaining but this solution might work:
For the display of the multi-page form, use another action. Then, your
validation failure can use the multi-form display action as the input=
parameter and call it from the regular action by a forward, if it ever needs
to call the display to
I have a similar problem and, at the moment, no real solution. I'd prefer
to be able to change the 'role' so I could push/pop id's as a management
account drills down to a user account (to fix user problems), but I have no
clue how to do this as Tomcat seems to have only read-only roles.
My
I have mine installed and working fine with a CATALINA_HOME of D:\Program
Files\Apache Group\Tomcat 4.1. I had trouble with the J2SDK and JASPER
until I changed those environmental variables/paths to be the short names of
the paths (i.e. without spaces). Those can be seen using the command dir
Li,
I'm guessing that your tile named loginDef is overriding your forward
loginDef. That's why I start my tiles with a period in the name
.loginDef. If that doesn't work, try changing your index.jsp to this:
(and old post of mine)
%@ taglib uri=/WEB-INF/tiles.tld prefix=tiles %
tiles:insert
I use displaytag, www.displaytag.org, for that.
Regards,
David
-Original Message-
From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 7:40 AM
To: 'Struts Users Mailing List'
Subject: Paging for table...
Hi,
I have a requirement where in user executes a
-
From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 10:27 AM
To: 'David Friedman'; 'Struts Users Mailing List'
Subject: RE: Paging for table...
.Can you please send across the sample code that you have developed???
-Original Message-
From: David Friedman
Otávio,
When you set your property to, say, 'property=something', it gets invoked
as 'form.getSomething();'.
Regards,
David
-Original Message-
From: Otávio Augusto [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 3:33 PM
To: Struts Users Mailing List
Subject: Re: html:button
for the
html:button tag (sorry for my ignorance :D).
Thanks for the help.
Otávio Augusto
On Sat, 3 Jan 2004 15:43:17 -0500
David Friedman [EMAIL PROTECTED] wrote:
Otávio,
When you set your property to, say, 'property=something', it gets
invoked
as 'form.getSomething();'.
Regards,
David
Here is what I see (opinions vary)...
I see you are defining your form bean in your struts-config.xml as type
'org.apache.struts.validator.DynaValidatorForm'. So, why are you trying to
cast it as this 'org.apache.artimus.message.PostForm' class. Does that
class extend DynaValidatorForm? If it
available for struts which will meet your
requirements.
Rahul
-Original Message-
From: Vasudevrao Gupta M V S S S (WT01 - UTILITIES) Sent: Saturday, January
03, 2004 8:57 PM
To: 'David Friedman'; 'Struts Users Mailing List'
Subject: RE: Paging for table...
.Can you please send across the sample
nullthe upload failed
if(file == null) {
addActionError(Error uploading: +
multiWrapper.getFilesystemName(inputValue));
}
David Friedman [EMAIL PROTECTED] wrote:
Why won't you use the struts-upload.war from the Struts distributions?
Regards,
David
-Original Message-
From: Jacob
to call MultipartRequestWrapper from an action subclass.I was not
successful in it.
Thanx for your response.
Regards,
Ginu Jacob
David Friedman [EMAIL PROTECTED] wrote:
Jacob,
Did anyone ever get back to you on this? Where are you trying to get your
MultiPartRequestWrapper?
In an ActionForm
Otávio,
Hibernate discussions are at http://http://forum.hibernate.org. A few of
the discussion threads talk about Struts. Many cover lazy instantiation.
Regards,
David
-Original Message-
From: Otávio Augusto [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 3:17 PM
To:
Why won't you use the struts-upload.war from the Struts distributions?
Regards,
David
-Original Message-
From: Jacob Ginu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 9:48 PM
To: [EMAIL PROTECTED]
Subject: reg:File Upload
Hi,
Can anyone send me a sample file Upload
Dhiraj,
I think you have an incorrect understanding of tiles. Using your
information, you should probably setup a main template with your 3 pieces
(header, menubar, and copyright) PLUS the body-content one. That way, you
can make a tile that extends that template and simply overrides the
One correction, I typed the wrong tiles:insert statement.
I meant:
tiles:insert attribute=header/
or
tiles:getAsString name=header / IF you need it as a simple string and
not a page include.
Regards,
David
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday
If you want calendars as a grid layout like so:
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
...etc
For Javascript try: http://dynarch.com/mishoo/calendar.epl for
For a JSP Taglib try: http://www.servletsuite.com/servlets/caltag.htm
OR
Okay Martin, I'll ask.
I read your recommended jakarta taglib page.
It doesn't have a specific item for a calendar.
I see it does have components of calendars such
as month and weekday lists. I even checked
the CVS listing for the version 1.1 (show on
the Jakarta navigation bars) and there
Can't you use a module and set the action mapping to 'unknown=true' so
that one particular action is used for everything? If so, you'd need to be
mapping actions as 'do/*' instead of '*.do', theoretically. I've been
meaning to try this now that I'm using /do/* as my Struts v1.1 mapping but I
Thomas,
(Probably a) Dumb question
From the ${area.name} it looks like you're using Velocity Templates. I
thought Velocity couldn't mix with JSP's like that (My impression from ch 17
of 'Struts in Action'. How are you mixing the two? (Or is there a Velocity
update which allows it?)
Caroline,
How do you save the form cr in session scope?
Does your action use 'scope=session' or are you
doing a 'request.getSession().setAttribute(cr,cr);'
in the first action?
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17,
David,
There is an alternative Struts/Hibernate/JNDI combination. All of it hinges
on one file: hibernate.cfg.xml. It doesn't require any changes to
server.xml or web.xml and works (at the very least) for me on Struts v1.0
v1.1 with Hibernate v2.0.3 V2.1beta6 under Tomcat 4.1.24 through
-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 2:39 PM
To: Struts Users Mailing List
Subject: RE: Tomcat 4.1.29 Struts
Mukund,
What was your Tomcat 4.1.29 problem? Was the wrong DTD part of the
problem?
Regards,
David
-Original Message-
From
Mukund,
What was your Tomcat 4.1.29 problem? Was the wrong DTD part of the problem?
Regards,
David
-Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:06 PM
To: 'Struts Users Mailing List'
Subject: Tomcat 4.1.29 Struts
Is anyone
Sathish,
So, you're using Struts (version 1.0?) and your method
signature wasn't working. When you changed it to
the one I pulled off the struts web site's api, did it
work?
Regards,
David
-Original Message-
From: Sathish Babu K R [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05,
Psst. I think you have the wrong DTD:
http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd
Won't resolve for me (I use 1.1 anyway) but this does:
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd
Regards,
David
-Original Message-
From: Yee, Richard K,,DMDCWEST
Sathish,
Did you resolve your problem yesterday?
If not, how do you request a session?
request.getSession() and request.getSession(true)?
Regards,
David
-Original Message-
From: Sathish Babu K R [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:30 AM
To: Struts Users
Sathish,
Your method signature seems incorrect. According to the javadocs (v1.0),
perform (which is deprecated) requires the following argument types:
public ActionForward perform(ActionMapping mapping,
ActionForm form,
in next row.using logic iterate and
only with struts not with jstl.
thanks
naveen.
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 12:24 PM
To: Struts Users Mailing List
Subject: RE: logic iterate
Are you talking about pagination? Show 3
Just to be explicit, you have a file in tomcat as:
WEB-INF/classes/com/ponyprinting/web/manager/UploadForm.class ?
Regards,
David
-Original Message-
From: Sasha Borodin [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 7:22 PM
To: Struts Users Mailing List
Subject: Re: Error
Since you mentioned FormFiles and failed validations, I'd like to share
something: It's a pain that you lose the uploaded file if the form
validation fails. I decided to make my validation screen do a special
message to please upload the files again because form Validation failed IF
any files
to be precise.
Thanks,
-Sasha
On 12/1/03 6:27 PM, David Friedman [EMAIL PROTECTED] wrote:
Just to be explicit, you have a file in tomcat as:
WEB-INF/classes/com/ponyprinting/web/manager/UploadForm.class ?
Regards,
David
-Original Message-
From: Sasha Borodin [mailto:[EMAIL
You might want to check your web server configuration to see if the
directory index knows to show the index.jsp as the index page or to do
something else, such as redirect to an error page or a particular page.
What is your web server?
Regards,
David
-Original Message-
From: Bessette
of troubles did u have
with DBCP. coz this will be used in production so i want to know what to
expect, however a refactoring is schedule anyway but not anytime sooner.
thanks once again!
David Friedman wrote:
Rajit,
I don't use the Struts DataSource because I had to much trouble with it a
few
for the purpose of
allowing them to update them.
I cant think how I can populate the form tho.
Im new to struts and this list so i apolagise if this has already been
answered.
Thanks,
toby
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Monday, 1 December 2003 8
this is done (and, for eg, the user has used parts of the site) and
they decide to change their email address, how can i display (in the form)
the password they entered when they registered in order to let them modify
it?
thanks,
toby.
-Original Message-
From: David Friedman [mailto:[EMAIL
to get a cookie value.
Perhaps I should just use your first suggestiong in order to achieve this.
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Monday, 1 December 2003 12:03 PM
To: Struts Users Mailing List
Subject: RE: Representing Existing Objects In Forms
Are you talking about pagination? Show 3 on a page and then skip to the
next page? Sounds like you want the displaytag taglib. This examples does
10 items per page: http://www.displaytag.org/example-paging.jsp
Regards,
David
-Original Message-
From: Naveen S. Kumar [mailto:[EMAIL
Rajat,
I've had that type of disconnect problem using Hibernate (a product roughly
like Ibatis). My problem was one of the DBCP settings: minIdle. MySQL
wasn't seeing any activity on some pool connections overnight, so it was
disconnecting them. Lowering the minIdle setting seemed to cause
/p :P )
this would be a great help! and have u have the kind of sucess with DBCP
in dealing with connection pool and idle connections?
thanks!
David Friedman wrote:
Rajat,
I've had that type of disconnect problem using Hibernate (a product
roughly
like Ibatis). My problem was one of the DBCP
Noah,
We talked about this king of problem Monday. Basically, this old post
describes a solution for you, which I got working Monday, btw:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg61368.html
Regards,
David
-Original Message-
From: Green, Noah [mailto:[EMAIL PROTECTED]
Sent:
I've developed on a Windows platform and ported to Linux for
Struts/Tiles/Tomcat before and not had this problem. I've used Tomcat
4.1.24 and higher, not 4.0.6. Is your deployment bringing over all .jars
and putting them in WEB-INF/lib as well as bringing over your
WEB-INF/struts-config.xml (and
- Original Message -
From: David Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 10:30 PM
Subject: RE: Urgent Help Struts on Linux
I've developed on a Windows platform and ported to Linux for
Struts/Tiles/Tomcat before and not had
I haven't noticed any replies so I'll ask:
If you're using Struts v1.1, for a front-end and back-end, why don't modules
fit your scenario? Then the images can go in the exact same folders with
both sets being (if you choose) able to update the images? Since modules
can use different
have gone thru the Hibernate
docs, but have not got the clear idea.
Please help me in this regard.
Regards,
gopal
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2003 12:02 AM
To: Struts Users Mailing List
Cc:
Subject
Joe,
Nope. I was writing to you about that but you found your solution faster
than I could type (my poor aching fingers at 2AM!).
When you said your 'formName=UserLoginForm', that suggests you're keying
off the action's ActionForm name 'name='UserLoginForm' for your validation.
That's why you
Two questions immediately come to mind from what you documented:
1. Does com.hp.ipg.ne.pgpm.forms.orgForm extend
org.apache.struts.validator.ValidatorForm
or
org.apache.struts.validator.ValidatorActionForm
2. The 'input=org_edit.jsp is context sensitive. Can you
reach org_edit.jsp from the same
#javascript
Regards,
David
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 2:37 AM
To: 'David Friedman'
Subject: RE: Validator Backend Issues
Don't laugh. Now I remember the problem I first encountered.
I'm getting a generated javascript function
in the header.jsp, I get an error message
which says that title can not be found in the context. I get the same for
useAttribute.
Ed
- Original Message -
From: David Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, November 23, 2003 12:22 PM
Subject
The struts distributions should all have a sample .war application with code
and jsp's called struts-upload.war. It's often in the webapps folder. :)
-David
-Original Message-
From: Viral_Thakkar [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 4:12 AM
To: Struts Users Mailing
So after 6 hours, what do your log files (web server and java application
server) show? Do they show struts actions being performed? Does it show out
of memory errors? Anything like that?
Regards,
David
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Sent: Monday,
Ludo,
You might want to use a FormFile in your ActionForm bean to make the file
easier to deal with. Then, you can do things like this:
1. FormFile.getContentType() and see if it is a MIME type you allow.
2. FormFile.getInputStream() and save it in an ascii, not binary mode. So,
binary data
Ed,
From the previous tiles problem, it seems as though the base definition is
key and must list everything that needs to be 'global'. So, it might fix
your problem if you make sure all elements are in it. I.e. in
base.layout, try including your content, which is defined everywhere
EXTENDING
Lukas,
How are you trying to 'forward' to your tile? Certain logic:tags don't
foward to tiles - it's in their documentation. Please provide examples of
your forward tags, relevant action .../ tags, and how you are trying to
'forward' to it.
Regards,
David
-Original Message-
From:
in this regard.
Regards,
gopal
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2003 12:02 AM
To: Struts Users Mailing List
Cc:
Subject: RE: Hibernate plugin
Mark,
I have
Martin,
I don't know if Terry got it working, but I don't see why he (or anyone)
couldn't keep it simple by using a CommonsMultiPartRequestWrapper's
getTextElements() or getAllElements() methods, liks so:
// Assuming wrapper is the initialized CommonsMultiPartRequestWrapper
Hashtable
Of Martin Cooper
Sent: Monday, November 24, 2003 7:13 PM
To: [EMAIL PROTECTED]
Subject: Re: getParameter() returns null on multipart requests
David Friedman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Martin,
I don't know if Terry got it working, but I don't see why he (or anyone
, the form tag looks like
form name=foo method=post
enctype=multipart/form-data
--- David Friedman [EMAIL PROTECTED] wrote:
Terry,
1. Does your actionform receive data?
2. Did you set the enctype on your form
appropriately for
multipart/form-data ?
Regards,
David
-Original Message
Ed,
The tile definition is initialized before the pages/jsp's/actions are
called. You can therefore access any name in any component as long as that
component is tiles aware. In the case of your JSP's, juse use the tiles
taglib and do what you did in header.jsp to obtain the title (a
Franz,
Not all browsers support sending the HTTP_REFERER when you click on a page.
So, your best chances are to either:
1) Store the name of the last action in the session context so you know what
the last page is probably going to be (unless they use multiple browsers at
once when visiting your
Mark,
I have a simpler approach for Hibernate (v2.0.3 or v2.1 under Struts v1.0 or
v1.1)
1. Start with the Hibernate example Struts PlugIn code and struts-config.xml
configuration text at:
http://www.hibernate.org/105.html
2. Do NOT put any context entries in server.xml or web.xml!
3. Choose
Shh I don't think I've ever seen any Hibernate errors on
startup using the code from the Hibernate site. And it works
fine accessing it either through JNDI or a Servlet attribute
named SESSION_FACTORY_KEY. :)
http://www.hibernate.org/105.html
Regards,
David
-Original Message-
From:
What is the .do page error, exactly? Are there
any error messages in the Tomcat /logs directory?
Regards,
David
-Original Message-
From: Samanth Athrey [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 3:50 AM
To: [EMAIL PROTECTED]
Subject: Problem in deploying struts app in
-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 2:25 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Problem in deploying struts app in production environment.
Pls help
What is the .do page error, exactly? Are there
any error messages
This sounds like a job for ... the DisplayTag Taglib.
See this example page:
http://www.displaytag.org/example-grouping.jsp
Your formbean looks pretty simple:
(Should I ask why your properties start with a capital letter?)
myteam.teamName
myteam.Firstname
myteam.Midinitial
myteam.Lastname
If
Mark,
There are plenty of Hibernate and Xdoclet questions
on the hibernate forum:
http://forum.hibernate.org
Regards,
David
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 9:32 AM
To: Struts Users Mailing List
Subject: Re: [OT] xdoclet +
Your login.jsp seems to be missing the form and fields. Do you have your
html:javascript formName=UserForm/ in it so you get the validation code?
Does your login page form also set the html:form onsubmit=return
validateUserForm(this) ?
Regards,
David
-Original Message-
From:
Terry,
1. Does your actionform receive data?
2. Did you set the enctype on your form appropriately for
multipart/form-data ?
Regards,
David
-Original Message-
From: Terry Brick [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject:
Fred,
Try checking out a org.apache.struts.tiles.actions.TilesAction as your
action type. That gives you direct access to the tiles layout so you can
add/set tiles information to your choice of values.
Regards,
David
-Original Message-
From: Fred Bloggs [mailto:[EMAIL PROTECTED]
Sent:
How do you get to your JSP? Do you use and action? If so, are you using
'path=login.form' or 'path=form.layout' and do you see any tiles loading
errors?
Are you getting to your JSP directly from the outside world (not through an
action's mapping)? If so, you need to first load your tile
Message -
From: David Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 1:22 PM
Subject: RE: Inheritance in tile definition files I
How do you get to your JSP? Do you use and action? If so, are you using
'path=login.form' or 'path
I'd suggest calling:
org.apache.commons.validator.GenericValidator.isEmail(String arg);
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:03 PM
To: Struts Users Mailing List
Subject: Email Validation Rules
Can any one
Subject: RE: how to disable submit button when click on checkbox
Thanks for the reply. Do you mean change it to
onclick=this.form.delete.disabled=true?It's still not working. The
checkbox is not even checked when click on it.
David Friedman [EMAIL PROTECTED] wrote:Philip,
If it is in the same
For maintaining the JSESSIONID if someone has their cookies turned off -
this ensures the id is embedded in the link when cookies aren't available.
Regards,
David
-Original Message-
From: Srinivas Kusunam [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 3:49 PM
To:
Subject:
Mario,
Where did you hear that dynabean will not be supported? I'm using the 2.1b6
release and it has components that can be dynabeans. I didn't see any notes
about it going away anytime soon. (not that I've used those dynabean
components yet).
Regards,
David
-Original Message-
From:
();
ou.close();
in.close();
img.delete();
img.deleteOnExit();
Regards,
Marc
David Friedman wrote:
Marc,
That's a tricky one I've planned for but haven't started yet. My research
showed the html:img tag should be used with a path. That path can invoke
an
action (direct, not tiled) that sets
Dear Looser,
Inside the execute, you can set/get application
scope properties using the Action class methods
getServlet() followed by two more commands:
getServlet().getServletContext().getAttribute(String);
OR
getServlet().getServletContext().setAttribute(String, obj);
Regards,
David
1 - 100 of 171 matches
Mail list logo