Short answer: No.
Long Answer: Read the javadoc documentation of the Struts tags and compare with the
w3c recommendation.
Rgs
Vikram
-Original Message-
From: Sirisha Gaikwad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:40 AM
To: 'Struts Users Mailing List'; [EMAIL
I don't know if Struts has implemented every single tag (and attribute) in
the 4.01 spec.
The best person to ask (aside from doing a LOT of research) is Craig.
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
Hi,
I am doing an application using JSPs/ Struts as the presentation
layer(Tomcat server). I want to know the behaviour of the form method=GET
with other containers like Weblogic etc.
There is a possibility that, when I use URLs for session tracking and the
form method is set to GET,
multiple select boxes tag - dynamic selectionHi Raj
Just include the Value atttribute in the html mutibox tag and give the to highlighted
Gnan
- Original Message -
From: Rajesh Pradhan
To: Struts Users Mailing List
Sent: Thursday, June 27, 2002 11:32 AM
Subject: multiple
Other than the 'id' attribute, as Craig has explained, the intent is that
the Struts tags should support the HTML 4.01 attributes. If there are
serious differences, please file a bug here:
http://nagoya.apache.org/bugzilla/ http://nagoya.apache.org/bugzilla/
and list the specific cases where
Hi Gyan
I didn't get u. See first of all I am using select box which are nested.
But when I try to set the values .. only the value of the first select box
is set and this value is
Applied to all the select boxes present there. So what I see is the same
value selected in all the
Select boxes. I
Hi,
The Servlet 2.3 specification provides a mechanism to be notified
when
the application start-up: the ServletContextListener API.
What is the best solution for single initialisations ? Is it in our
own ServletContextListener class
or in the init()
Craig,
I use tomcat 4.0.4-B1 and it makes 'strts56829.tmp' files in the
tomcat\work\localhost\[myAppName]\ each time a FormFile is used.
The problem is: this is filling up the harddisk, I cannot programatically
delete them as they are given a random name, thus I cannot identify which
files I no
Very fine Gyan.
I got it by just putting the value in the value attribute of the select box.
Thank u very much.
Thanks Regards,
Rajesh Pradhan
-Original Message-
From: gnanaseelan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 02, 2002 12:20 PM
To: Struts Users Mailing List
I would like to add comments on my previous message about
ServletContextListener and
ActionServlet sub classing. I read that with Struts1.1 it is bad to
create ActionServlet subclass ,
because a new class RequestProcessor has been added.
So my new question is,
I'd try something like this:
index.jsp:
%@ page language=java %
%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/
web.xml
...
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
...
struts-config.xml
...
global-forwards
forward name=welcome
Okay, found it. I wasn't using .do extentions for my url mappings so I
removed the servlet mapping of *.do to the action servlet from my
web.xml. Apparently, Struts doesn't like this. So, when I put the
servlet mapping back into my web.xml I get:
html:form action=/createUser
translated to
Hi All
While I am using an Action which is associated with a Bean by a session
scope I am getting two different 'class' for the same instance, from two
different JSPs.
What I mean is:
I am accessing the same Bean (DbListForm) from two different JSP. Both are
accessing methods that printing
Hi all !
i'm not sure if i have to post this on struts or commons list but anyway
here's my question :
I want to make a table of radio buttons with Struts 1.1 . Each line is
independant of the others. The lines ar contained in a collection so i use
the logic:iterate tag. I followed Larry
On Thu, Jun 20, 2002 at 03:29:25PM -0500, Joe Germuska wrote:
Maybe that's all I really need. I also tend to lean towards Jakarta
tools over others. For example, I was about to rework an app to use
Castor but now I'll probably use ObjectRealtionalBridge instead.
It's not just about
you don't have to use struts taglib, right?
if you want to use *.dude as extension for instance,
you can type directly
form action=theAction.dude
or you can use jakarta-taglibs if you want.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
It is a mistake. sorry!!!
-
Oren Gross Java(TM) Developer
Mercury Interactive APM TAC RD
+972-3-5399407 [EMAIL PROTECTED]
-Original Message-
From: Oren Gross [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 1:43
Hi All,
I tried to use the Struts in WSAD 4.0.3, I got the following error: Your help is
appreciated!
6/27/02 7:19:11:687 EDT] 413d3927 WebGroup X Servlet Error:
org.apache.struts.action.ActionMappings: java.lang.ClassCastException:
org.apache.struts.action.ActionMappings
at
Why is only String supported ? this does not please me... since I have to
convert it :(
or else JspException...
Babs
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I think you would have to send some of your source code where the error is
ocurring if you want help. Just the error message is kinda vague. By the
way, I'm also using WSAD and have been having problems lately. When I first
started using it, I could save a file and run the changed project on
Why not plugIn ?
What functionality is lost if using tiles' plugIn ?
Just out of curiosity.
William.
From: Vincent Stoessel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Tiles And Struts
Date: Wed, 26 Jun
Hi Chris,
That's been discussed on this list many times, I have not paid much
attention to it but I know it can be found in the archives at
http://www.mail-archive.com/struts-user%40jakarta.apache.org/.
There you can do a search on miltiple submits. Please post the thread
that was most helpful
Subject: Re: URGENT: Weblogic Application.properties issue
From: Wayne [EMAIL PROTECTED]
===
I am fighting this same issue. I am using struts 1.1b1 with WL 5.1 SP12 with
an exploded WAR. (I tried a while in the WAR)
Here's the error message I receive... any ideas?
I was facing similar kind of problem with WSAD. Not sure whether it'll help
u or not. I made a little change in WSAD settings. And it worked for me.
1. From your project properties, select Validation section.
2. Turn on the option of Run validation automatically ...
- Nilesh
-Original
Has anyone a cleaner way to do the following:
bean:define id=confirmMessage value=return confirm(' /
%
org.apache.struts.util.MessageResources messages =
(org.apache.struts.util.MessageResources)request.getAttribute(org.apache.str
uts.action.Action.MESSAGES_KEY);
deleteConfirmMessage =
Hey everyone,
I have a couple little questions that I've been trying to figure out. I
found some info online, but some of it didn't make sense.
One issue deals with using an html:checkbox in a form. I know that you
have to set the boolean property to false in the reset method, but i thought
the
There is no official Tiles' plugin today. I work on it. If someone has already
implemented it and would like to donate it ...
When the plugin will be released, it will be the preferred way to initialize
Tiles.
Cedric
William W wrote:
Why not plugIn ?
What functionality is lost
Hi,
What is the best Tomcat 4.0.x version to use with
Struts 1.1 ?
Is the 4.0.4 is ok ?
-Emmanuel
___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
--
To unsubscribe, e-mail:
4.0.3 and 4.1.3b do work :-)
Babs
- Original Message -
From: emmanuel.boudrant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Developer
[EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 3:04 PM
Subject: Tomcat 4.0.x version + Struts
Hi,
What is the best Tomcat
The welcome file should denote a valid URL. So I think you can put any struts action
URL forwarding to a tile definition. Also, you can put a jsp page URL inserting the
definition.
What you can't do is to put a definition name as welcome file ;-) .
Hope this help,
Cedric
I'll try it out.
Thanks!
~ Keith
-Original Message-
From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 8:58 AM
To: 'Struts Users Mailing List'
Subject: RE: WSAD Struts ClassCastException:
org.apache.struts.action.Ac tionMappings
I was facing similar kind
it almost seems like you could use a tag library.
i'm sure there is a better way than that as well..
sandeep
--- Developer [EMAIL PROTECTED] wrote:
Has anyone a cleaner way to do the following:
bean:define id=confirmMessage value=return
confirm(' /
%
The documentation tells that nested:img is an extension of html:img but I
can find neither the .class nor the definition in struts-nested.tld.
so ? what do I do ?
strange.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
What is the best Tomcat 4.0.x version to use with
Struts 1.1 ?
Is the 4.0.4 is ok ?
Tomcat 4.0.4 seems much faster than 4.03 on my test PC and I didn't
encounter any problem with 1.1b but I updated Tomcat yesterday and have just
tested struts-example...
--
To unsubscribe, e-mail:
thanks, will give a try too :-)
But since even 4.1 works let's play ;-)
Babs
- Original Message -
From: mailinglist [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 3:36 PM
Subject: Re: Tomcat 4.0.x version + Struts
X-Spam-Rating:
nested:define property=nodePix id=imgName/
html:img src=images/%=imgName% width=10 height=10 alt=/
%=imgName%
html:img src=images/puce2.gif width=10 height=10 alt=/
...
so I get :
broken link, the right name of my pix, my pix shows blissfully.
On the resulting html page I see
Thanks for the response Craig.
I realize 'doesn't work' sounded a bit alarmist... the specific problem:
this line threw an exception in struts 1.1 though it worked fine in 1.0:
bean:define id=returnUrl name=listDefinedProcessesForm
property=returnUrl/
the exception said you could specify a
Try this:
nested:define property=nodePix id=imgName/
% String imgSrc = images/ + imgName %
html:img src=%=imgSrc% width=10 height=10 alt=/
%=imgName%
html:img src=images/puce2.gif width=10 height=10 alt=/
The behavior you are seeing is the result of limitation in the
Hi again,
when I use html:password, html:text, html:img without setting title / alt to
an empty string struts looks in my ApplicationResources.properties and
doesn't find anything, but which key does it look for ?
example :
html:text property=userCompany ... /
instead of :
html:text
Great Robert, this solved ! Thank you !
Babs
- Original Message -
From: Robert Taylor [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 3:47 PM
Subject: RE: problem with img and scriptlet variable
Try this:
nested:define property=nodePix
Hi,
I did search the archive before I submitted my question.
I used your suggested search string (minus typo g), which did turn up two
threads I hadn't run across (thanks!), however, neither of them seemed to
fit my particular problem.
However, I have been able to get an approach to work
try downloading the latest 1.1 build or use 1.1b1. I use the same thing
everywhere in my app and it's working fine with tomcat 4.0.x
ciao.
- Original Message -
From: Bill Milbratz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, June 27, 2002 9:43 AM
Subject: form input in utf-8
From: Torgeir Veimo [EMAIL PROTECTED]
===
What is the easiest way of telling struts that a form input is in utf-8
format?
I clearly see that the input comes in as utf-8, but it is interpreted as
isolatin-1.
--
-Torgeir
--
To unsubscribe, e-mail:
How can I access a global forward within a struts action?
How do I find more about defining an controller for an action like it seem
to be possible in struts1.1?
Many thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Thursday, June 27, 2002, 4:25:02 PM, you wrote:
SN Subject: form input in utf-8
SN From: Torgeir Veimo [EMAIL PROTECTED]
SN ===
SN What is the easiest way of telling struts that a form input is in utf-8
SN format?
SN I clearly see that the input comes in as utf-8, but it is interpreted as
SN
Greetings:
I know there is much discussion of dynamic forwarding on this list.
My searching has not produced a definitive answer though.
In our project, for various reasons, we will by using javascript to make a
few decisions before a submit happens. The are several Action classes
that I
before an action is called (on a request) the order
is:
reset
processPopulate
validate
if validate=false in the config, only the first two
are followed.
if it is a cancel button than I don't think any of
this is called.
In version 1.1 if you define a jsp with an html:form
which has a form
Try last nights struts build, the patch that I applied suppliaed by Hal
and others may fix your problem.
Also when reporting a problem state the date/version of struts and
conatiner TC 4.0.4 etc..
For an explination try searching the mail archives for
'Multipart data doesn't start with'
Accessing a global forward is easy. Access it the same as you would a local
forward.
return mapping.findForward(globalForwardName);
Hope that helps.
~ Keith
-Original Message-
From: Dirk Storck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 9:58 AM
To: 'Struts User (E-Mail)'
Hi,
I am trying to open a new window via javascript command that submits
command to an action path. As this action path needs a request
parameter, it's got to be submitted as well. When I tested the action, I
did it like this:
html:link page=/details.do paramId= paramName=ticket
Thanks for the input. So should I just use the reset method to set my
boolean properties (checkboxes) to false?
~ Keith
-Original Message-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 10:33 AM
To: Struts Users Mailing List
Subject: Re: Question- Reset
At 7:25 AM -0700 2002/06/27, Struts Newsgroup (@Basebeans.com) wrote:
Subject: form input in utf-8
From: Torgeir Veimo [EMAIL PROTECTED]
===
What is the easiest way of telling struts that a form input is in utf-8
format?
I clearly see that the input comes in as utf-8, but it is interpreted as
On Thu, 27 Jun 2002, Sunil Mathew George wrote:
Date: Thu, 27 Jun 2002 12:06:16 +0530
From: Sunil Mathew George [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Subject: Does form method=get behave uniformly
Thanks !
and about that Controller?
-Ursprüngliche Nachricht-
Von: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 27. Juni 2002 16:44
An: 'Struts Users Mailing List'
Betreff: RE: How can I access a global forward within a struts action?
Accessing a
On Thu, 27 Jun 2002, Heligon Sandra wrote:
Date: Thu, 27 Jun 2002 09:35:09 +0200
From: Heligon Sandra [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: ActionServlet init() method vs ServletContextListener API
i don't know which version you are using, but i have no problem even if i
don't put title and alt (i use struts 1.0.2)
this is a snapshot of my page :
img property=
bean:message key=prompt.login/ :html:text property=userName
maxlength=16 size=16/
bean:message key=prompt.password/ :html:password
On Thu, 27 Jun 2002, Heligon Sandra wrote:
Date: Thu, 27 Jun 2002 11:09:47 +0200
From: Heligon Sandra [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: ServletContextListener vs ActionServlet/RequestProcessor sub
On Thu, 27 Jun 2002, Barbara Post wrote:
Date: Thu, 27 Jun 2002 15:40:07 +0200
From: Barbara Post [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0.x version + Struts
thanks, will give a try
On Thu, 27 Jun 2002, Dirk Storck wrote:
Date: Thu, 27 Jun 2002 17:06:30 +0200
From: Dirk Storck [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: AW: How can I access a global forward within a struts action?
Hello,
I've got a big trouble, for our application based on
Struts 1.0.2, we make some customs tags extends or
composed by struts-html tag.
For example, we've got a DateTag composed by 3
SelectTag from struts, we invoke directly doXxxTag()
methods in the doXxxTag() methode from our DateTag.
Thanks for your help, if I understand your explanation,
the ServletContextListener is the best solution.
But this case needs to have a servlet 2.3 engine, like Tomcat 4.0.4
for instance. I read the Struts 1.1 used JSP1.1 and Servlet2.2
but it works with container2.3. Are they downsides to mixing
Subject: Looking for Senior Struts Mentors
From: seniormentor2002 seniormentor2002@yahoo.com
===
Looking for Senior Struts Mentors
If you are looking for a good position or contract, and you have Struts
experience and know related technologies, like SQL, please send resume
to [EMAIL
On Thu, 27 Jun 2002, Heligon Sandra wrote:
Date: Thu, 27 Jun 2002 18:10:43 +0200
From: Heligon Sandra [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: ServletContextListener vs
I have the following problem:
I have two forms.
The first form has a field which contains the numbers of itens desired for
user.
The second form will be constructed based on the numbers of itens entered
in the first.
In struts is very easy to write the first form bean, ie:
FirstFormBean.java
I'm writing a tag to extend data being iterated over on a page. If I
wish to pull data from that bean, are there methods within struts that I
can use to extend into my own tag that would allow me to do:
value=beanName.property scope=page ?
---
Outgoing mail is certified Virus Free.
Checked by
-- Envoyée par Olivier Schmeltzer/QVI/GRAF/FR le
27/06/2002 17:44 ---
Olivier Schmeltzer
24/06/2002 15:58
Pour : [EMAIL PROTECTED]
cc :
Objet : Is ActionMappings shared by all the servlets ?
Hi !
I am very confused by what is taking place
Hi all !
i'm not sure if i have to post this on struts or commons list but anyway
here's my question :
I want to make a table of radio buttons with Struts 1.1 . Each line is
independant of the others. The lines ar contained in a collection so i use
the logic:iterate tag. I followed Larry
I need to trace when the application and new client-browsers start-up or
stop.
I think so that the ServletContextListener and SessionListener are really
the best solution.
Do you know if a lot of servlet engines don't support servlet2.3?
I look for summary on the web but I don't find.
We have
Hi,
I download struts V1.1B1 and tried to use it in my project.
I got the following Errors:
Parsing of JSP File '/index.jsp' failed:
/index.jsp(2): Error in using tag library uri='/struts-bean.tld'
I'm in the process of developing my first tiles-based application, and have
come across the following issues.
1. In my header.jsp, I have the following code snippet:
logic:present name=bApplication
img border=0 src=/images/logo.jpg
/logic:present
I know the
Struts Action class handles this for you.
Try searching for 'token'
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org
-Original Message-
From: Chris Means [mailto:[EMAIL PROTECTED]]
Sent:
Please disregard my question.
From: Toni Nehme [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts V1.1B1 bug
Date: Thu, 27 Jun 2002 12:33:44 -0400
Hi,
I download struts V1.1B1 and tried to use it in my project.
I got the
how to stop struts action from flooding my server console ?
i have tried to edit my web.xml
and modify load-on-startup1/load-on-startup to
load-on-startup-1/load-on-startup
but the Action servlet doesn't work, off course ! because action servlet has
to be initialized every time the server starts.
Hi,
When I change the scope in the strus-config.xml form an action to session I
am receiving the below exception.
With request-scoupe everything works just fine! So I cannot understand why
once the Bean can be found and when the scoupe is session it cannot?
My setup is as follows:
Set init-parameters detail and debug at 0.
--- Virga [EMAIL PROTECTED] a écrit :
how to stop struts action from flooding my server
console ?
i have tried to edit my web.xml
and modify load-on-startup1/load-on-startup to
load-on-startup-1/load-on-startup
but the Action servlet doesn't
Hi I was trying to throw a jsp , with quite a few logic:equal tags in
the jsp , I get the error
JSP Exception :
No selector attribute (cookie/header/name/parameter) was specified
Jun 27, 2002 11:11:35 PM IST Error HTTP
[WebAppServletContext(3073299,dss
,/dss)] Root cause of
Struts uses the commons-logging framework for logging, so you can
find the details about how to control it in that project.
http://jakarta.apache.org/commons/logging.html
The API doc includes explanations of how to set the logging
implementation that you want (you could set it to the
hi,
probs with installing resp. running the ultradev extension:
(tomcat 4.04, struts 1.02, ultradev extension from 06.26.02, ultradev 4.01)
I did everything described in the documentation
http://jakarta.apache.org/taglibs/doc/ultradev4-doc/
Now I am able to open this window 'use tag libs' in
Struts does *not* support multiple controller servlets in a single webapp.
There are many assumptions throughout the code that there is only one.
Craig
On Thu, 27 Jun 2002 [EMAIL PROTECTED] wrote:
Date: Thu, 27 Jun 2002 17:45:15 +0200
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing
I think what you want is:
servlet
[...snip...]
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
param-namedetail/param-name
param-value0/param-value
/init-param
[...snip...]
/servlet
/mark
-Original Message-
From: Virga [mailto:[EMAIL PROTECTED]]
Never mind. Didn't realize that you had to have the %@ taglib... %
definitions at the top of each tiles component. Sorry for the post.
Jerry
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:38 AM
To: '[EMAIL PROTECTED]'
Subject:
Hi,
When I change the scope in the strus-config.xml form an action to session I
am receiving the below exception.
With request-scoupe everything works just fine! So I cannot understand why
once the Bean can be found and when the scoupe is session it cannot?
My setup is as follows:
Hello
While I switch from one application to another, a new Form object is
created. Is there a way to use the Form object which is created during the
Request process of previous application page?
In my struts-config.xml, I have defined 2 different actions namely index and
core. From index.jsp
On Thu, 27 Jun 2002, Heligon Sandra wrote:
Date: Thu, 27 Jun 2002 18:33:48 +0200
From: Heligon Sandra [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: ServletContextListener vs
Subject: newbie html:link question
From: Jeff Herald [EMAIL PROTECTED]
===
Hello all,
I have an html:link tag that is nested in a logic:iterate tag. I need to add
the iterate index
as a parameter to the link url. I'm having trouble referencing the page
scope variable index
from the html:link
I know I have used the bean:write tag (with name=index) to get at the
index.
Pat
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: newbie html:link question
Subject: newbie html:link question
From:
What is the best way to handle dates in Struts? If I use html:text in my
form, can I define it as a Timestamp (or Date) in my action form? Will
struts handle the conversion automatically? Or do I have to use Strings for
everything and do the conversion in my action or business logic layer?
If you have the following in your struts-config.xml:
message-resources parameter=ApplicationResources/
message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/
how do you access the second one from an action or a JSP???
MessageResources
On Thu, 27 Jun 2002, Juan Alvarado (Struts List) wrote:
Date: Thu, 27 Jun 2002 15:45:14 -0400
From: Juan Alvarado (Struts List) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Subject: Multiple Message Resources
LOLyou know, you should be glad that Mark G. is on vacation :)
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org
-Original Message-
From: Toni Nehme [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
I have been working on this issue for the past 3 days, and I've read a
lot of questions on a variety of forums and mailing lists, but I have
yet to find a solution to this problem. The problem I am running into
is the notorious IllegalAccessError. Mapping the name Director to my
ActionServlet,
Hi, I'm wondering if you followed this warning in the javadoc (for 1.0
anyway):
WARNING: In order to correctly recognize unchecked checkboxes, the
ActionForm bean associated with this form must include a statement setting
the corresponding boolean property to false in the reset() method.
When I
ResultSet has an open connection to the database, and until you call
ResultSet.close() method or GarbageCollector collects it, it will stay open,
so you shoud copy everything into a collection, close the result set and
then put the collection on the session for JSP to access.
- Original
I am a newbie to struts.
I would like to have a single page for all session expiry. Now can I specify
this session expiry page somewhere (ex struts-config) by which it will
automatically show this page.
Thanks for the help.
Bobby
It is usually better to allow your action forms to deal with most
everything as Strings. The http request parameters are always Strings.
Users will invariably pass you dates that are not properly formatted and
which cannot be converted.
If you try to convert data types before mapping to the
Hey Folks,
Anyone ever had problems with the ActionErrors object not clearing
itself? I've noticed that if you add an error, after which the user hits
the browsers back button to get off whatever validation error
notification page, the actionerror object doesn't clear. It just floats
about in
I would like to know the best way to forward to an action from within
RequestProcessor.processPreprocess
In my application, I would like to have a custom RequestProcessor that
checks some HttpSession attributes
before the requested Action is passed control. If the HttpSession attribute
is in a
I'm building an application that has a list of the
same type of attribute such as:
email address 1
email address 2
email address 3
...
in my HTML form, I have input names like email1,
email2, email3, ... emailx. My problem is how to write
form-bean section in struts-config.xml, I
One quick-and-dirty thing to look for -- are all of your classes and their
constructors declared public? If they are not, then Struts won't be
able to use reflection to get at their insides.
Craig
On Thu, 27 Jun 2002, Scott P. Bartle wrote:
Date: Thu, 27 Jun 2002 14:32:22 -0600
From: Scott
Somebody wrote a DataListHandler pattern to handle large result sets.
http://www.theserverside.com/resources/article.jsp?l=DataListHandler
All the solutions mentioned so far are good, simple, and easy to implement.
But they don't scale: what if your ResultSet doesn't fit in memory?
-
1 - 100 of 107 matches
Mail list logo