One of the parameters to the execute in your action
Is ActionForm form
So
String submittedEmail = (String) ((DynaActionForm) form).get
(email);
Should do it for you.
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 2:08 PM
To:
Yep, you gotta extend the right class.
Try to extend
org.apache.struts.tiles.ActionController
instead
-Original Message-
From: Jim Theodoridis [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 2:27 PM
To: Struts Users Mailing List
Subject: Tiles and ControllerClass
I have looked at ExceptionHnadlers and find them pretty nifty.
Is there a way to do similar thingy with Throwables?
I tried to set ExceptionHandler to catch (type attribute)
Java.lang.Throwable but it does not work and I get the ugly
ServletException as my page to the user?
Thanks,
Alex.
There is a protected method in Action class
Called saveErrors (ActionErrors, HttpServletRequest)
So when you detected an error you can create ActionErrors
Object and use the method above right before you redirect to
The view.
As for exceptions: you can declare exceptions handlers
In your
Use pager tag.
You can find more info at
http://jsptags.com/tags/navigation/pager/index.jsp
-Original Message-
From: Mahbub ul Huq Bin Kabir [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 12:50 AM
To: [EMAIL PROTECTED]
Subject: Iterating Page by page
Hi,
I'm
1. You'd need to write javascript on the client side.
I have a script that will determine if something was changed on a form,
which you could probably change to display what was changed. If you are
interested let me know and I will send it to you.
2. As to the server side, there are plent of
I have two forms both of which will need to use validators.
My JavaScript is messed up. Suppose I have form
A { fieldA1 - required, fieldA2 - required }
B { fieldB1 - required }
When javascript is generated it generates two scripts both of which have
required () method.
What do I do to avoid
You should set scope of the bean as session.
-Original Message-
From: Joel [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 24, 2003 11:59 AM
To: [EMAIL PROTECTED]
Subject: DynaForm Beans and Indexed Text fields.
I'm having a problem using Indexed text fields with
In the StrutsAction I use to preload the form?
yep
If you specify name attribute for your action mapping struts will create
form bean upon request to your action. So whatever action causes your
bean to be instantiated would need scope attribute to be set to session.
action path=/yourAction
It is impossible to show how many users. What is possible is to show how
many sessions are open and what is the idle time for the session at a
given moment. If you use tomcat there is a manager (not admin) app that
comes with it. It is pretty cool to play around with it. You can do
other things
Make sure you do not have another file upload jar in your classpath.
Where are you hosting your app, what OS?
Alex.
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 11:14 AM
To: 'Struts Users Mailing List'
Subject: File Upload error
You can make your parms Object []
This way you can pass as many params as you want.
Of course you will need to keep track of what element is what.
Maybe Java 1.5 will have the feature you are looking for :-)
Alex.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
The way container works is to deploy an application to its own content.
The way your container knows which application a user request refers to
is by looking at the prefix of the request. So unless you mount your
application onto the ROOT content (prefix /) I can not imagine what
you are asking
You are right and I am already using the struts html tag but the
action is still being remapped.
My jsp form declaration is as follows :-
html:form action=example
When the application is deployed in app.war it becomes :-
html:form action=/app/example
This would not ordinarily be a
request.getSession ().getServletContext ().getRealPath (/);
-Original Message-
From: Alen Ribic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 9:10 AM
To: Struts Users Mailing List
Subject: [OT] get abs path to my web application root context
Hi All
This may be a bit
we can achieve this at the moment.
--- In [EMAIL PROTECTED], Alex Shneyderman [EMAIL PROTECTED] wrote:
The way container works is to deploy an application to its own
content.
The way your container knows which application a user request
refers to
is by looking at the prefix
Just put html:img tag inside your form and it will be rendered as
input type=image element of your HTML. If someone clicks your image
the form will be submitted.
-Original Message-
From: Florent LOTHON [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 7:08 AM
To: Struts
There is a workflow extension for struts. I have read the docs, but did
not use it. You can take a close look at it here
http://www.livinglogic.de/Struts/
Alex.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:18 PM
To: Struts-Users
, but its reality. :(
--- Alex Shneyderman [EMAIL PROTECTED] wrote:
Use JSTL's formatDate tag. Very easy to use and lets
you format your
date any way you want it. Example:
fmt:formatDate value=${yourDate}
pattern=-MM-dd HH:mm /
it is that simple.
Alex.
-Original
Use html:image tag.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 6:26 PM
To: 'Struts Users Mailing List'
Subject: Simple html:submit question
How do I use my own image in a html:submit/ or html:cancel/ tag?
Why would they, your ignorance should talk for itself.
What kind of mistakes did you find? Scream openly about mistakes without
disclosing them is fairly silly. If you had something concrete to say
people would at least help you.
Quite frankly I found the book and the docs more than enough to
This is easy to check if you run your server localy. Unplug your machine
and look what happens. But the short answer is 'no' it does not. It goes
thru your TLD and finds that URL.
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:29 PM
Yeah but the question was that he wanted the mapping to occur.
So say you have a button and you want to call it Reset Password. Your
dipatch action would have a corresponding method called rstPasswd. Now
how do you map it? If I submit my form the value of method parameter is
going to be Reset
html:option value=today /
it will render the way you want it.
Alex.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 12:00 AM
To: Struts-Users
Subject: why no html:option property=...
Hi;
Wouldn't it be useful if you could do:
You can get the value for your key like this from within your action.
getResources().getMessage (host.name)
so your resources:
errors.required=Required {0}
host.name=Hostname
and the code:
new ActionError(errors.required, getResources().getMessage
(host.name));
The only thing is this method
Why is it so .. If we have a common resource in an Action class
which
is
shared by all the requests and it should be in session scope then how
to
handle this situation ??
This, sounds like an application scope resource. Create a context
listener, initialize the resource and attach it to
html:submit property=action value=edit /
-Original Message-
From: yan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 7:41 PM
To: [EMAIL PROTECTED]
Subject: 'action' variable on a submit button?
What is the equivalent to this
html:link
??
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 7:29 AM
To: 'Struts Users Mailing List'
Subject: RE: Simple html:submit question
Use html:image tag.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent
Hmm, I am a bit confused about Date fields
I have a field in my form bean of java.util.Date type.
I put struts html:text tag to capture the input from the browser.
When I submit the request I get the following exception:
java.lang.IllegalArgumentException: argument type mismatch
It
Out of curiosity, how do you group a number of checkboxes?
You name then tha same and what you get on the server side is a list of
values.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
I often hear that established businesses prefer containers such as web
sphere and web logic rather than JBoss to host their EJB. The reason
is
that JBoss does not have customer service should some troubles come
up.
They just annonced it, so this point is probably not valid anymore.
)).getMessage (null,
host.name);
null is for Locale if you have a locale you want the message for specify
it there, other wise default will be taken.
Alex.
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:55 AM
To: 'Struts Users Mailing List
Check logic:notEmpty tag
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Todor
Sergueev Petkov
Sent: Saturday, August 09, 2003 12:32 PM
To: Struts Users Mailing List
Subject: Newbie question: Testing if collection is != null before
iterating
How
Hello everybody : is it possible with struts tag libraries to
retrive dynamically for example pictures from a database and place
them
on the jsp page on the fly
Write an action that will have something like
response.setContentType (image/jpg);
OutputStream os = response.getOutputStream
Oops sorry it it is html:image
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 7:35 AM
To: 'Struts Users Mailing List'
Subject: RE: Nobody know how to replace a struts submit button by an
image
?
Just put html:img tag inside your
Woo hoo, I missed that!
Thanks.
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:39 AM
To: 'Struts Users Mailing List'
Subject: RE: Button labels and DispatchActions mix?
I believe that the solution is to use a
field property=phone depends=requiredif
arg0 key=venue.phone /
var
var-namefield[0]/var-name
var-valuevenueId/var-value
test=${yourFormName.yourProperty ne 0}
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:29 AM
To: Struts Users Mailing List
Subject: changing to JSTL
Can anyone give a quick snippet to show how to replace the
logic:equal
tag with
I guees if you want to assign the meaning to your form based on the
context where you placed it, it might make some sence.
Todor, you can probably create another action and extend it from your
original action, where you would override getKeyMethodMap (). This will
probably the least amount of
Use JSTL's formatDate tag. Very easy to use and lets you format your
date any way you want it. Example:
fmt:formatDate value=${yourDate} pattern=-MM-dd HH:mm /
it is that simple.
Alex.
-Original Message-
From: Riaan Oberholzer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06,
Just decalre your IuserType as Integer upon submission Struts will
convert the value.
-Original Message-
From: Andy Cheng [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 5:52 AM
To: [EMAIL PROTECTED]
Subject: Can
Is there anyway of having the code below to return int
It is securityfilter.
You can find the project at
http://sourceforge.net/projects/securityfilter
-Original Message-
From: Viral_Thakkar [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 7:42 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Best place to
The property will have to be of org.apache.struts.upload.FormFile
Type; that is probably the source of your problem
Alex.
-Original Message-
From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 8:25 AM
To: Struts Users Mailinglist
Subject: using html:file
Is your browser JavaScript enabled?
What validators are you using? Some of them do not have JavaScript
countrparts.
-Original Message-
From: Laksh Narasimhan [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 10:35 AM
To: [EMAIL PROTECTED]
Subject: struts validation
Hi *,
the validators i used are required, minlength, maxlength etc...
but do we have problem in displaying the error messages in java script
window bcos of validators???
I do not have that problem I do not know why you do. Check to see if the
JavaScript even gets to your browser.
Ceck your
If you are just linking, then you are not submitting your form, that
contains your checkbox. You need to rethikn your design. The only way
your checkbox vaulue gets to the server thru you submitting the form,
clicking the link does not do it, unless your link has some javascript
that goes
Not sure what you mean by any way out of this. Can you be more
detailed?
-Original Message-
From: Prashant Samant [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 5:42 AM
To: Struts Users Mailing List (E-mail)
Subject: html:radio
Hello Group,
I have a JSP page in
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 5:45 PM
To: 'Struts Users Mailing List'
Subject: RE: html:radio
Not sure what you mean by any way out of this. Can you be more
detailed?
-Original Message-
From
I have a need to assign multiple roles to a tile definition but the
attribute role only will take one. What do I need to do if I need
multiple roles able to have access to the tile?
Thanks,
Alex.
-
To unsubscribe, e-mail:
c:set var=yourVar%= Const.MY_CONST %/c:set
-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 7:33 AM
To: Struts List
Subject: simple - import
How do you get Constants (or anything none scoped ie app/sess/req)
into a
jsp for use in
I think the easiest way is to actually set validate to false on your
action and do it manually first thing in your execute:
// check for null values if there are just display the page otherwise
ActionErrors errors = yourForm.validate (...);
If (!errors.isEmpty ()) { return input mapping }
//
What really would be cool if Jasper would have a setting to get rid of
those extra whitespaces, but after your first post I looked up jasper's
config settings and there does not seem to be one, or maybe there is any
Tomcat experts here? I am wondering if other containers have this
feature
Just a quick guess your paramaters are probably messed up?
This is what you have in your descriptor
java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
You uri look suspicious. I think it has to read something along
%@ taglib uri=http://jakarta.apache.org/struts/tags-html-el;
prefix=html-el %
open up the jar, in META-INF dir there is a bunch of TLDs just read off
the uris from there.
-Original Message-
From: struts [mailto:[EMAIL
action chaining if you want to pass
attributes
in the request and use the attributes of the action forms.
You can extend the actions instead...
Siva
Alex Shneyderman wrote:
I have a need to chain actions and my code looks like:
OperationConfig oc = new OperationConfig
Alternatively make each submit button an indexed property of your form.
Depending on how big your form is this migh be an acceptable solution.
Alex.
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:47 AM
To: Struts Users Mailing List
I am not sure of the books you mentioned. When I use Constants
interface, which by the way is a good thing to use in my opinion, I
would always get its value with the use of scriptlet at the top of the
JSP
c:set var=myKey%= Constant.keyValue %/c:set
now thru my page I would only refer to myKey
Well, you have to communicate somehow to your designers what data he has
at his disposal to render. Constants is one way, context scoped vars is
another. One way or another you will have to communicate. The way you do
it is up to you.
-Original Message-
From: Emil Alexandrov
Show how you defined your ActionMapping for /myAction in
struts-config.xml
Also can you see any errors in your logs?
-Original Message-
From: Canning, Chuck [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 4:49 PM
To: 'Struts Users Mailing List'
Subject: html:form tag
It looks allright to me.
I do not know.
-Original Message-
From: Canning, Chuck [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 5:27 PM
To: 'Struts Users Mailing List'
Subject: RE: html:form tag generation
And here is the generated html -- sorry for second post, sent first
I have a need to chain actions and my code looks like:
OperationConfig oc = new OperationConfig ();
if ((oc.getStep () == null) || .equals (oc.getStep ().trim ())) {
oc.setStep (DEFAULT_STEP);
}
if ((oc.getOperation () == null) || .equals (oc.getOperation ().trim
())) {
You do not have to have a form to call an action.
You have not stated your problem. What is the problem
you encountered?
-Original Message-
From: Oguz Kologlu [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 9:42 AM
To: Struts-User
Subject: Action with no associated form bean?
ActionForward forwardTo =
mapping.findForward (your other action mapping);
return this forwardTo from your first actions execute method.
-Original Message-
From: guruprasad jakka [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 6:32 AM
To: [EMAIL PROTECTED]
It will just one type at a time:
Suppose you have 3 fields A,B and C
A depends=required,mask,date
B depends=required,mask
C depends=required,date
Now user fills out the form and forgets to put A and B
User will see the message A and B missing
When user provides A, B and C but suppose A is not
You might want to look at el tags.
You can specify expressions in them to avoid iteration
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:23 PM
To: [EMAIL PROTECTED]
Subject: RE: can I iterate on Map property?
No. Just use the
-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:33 PM
To: 'Struts Users Mailing List'
Subject: RE: can I iterate on Map property?
You might want to look at el tags.
You can specify expressions in them to avoid iteration
-Original Message
I am not sure if I understand you correctly, but I will try.
What you basically need is to create a form bean without actually
invoking the action that claims that it uses it. Did I understand you
correctly?
Anway to create your form bean manually you would do something like
this:
ModuleConfig
It is not clear form your email if your JSPs under SecurityFilter's
mapping?
So if you have mapping like this
filter-mapping
filter-nameSecurityFilter/filter-name
url-pattern/do/*/url-pattern
/filter-mapping
and access your jsp like this:
You did not map your filter.
Use filter-mapping element to tell the container what requests need to
be intercepted by your filter
-Original Message-
From: Kimberly Lane [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:49 PM
To: [EMAIL PROTECTED]
Subject: doFilter not
I think, you should use notEmpty to check for null
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 4:37 PM
To: [EMAIL PROTECTED]
Subject: Problem: logic:notEqual does not work with null values
Hi!
I need to check if the
Be carefull with that because if you set Feb 29, 2003 your date is going
to be March 1, 2003 and Calendar will not say a thing. You should
probably fix a birthdate validator.
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 2:18 PM
To:
PROTECTED]
Subject: RE: Birthdate validation ?
Thanks for the quick reply, seems pretty easy but a bit long for just
a
date. Anyway, is there a validator I could use or do I have to write
one
of my own? And I mean Struts Validator..
Erez
-Original Message-
From: Alex Shneyderman
You should put it either in WEB-INF/classes or jar it and
Put it in lib.
Note: if you are using tomcat and have a class that is not
part of any package you might have a problem. I saw this long
time ago; I was not sure if it was a bug or a feature.
Anyway the practice of not putting your class
I am looking for requiredif validator documentation. Does anyone have
any pointers to it, preferebaly with examples?
Thanks,
Alex.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is not a well formed XML document
tag1
tag2
/tag1
/tag2
I think is illegal in XML and since custom tags are xml you can not do
it.
So you will have to do something like:
logic:equal name=responseActionForm property=aBoolean value=true
html:form method=post action=/action1.do
html:select property=language
html:select property=language onchange=javascript: submit ()
There are a tutorial how to use the Stuts Tags???
Documentation is included as a war struts-documentation.war
There are User guides and API docs for tags.
If you do not want to run the war as an app you
There is really no code that shows that you actually attached the
listdepartments bean to any of the contexts. Where do you do it?
If you call your jsp directly then the error above is in deed correct.
Before you are ready to display your content you have to set it up
first. A good place to do it
Sure, this is what I do.
An easy way:
Use Javascript. When you pop up the window and user finds his/her school
you need to put the following code in your link onclick event:
Javascript:
parent.document.form ['formname'].schoolField.value='Whatever the
name of your school'; window.close ();
-Original Message-
From: p [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: getting an ActionMapping class from within a custom tag
Hi,
What: I would like to find the roles associated with an ActionMapping
from within a custom tag,
Check out org.apache.struts.util package.
There are bunch of ways there.
-Original Message-
From: Sturzebecher Dirk (extern)
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:06 PM
To: ' ([EMAIL PROTECTED])'
Subject: How to get MessageResources in ValidatorForm
Hi,
I
What if you want to write an Action that can service a
family of several different ActionForms??
You can do it. Just need to do it yourself (well sort of).
Alex.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
= personForm.getFirstName();
}
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:31 PM
To: 'Struts Users Mailing List'
Subject: RE: html:form tag and coupling between ActionForm and Action
What if you want to write
I was just thinking, never tried this, but
You could change your form a bit to have an extra
Property like String [] submit
Now in JSP you can say
html:submit property=submit[$iter.count]
value=removeConstraint/html:submit
When you submit this request you will have submit [array]
That will
Do you use el tags?
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 4:34 PM
To: 'Struts Users Mailing List'
Subject: RE: Question on how to remove a detail row?
Ok, how do I code the onclick param?? Below does not work?
c:forEach
Sorry I should have asked what is not working?
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 4:36 PM
To: 'Struts Users Mailing List'
Subject: RE: Question on how to remove a detail row?
Do you use el tags?
-Original Message
I have tiles definition file and and I use
putList name=items
item value=item1 link=link1 /
item value=item2 link=link2 /
/putList
Suppose now I need item2 to be displayed only for user in role admin
How would I go about doing it? There is no role attribute for item.
Is there a good way to
They are subtasks of ejbdoclet (strutsform) and webdoclet's
strutsconfigxml and strutsvalidationxml
you can find appropriate tag descriptions in the docs for those
modules.
-Original Message-
From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 3:02 PM
To:
What is the fastest/simplest way of clearing the DynaAcitonForm?
I am looking for something like:
DynaActionForm form = init here;
:
:
logic goe s here
if (need to manually clear the form) {
form.clear (); //
}
Thanks,
Alex.
Currently, I have a DynaValidatorForm defined in my web app. Some of
the properties of this form will be completely dynamic. I will read a
database and retrieve an ArrayList. This ArrayList will contain the
If I understand you correctly
for (Iterator iter = al.iterator (); iter.hasNext
: Re: Simplest way to clear DynaActionForm?
On Thu, 10 Jul 2003, Alex Shneyderman wrote:
Date: Thu, 10 Jul 2003 10:49:57 -0400
From: Alex Shneyderman [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED],
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject
My problem is that I have a table in which every row is a object of a
formbean and has checkbox on the left which is a column of the table.
So
Then each row is identified somehow (indexed?). Each row will need to
have
that checkbox named (property) exactly the same way on each row, but you
can
There is an example on struts site called struts-upload.
It is well commented, so try it out. If you can't find it
let me know and I will email it to you directly. The file
size is ~1.4M.
-Original Message-
From: Jagannayakam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003
Did you try www.javasoft.com ?
-Original Message-
From: Davidson, Glenn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 11:08 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] JSTL
I too am a bit of a newbie and have the same question plus where can
we
find
good
Is there a way to render select options drop down thru a Map?
Thanks,
Alex.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it working with struts html tags too or do I have to use el's?
Thanks,
Alex
html-el:select property=type
html-el:options collection=contactTypes property=key
labelProperty=value/
/html-el:select
-
To unsubscribe,
Use jakarat DBCP. If you read thru tomcat's (that is if you use tomcat)
howto's they explain how to set it up.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 12:39 AM
To: [EMAIL PROTECTED]
Subject: db connection pooling
Hi,
Is
You have a typo in your web.xml change Index.jsp to index.jsp
And no it is not essential to start app as war. You can dearchive it too
and it will deploy just as well.
-Original Message-
From: Jagannayakam [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 7:54 AM
To: Struts Users
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 9:35 AM
To: [EMAIL PROTECTED]
Subject: include javascript (urgent)
Hi all,
I'm using the Struts framework for my web application.
Unfortunatly I have to include some java-script
What is the process to be followed? Can somebody give me links to
related
examples on the net?
There are many different ways. From do it yourself to get your options
From a collection that is a bean in one of the contexts.
I will explain do it yourself method the others are similar with an
Before you send any data in the response you can
Send the following thru your response object:
%
response.setDateHeader (Expires, 0);
response.setHeader (Pragma, no-cache);
if (request.getProtocol().equals (HTTP/1.1)) {
response.setHeader (Cache-Control, no-cache);
}
%
Note,
1 - 100 of 105 matches
Mail list logo