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
select does support readonly , unfortunaely it does not understand
readonly attribute, but only disabled
-Dan
- Original Message -
From: Janice [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 1:03 PM
Subject: preview form
Hi Gang,
I have a form that the
You can configure your filter to accept a set of URI pattern. Please refer
to servlet 2.3 fitlter specification on how to set them up in web.xml
-D
- Original Message -
From: Siva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 11:20 PM
Subject: how to
check out this link
http://demo.jgsullivan.com/struts/index.html
-Dan
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 31, 2003 10:36 PM
Subject: [OT] Scheduling
Hi All,
What would be the best implementation for scheduling a job in
Yes as long as they listen on different ports
-Dan
- Original Message -
From: Kannan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 31, 2003 10:34 PM
Subject: Muliple Tomcats
Hi ,Is it possible to have two tomcats, one is tomcat4.1.24 and
Try to import only what you need, not the whole package. It can help you to
trouble shoot this problem
-D
- Original Message -
From: Kapadia Mitesh-C23457 [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Sunday, August 24, 2003 11:32 AM
Subject: Java Question
I've been trying to compile my
http://strutstestcase.sourceforge.net/
-Dan
- Original Message -
From: ronanoc [EMAIL PROTECTED]
To: Struts List [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 6:13 AM
Subject: struts test info
Can anyone point me in the direction of good examples and info about
using/writing
@ 98404-65630
Dan Tran
[EMAIL PROTECTED]To: Struts Users
Mailing List
.com
[EMAIL PROTECTED]
cc:
08/19/2003 06:02 Subject: Re
Helo Harm,
1. Most containers support hot deployment where your app automatically
reload when one of its properties or classes is altered, ie web.xml other a
propreties file in class path
2. You can add a method in servlet and callit from browser to call init
-D
- Original Message -
You can assign a role attribute with multiple role names in the action
configuration.
Underneath, struts uses isUserInRole to check against the list you provided.
However, checking security is better off to let container do it for you.
-D
- Original Message -
From: [EMAIL PROTECTED]
Jason, take a look at the below discussion link. It may help
http://article.gmane.org/gmane.comp.jakarta.struts.user/24178
-Dan
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 5:11 AM
Subject:
Yes it does.
- Original Message -
From: Erez Efrati [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Sunday, August 17, 2003 9:57 AM
Subject: Bean:message to fmt:message
I have a very small question: I have message keys that uses '.' like for
instance 'myform.hello'. I read something but I
Folow the Struts upload example, you can trace thru how Struts gets the
client file and upload to server where you have to do extra work to copy
data from FormFile (its stream buffer) to the your choice of server
location.
-Dan
- Original Message -
From: Yansheng Lin [EMAIL PROTECTED]
Here is an example
display:column title=Edit value=img src=../images/edit.gif border=0
href=./load.do paramId=id paramProperty=student.id /
-D
- Original Message -
From: Rick Col [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Tuesday, August 05, 2003 9:25 AM
Subject: image as link in
Victor,
The beauty of Struts (MVC2) is that it does not care on how
you persist you model objects. Struts' action object is the place
you glue your view and model together.
With that, all you need is to learn how to work with Hibernate.
The following link will give you a good introduction to
=org.apache.struts.upload.DiskMultipartRequestHandler
set-property property=inputForward value=true/
/controller
Regards
Alok
--- Dan Tran [EMAIL PROTECTED] wrote:
Folow the Struts upload example, you can trace thru
how Struts gets the
client file and upload to server where you have to
do extra work to copy
Do a search on archive and look for transaction token.
The struts-example in the distribution also uses transaction token as well
-D
- Original Message -
From: Joshua White [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 5:12 PM
Subject: Transaction Token
I have
Meissa,
When your database restarts, all your dbcp connections (in the pool) become
staled connection.
In order to resolve this problem, dbcp needs to do a ping to database server
to make the connection is still up before giving to your app.
Looking into dbcp configuration doc, it should have a
Yes;)
- Original Message -
From: Benjamin Stewart [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Sunday, July 06, 2003 6:59 PM
Subject: Action forward to another action without form
Greetings,
I have a form that submits values. From the Action class I would (in
some circumstances)
Use disabled=true
-D
- Original Message -
From: sriram [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 04, 2003 9:04 PM
Subject: readonly - select box
How to make a html:select readonly (not disabled).
For html:text, I can use 'readonly' but this does not exist for
, then on submission of the form, this field does
not have any value and so I am getting a validation error (this is a
mandatory field).
My requirement is to make it read-only instead of making it disabled.
Any clue?
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Saturday
Adam's answer is absolutely correct, however let me add more details
to make your job a little bit easier.
1. Create and action called loadTrainee.do and associate this action
with your form. with a forward to chooseTraineePage.jsp
2. Invoke chooseTranies.do?traineeId=, struts, will
question: can I just configure the controller .. and
dothing on the page?
-D
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Tuesday, July 01, 2003 5:41 AM
Subject: Re: Tag to remove jsp from cache???
You can configure Struts to ad HTTP no-cache
: James Childers [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 9:29 AM
Subject: RE: Tag to remove jsp from cache???
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 11:20 AM
To: Struts Users Mailing
Cool product and similar to Display tag with added feature like editing
table.
Can it work with html-el and jstl?
-Dan
- Original Message -
From: Yuriy Zubarev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 29, 2003 12:24 AM
Subject: Release of HTMLTable 0.4-rc1
Hello
Also, can it export the table to excel fomat like display tag?
-Dan
- Original Message -
From: Yuriy Zubarev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 29, 2003 12:24 AM
Subject: Release of HTMLTable 0.4-rc1
Hello everyone,
I'm pleased to inform you that the first
see this link
http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt
-Dan
- Original Message -
From: Rick Reumann [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 9:35 AM
Subject: JSTL- el - nested beans from a map used in a form?
Rabih,
You place the properties files at the wrong place. Move them to
WEB-INF/classes
-D
- Original Message -
From: rablists [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 5:50 AM
Subject: common-logging, Struts, Log4j
Hi. I have problem in using the
use display tag, it can do it for you transparently
http://edhill.its.uiowa.edu/display/
-Dan
- Original Message -
From: douglas reames [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:24 AM
Subject: How To Render Binary Output -
Just upload the file as normal binary file.
When you read this file at the server side, make sure to
read it with correct encoding of unicode type
(like UTF8,UTF16, etc)
You probably need to allow the user to enter
the upload file encoding type, and pass along
this info to server
-Dan
-
MessageResources messages = this.getResources(request);
- Original Message -
From: Duma Rolando [EMAIL PROTECTED]
Newsgroups: Struts
Sent: Monday, June 23, 2003 3:29 AM
Subject: Access to MessageResources instance
I would like to know if it's possible to access an existing struts
post a snipet of your actionform and your validation file
-D
- Original Message -
From: Kelvin wu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 21, 2003 11:15 PM
Subject: Error when using ValidatorForm when having indexed property
Help,
when i use Validator form with
change your strut config to use
org.apache.struts.validator.DynaValidatorForm
-Dan
- Original Message -
From: Thomas Miskiewicz [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 9:42 AM
Subject: Validator Framework Questions
Hello!
Thomas, I have seen may developers struggling with Struts Validation (IMHO,
it is a GIFT to us). The best way is
to read some good book like the one from Chuck Cavaness. I read it once and
my validation never fail me.
Or you can view his article
if role check fails, Struts sets HttpResponse code 400 (Bad Request)
-D
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 2:44 AM
Subject: Re: Login and security checks
What happens if you don't put a
do a google search struts +uml ;-)
-D
- Original Message -
From: Rahul [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 6:54 PM
Subject: UML diagrams in Struts source
Greetings All,
First of all, I take this opportunity to congratulate Ted, Cedric,
Cant you just create a stream on the fly and ship it back to the user thru
HTTPResponse?
In you insist on writting to a webapp directory, look up
getRealPath().
-Dan
- Original Message -
From: lcl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:41 PM
Subject: a
They are active during the week ;-)
-D
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:31 PM
Subject: RE: OT FRIDAY: Take a break with struts users
Bah! Theres nobody there! ... boring...
http://edhill.its.uiowa.edu/display/ ?
- Original Message -
From: Marc BEGUIGNEAU [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 9:14 AM
Subject: Best practive for presenting a search result to a user
Hello,
I would like to know what is for you the best practice
http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc2.html
But it does not have ORO info
-D
- Original Message -
From: Doyle, Michael J [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:21 AM
Subject: Struts Dependencies
Hi,
Does anyone know what
, 2003 12:53 PM
Subject: RE: Struts Dependencies
Thanks for the pointer. Does this mean that Struts is not really dependent
on ORO??
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 1:59 PM
To: Struts Users Mailing List
Subject: Re: Struts
same here, I had to replace an older version to common-loggin to get my app
working ing rc2
-D
- Original Message -
From: Raible, Matt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:10 PM
Subject: commons-logging
add this line to your log4j.properties file
log4j.logger.org.apache.commons.beanutils=DEBUG
-D
- Original Message -
From: Nathan Coast [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 6:41 PM
Subject: debugging bean populate
Hi,
I'm
How complex is complex?
Struts is here to solve complex problem unless the problem is so complex
that struts cannot solve ;-)
-Dan
- Original Message -
From: Hariharan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 06, 2003 9:18 PM
Subject: should I use struts
Hello guys,
I just implemented myself, so let me throw a shot at this.
In my case, I make my action derived from LookupDispatchAction
which can handle multiple button submission handlers.
One of the button is called something like addRow. When you hit this
addRow button, struts will repopolate what ever on
bean should always be there, but know it won't self populate
just like a standard action form.
You can scope the form to session or repopulate as part of the action
invoked via the form submission.
cheers mark
On Thursday, Jun 5, 2003, at 07:35 Europe/London, Dan Tran wrote:
hmm, I thought
, Jun 7, 2003, at 19:02 Europe/London, Dan Tran wrote:
Hi Mark, thanks for reply. I knew it is a popular topic
but at the time, I was not able to think of good search key for
looking into
the archive.
Until I tumbled on a old post regarding lazyList. and the
answer is there just like you
http://www.anassina.com/struts/i18n/i18n.html
I heard Struts 1.2 may incorporate this in the future.
-Dan
- Original Message -
From: Dimitar Georgievski [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 11:41 AM
Subject: how to submit
I must give Chuck a Kudo here, since the day I read his book review, Strut's
validator never fail me.
-Dan
- Original Message -
From: Chuck Cavaness [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 8:53 AM
Subject: Re: Re: struts validator
Ba?o, what kind of problem do you see? Here is example of action without
actionForm
action path=/nextYearReport scope=request
type=org.glvnsjc.action.student.NextYearReportActionforward
name=success path=/nextYearReport.jsp?page=1 redirect=false
//action
Note, there is no name attribute and
Hello,
I have an ArrayList as a element of an DyanActionForm. The list contains elements of
another bean that has properties as strings.
I can populate the DynaActionForm in my action and have the JSP to display it .
The question here is does DynaActionForm has the intelligent to reconstruct
hmm, I thought the topic was designed to catch attention
;)
-D
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:40 PM
Subject: How Smart is DynaActionForm?
Hello,
I have an ArrayList as a element
?
On Tuesday, Jun 3, 2003, at 08:58 Europe/London, Dan Tran wrote:
Hello, I define an ArrayList as an element of my DynaActionForm.
I set up my form and load it up on my jsp using c:foreach
But when I submit the form back to the server, my ArrayList always
empty.
What did I do wrong
Hello, I define an ArrayList as an element of my DynaActionForm.
I set up my form and load it up on my jsp using c:foreach
But when I submit the form back to the server, my ArrayList always empty.
What did I do wrong?
Thanks
-Dan
Why?
-D
- Original Message -
From: Brandon Goodin [EMAIL PROTECTED]
To: Struts User List [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:27 PM
Subject: Yahoo for the late night junkies
Hey all. I set up a temporary room on Yahoo chat at:
Computers Internet Users Rooms Struts
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 11:17 PM
To: Struts Users Mailing List
Subject: Re: Yahoo for the late night junkies
Why?
-D
- Original Message -
From: Brandon Goodin [EMAIL PROTECTED]
To: Struts User List [EMAIL PROTECTED
Nicolas, thank your for all great suggestions. But I think I will stick
with the original session implementation. It is much simpler ...
-D
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 12:00
Take alook at Struts-example.war in the distribution
It uses html:select/html:options and LabelValueBean
to do what you need.
-Dan
- Original Message -
From: Dhruva B. Reddy [EMAIL PROTECTED]
To: Struts User Mailing List [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 9:43 AM
Subject:
not this step
in
the problem. Or am I missing something?
Any other suggestions?
Jefficus
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
It is late too and my mind also slowing down as well ;-)
So here is my vague ans. Use Struts-el tag lib, it works well with JSTL
-Dan
Required select works for me! do you have the normal text file validation
working ?
-Dan
- Original Message -
From: Steven Citron-Pousty [EMAIL PROTECTED]
To: struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 1:43 PM
Subject: Validation for anything other than
suggestion!! download Struts-el example, load and run it.
And use it as template for your new jstl work.
-Dan
- Original Message -
From: joni santoso [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 11:15 PM
Subject: Setting up JSTL---How?
Of course, your newest solution is better, but it still does not feel right
regarding the MAX_INDEX allowed ;-)
-D
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 10:44 PM
Subject: Re: Too many
30, 2003 11:24 PM
Subject: Re: Setting up JSTL---How?
where can i get that struts-el?
still i am curious why the jstl didn't work :(.
On Sun, 30 Mar 2003 23:20:03 -0800
Dan Tran [EMAIL PROTECTED] wrote:
suggestion!! download Struts-el example, load and run it.
And use it as template
http://jakarta.apache.org/struts/faqs/database.html
-D
- Original Message -
From: niksa_os [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 2:28 AM
Subject: Bitmechanic JDBC Connection Pool or Struts Connection Pool
I search the [EMAIL PROTECTED] but I didn't find
James Michell is out of work? Me too. How many good ppl are in the same
situation these days?
Sorry for breaking out of the rythm.
-D
- Original Message -
From: Micael [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 12:05 AM
Subject: RE:
I dont think there is a way.
You can refactor it by moving the JSP init code to a java bean and have both
JSP and PlugIn to call the java bean
is it okie?
-D
- Original Message -
From: Brian Buckley [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003
If you deploy your app as a WAR file, then it is the correct result since
there is no real directory to return
But you can use this code
InputStream is =
servlet.getServletContext().getResourceAsStream(pathName);
where pathName is the context path to your file in the WAR archive. (ie
The following snippets may help
snippet
//place your jndi under your WEB-INF/classes
ClassLoader classLoader = getClass().getClassLoader();
InputStream in = classLoader.getResourceAsStream(jndi.properties);
if ( in == null )
throw new
Exception {
this.load();
}
...
...
}
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 8:25 PM
To: Struts Users Mailing List
Subject: Re: application.getRealPath(/) from ActionForm???
If you deploy your app as a WAR file
The answer is yes. Please check struts doc
However, by place your id and label into LabelValueBean. It will make your
code easier write
thru logic:iterate
-Dan
- Original Message -
From: Slava_L [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29,
registration
Hi all,
as a follow-up to my question, wanted to thank Dan Tran for his help
and also Rick Reumann for his.
I was trying to add a PlugIn in the struts-config.xml file to augment
the functionality of the BeanUtils.copyProperties function to handle
java.util.Date going from a form
I keep seeing double messages sending to me when I make a post to this group
Please ignore this mail
-Dan
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
Please ignore
-D
_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail:
.
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 10:29 PM
To: Struts Users Mailing List
Subject: Re
collections at once ?
Struts doc says that only one object can be iterated inside on
logic:iterate
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 12:39 PM
Subject: Re: how to logic:iterate throu
It is late too and my mind also slowing down as well ;-)
So here is my vague ans. Use Struts-el tag lib, it works well with JSTL
-Dan
- Original Message -
From: Jeff Smith [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 9:47 PM
Subject:
of the values on this option which
I
have stored as another boolean[]. Now in my UI, I want to have each of
these
options to appear in two different colors depending on the corresponding
value in my boolean[]. How can I implement this.
-Shilpi
-Original Message-
From: Dan Tran
it to load when ActionForm is loaded. Is there
no
way to load form values from an external source?
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED
-D
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Nicolas,
Your great suggestion makes me nervous ... It is possible for a hacker to
change the index so big that it can hog the CPU, which busy creating empty
node, for each request.
However, I cant come up with another solution
Any comments? anyone?
-D
- Original Message -
From:
try this
snippet
bean:define id=myVar
bean:message key=myKey /
/bean
html:link title=%=myVar % forward= ... /
/snippet
-D
- Original Message -
From: Vivian, Nigel (N.) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:04 AM
Subject: tags within tags i18n
http://securityfilter.sourceforge.net/
click on File item on the top right cornor.
-Dan
- Original Message -
From: Mike Duffy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 8:55 PM
Subject: Re: Actions based on Role
You need to put the count var in your actionForm, and increment it in your
action class. But if you put the actionform in request, the increment has no
effect.
The action instance itself is cached by struts.
-D
- Original Message -
From: Chai Ang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
This is my be a long shot, but I encountered it before.
Makesure to make all your actions to have the same scope In this case:
request. Do not leave it blank.
]-D
- Original Message -
From: Carsten Hammer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 12:01 PM
Just an idea!!
Store all your sessions's reference in the servelt context and when a new
session is create, check against the session list in the servelt context,
copy over data from old session to new session, and destroy the old session
Then You have to deal with all kind of multithreaded
??
Dan Tran [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Just an idea!!
Store all your sessions's reference in the servelt context and when a
new
session is create, check against the session list in the servelt
context,
copy over data from old session to new session
In your case, you can make administrator is a 'user' itself so that
/EditAccount.do works for both roles. However,
I strongly suspect your action/view you have to do lots of if else block to
determine what to do and what to display.
Encapsulation is the key here, I would provide 2 separate
BTW,the current login user can only change his/her own login/acount profile
-D
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 23, 2003 11:16 AM
Subject: Re: case study with security
In your case, you can make
http://jakarta.apache.org/struts/userGuide/dev_validator.html
may help. Look for twofield example.
-D
- Original Message -
From: Joey Ebright [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 10:54 PM
Subject: Validation - Require One of Multiple Fields
Hello,
According to Struts, every thing should go to action. It is a good habit
consistent with MVC2 frameword/pattern.
-Dan
- Original Message -
From: santhosh [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 5:01 AM
Subject: design concern
oops, I misread the question. Please see the answers from both David and Dan
Alen
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 4:47 PM
Subject: Re: design concern
According to Struts, every thing
Hi I would like to display/disable a set of form's properties base on another
properties in the form.
some thing like this
html-el:form
table
if ( theForm.aProperty)
{
tr
td
html-el:text property=myprob /
/td
/tr
}
/table
Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:27 PM
Subject: Re: Conditional Displaying form properties - Seek Advice
You can use the c:if JSTL tag to perform conditional logic.
David
From: Dan Tran [EMAIL PROTECTED]
Reply
in the request or session scope so you can
access
it just like any other bean:
c:if test=${myForm.action == 'add'}
myForm is the name you gave your form in struts-config.xml
David
From: Dan Tran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
The actual syntax for DynaForm is
myForm.map.mypropertiy
Thank you for everything
-Dan
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:14 PM
Subject: Re: Conditional Displaying form properties - Seek
I have the same problem but unable to find solution yet, except to validate
as much as I can in the browser side so that I can retain the file field.
-Dan
- Original Message -
From: John Brayton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 5:48 PM
Subject:
Use the combination of JSTL and Struts-el
Here is an example, where based on a property in my form, the submit button
is displayed differently. The formName is defined in your struts config
file
Good luck
-Dan
%@ page contentType=text/html; charset=utf-8 %
%@ taglib
your actionForm should be already placed in your session or request object
based on yours strut config file.
To access the a field in the field your can accessit using
yourFormName.yourFieldName if you are using regular java bean
or yourFormName.map.yourFieldName if you are using DynaForm type
not to know what loginForm is. Argh.
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:17 PM
Subject: Re: Accessing DynaActionForm fields within custom tag
Use the combination of JSTL and Struts
.
Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 7:09 PM
To: Struts Users Mailing List
Subject: Re
1 - 100 of 215 matches
Mail list logo