Hi!
I am getting an exception which reads like this : *:does not contain
handler parameter named empfieldsaction
*
I have the following jsp.
html:form action=StartCustomFieldCreation.do
input type = hidden name=module value=Leads
Leads Custom Fields nbsp; html:submit property=empfieldsaction
On 2004-05-24 at 16:18:18 -0500, Joe Germuska wrote:
At 2:04 PM -0700 5/24/04, Wiebe de Jong wrote:
Ok. I've signed up as the first user in Vancouver. Now I just have to wait
for somebody else to signup...
yes, at only 45 members, it's not really on-fire yet! Especially
now its 64 (one of
Hi all,
if we have a master/child relationship to show after
execution of action/execute,
how shld we create the beans to display this using jsp
and logic:iterate ??
i tried creating 2 beans (one each for master and
child) but it is difficult to
match master record with child .
The output needs
Hi,
We are developing a web based interface (struts + jsp etc) for realtime
monitoring of server cpu usage.
We have written a bean that will contact the server and get the current
cpu usage and return that value. I want to plot a line graph (using
jfreechart) with the cpu usage in Y-axis and
Is it possible to use multiple validation.xml files concurrently ? We're
about to launch a fairly large projetct and I see issues where one developer
has validation.xml checked out when another one needs to edit it as a
possible problem.
//Linus Nikander -
In a sense everyone does just this when they declare their plugin as
such:
plug-in
className=org.apache.struts.validator.ValidatorPlugIn
set-property
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml
property=pathnames/
It's just you
Linus Nikander wrote:
Is it possible to use multiple validation.xml files concurrently ? We're
about to launch a fairly large projetct and I see issues where one developer
has validation.xml checked out when another one needs to edit it as a
possible problem.
//Linus Nikander -
If you use CVS
Hi ,
I have used bean:size tag and getting JspException as shown below
bean:size id=nattachments
name=dataInputForm
property=attachments /
Pls can anybody guess the problem. Thanks.
Thanks,
HAri.
**
javax.servlet.jsp.JspException
at
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When our webpages are viewed with opera all our links are relative to the
jsp used (within tiles) not the actual url/action given.
Is there some way of changing the response so that the url is correct and
relative links don't reference the jsp?
Mick.
--
-- BR/
It is not enough to have a good
Opera should know nothing about your jsp, unless you are doing something
else wrong. Are you using redirects or forwards?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Mick Wever [EMAIL PROTECTED]
To:
On Wed, 26 May 2004 07:14:52 -0400, James Mitchell wrote:
Opera should know nothing about your jsp, unless you are doing something
else wrong. Are you using redirects or forwards?
Indeed I would think so too. There are naturally no differents in the html
source between the different browsers,
UK Struts Users
We have three people (including myself) who are meeting for informal
drinks on Wednesday 9th June 2004 19:15 GMT @ Waxy O'Connor (Irish Pub)
in central London, the West End.
Peter Pilgrim
Tim Penhey
Niall Pemberton
If there's anyone else interested
Do you have a base tag inside your htmlhead ?
-Oorspronkelijk bericht-
Van: Mick Wever [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 26 mei 2004 13:17
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Links relative to jsp not action in Opera
On Wed, 26 May 2004 07:14:52 -0400, James Mitchell
Hi,
Can anyone suggest some approach for this issue.
thanks regards
-Ramudu
-- Forwarded message --
Date: Wed, 26 May 2004 14:52:23 +0530 (IST)
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: scope and presenting
On Wed, 26 May 2004 13:28:23 +0200, Kransen, J. wrote:
Do you have a base tag inside your htmlhead ?
No, but I'm playing around with that now...
One problem that arises from using the base tag is browser
differences:
IE: server name and port required in base href
Firefox: base tag doesn't
On Wed, 26 May 2004 13:49:34 +0200, Kransen, J. wrote:
You probably already know, but you can use Struts html:base/ tag to
dynamically create the base tag. This works great as you don't have to edit
the tag if you move the page or change the server for example. It also
creates the full
Why not store the info in the servlet context, using different keys for each
server?
That way if several users are all monitoring the same server they will be
looking at the same set of data.
Since the data is being multithreaded you will need to make sure you
synchronize in the appropriate
Hi all,
After a year of using Struts I want to contribute something to the
community. So I decided to write a short tutorial on Struts validator
framework in Struts wiki
http://wiki.apache.org/struts/StrutsBeginnerValidatorFramework
I will really appreciate it, if you guys can stop by for a
Hi,
Thanks for your response...
as you rightly pointed out the data is 'near realtime' not exactly
REAL-TIME.
Yes.. we need to store in the servlet context.. but what needs to be the
scope..
if scope is request, than we can show only the current value.
if the scope is session, than this
There are currently four flavours of Validator ActionForms, so IMO it
would be good to say something about this.
Your example shows using the ValidatorForm - the alternative is if someone
wants to use Dyna forms and the equivalent is DynaValidatorForm, it would
be good to show an example of this.
[The other problem here is in a cluster the server must be the virtual
host fronting the cluster not the localhost, although this can be solved
it's just an extra pain.]
According to
http://jakarta.apache.org/struts/userGuide/struts-html.html#base you can use
two attributes from which one is
Friends,
I have a image in Oracle Blob field and i want to renderize it my jsp. Do I need to
use hmtl:image or html:img or this is not the way? My form property is a Blob, but
i guess that this tags dont support this class, seemingly they support only a Map.
Really I'm helping a friend, and I
neither request nor session.
the recommendation was to use the application context (also known as servlet context)
This is one context object FOR ALL servlets und users within the same web-application.
It would be shard between ALL users of the web-application, so the overhead of keeping
it
Dear Paulo,
first of all, you need to make a jsp page (like photo.jsp) which will be
like this in your display page
html:img src=photo.jsp?ID=3
the photo.jsp will need to make the contentType to img/jpeg or any typem
extract the BLOB field from database and flush the content.
Regards,
zaid
I'm not sure on how to use the htmml:base tag in the opposite manner, ie
the href to be that of the struts action's path not the jsp's path?
Are you sure you want to have the action path in the base href instead of
the jsp path? I would think that as you write the relative links inside the
jsp,
you can use whatever image tag you want. The real catch is that you
will need and action that pulls the info from the db and writes it to
the OutputStream in the response. The have the execute method return
null.
You might end up with a tag that looks like...
img src=c:url
Is this a Struts question?
-Original Message-
From: ganesh g [mailto:[EMAIL PROTECTED]
Sent: 26 May 2004 14:15
To: user
Subject: why and how to configure tomcat with apache web server urgent
Hi list
Will u please tell me for my thearitical question
what is the need of to configure
Hi list
Will u please tell me for my thearitical question
what is the need of to configure Tomcat with Apache web server.
And how to do it.
waiting for ur reply urgent
Thanks
Ganesh
-
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo!
Hi list
Will u please tell me for my thearitical question
what is the need of to configure Tomcat with Apache web server.
And how to do it.
waiting for ur reply urgent
Thanks
Ganesh
-
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo!
Zaid,
It's a way but I really dont like it. If I copy all the fields of a table to
properties of the form, why i dont can copy also the image to a Blob in the
form and use it? Do I need to create another connection with db and run
another sql only to get the image?
tks, Paulo
- Original
Yes, nathan.
A action is so bettet than a servlet or a jsp. But are this the only way?
tks, Paulo
- Original Message -
From: Nathan Maves [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:16 AM
Subject: Re: How to renderize a image?
Can you send the code for the DataTypePopulateAction class?
I'm having a similar problem, except I'm using a form with multiple submit
buttons and if I press the 'Enter' key rather than clicking on the button,
then I get the same error. At least I think it's the same error... I'll
check. I
a) doesn't seem so
b) something a googling with How to configure tomcat with apache could resolve
c) seeing his duplicate entries: SPAM
well, ... happens
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 26. Mai 2004 15:20
To: [EMAIL PROTECTED]
Because that's not the way HTML works. A cursory look at the img tag
would have shown you that it accepts a url to an image, not a byte array.
You can not do (with Struts or custom tags) something that is not in the end
supported by html.
-Original Message-
From: Paulo Rezende
You must request it separatly because the browser DOES it like that.
He needs an object with a different mime-type.
Certain questions cannot be answered in a different way...
Zaid's answer points to the right direction.
hth
Alexander
-Original Message-
From: Paulo Rezende
I have a image in Oracle Blob field and i want to renderize it my jsp.
Do I need to use hmtl:image or html:img or this is not the way? My
form property is a Blob, but i guess that this tags dont support this
Hi,
First remember how images work in HTML. the img src=... attribute is
treated as an
It's an error to call getWriter after getOutputStream (or vice versa), but I
don't think it's an issue to call getOutputStream multiple times. Although,
even if it were, I really don't think Struts ever calls getOutputStream. At
least not in 1.1.
Quoting Bill Schneider [EMAIL PROTECTED]:
I
On Wed, 26 May 2004 14:52:08 +0200, Kransen, J. wrote:
I'm not sure on how to use the html:base tag in the opposite manner, ie
the href to be that of the struts action's path not the jsp's path?
Indeed it seems impossible to create a base tag containing an action path
instead of a jsp path,
On Wed, 26 May 2004 10:26:34 -0300, Paulo Rezende wrote:
It's a way but I really dont like it. If I copy all the fields of a table
to properties of the form, why i dont can copy also the image to a Blob in
the form and use it? Do I need to create another connection with db and
run another sql
Is it possible to call an Action which pre-populates a form, forwards on
to a JSP page which displays the form values for the user to change, and
then submit back to an Action that will contain the form value? We're
running into a scenario where we prepopulate the Form in 1 action and
set it onto
Peter Pilgrim has arranged a meet up for informal drinks on Monday 7th June
2004 19:15 GMT @ Waxy O'Connor (Irish Pub) in central London, the West End.
Anyone else interested is welcome.
Theres a Map on Waxy's Web Site showing the location:
http://www.waxyoconnors. co.uk/london/index.asp
I presume the element that's throwing the NPE is one of the elements that
the user cannot change. I presume this because let's say for the sake of
argument that all the fields of the ActionForm were on the screen, then what
you describe should never happen.
Your dealing with the classic
I don't know English very well, I'm sorry...
How can I include an argument in an exception tag?
For example, this is a piece of my struts_config.xml:
...
action path=/CompaniesDelete
type=companies.actions.CompaniesDeleteAction
name=CompaniesForm
input=/jsp/CompaniesMain.jsp
Dear All,
Thanks for all your feedback.
Based on the discussion i derive following conclusions. please comment on
their accuracy.
1. A Data Storage object (Say a HaspMap with the server name as a key
and the N value data object as value are stored along with the last
updated
Whats the best way to do so?
Redefine the reset() method in each ActionForm and call it from the
action?
Or hold the values and do: form = new ActionForm(); in the action call?
Thanks,
Julio Cesar De Salvo - Project Leader
iTechnology S.R.L. - Ciudad de la Paz 2846 - piso 1
Tel 54 11
This may be a RTFM situation, but I didn't want to take a break and try it and
then after a hour find out it didn't work so I was hoping (while I was
coding) someone could let me know if the following is legal:
Situation:
I have an ApplicationResources_en.properties file that represents the
Do the reset method, it will avoid the new object creation.
On Wednesday 26 May 2004 11:42 am, Julio Cesar De Salvo wrote:
Whats the best way to do so?
Redefine the reset() method in each ActionForm and call it from the
action?
Or hold the values and do: form = new ActionForm(); in the
message-resources parameter=ApplicationResources null=false /
message-resources parameter=LookupMethodMessageResources
key=BUTTONS_KEY null=false /
And then in the use the 'bundle=' attribute on the bean:write tag to
specify the additional bundle to use, if different than the default.
Ahhh ok, thanks for the info.
What is null=false for?
On Wednesday 26 May 2004 11:43 am, [EMAIL PROTECTED] wrote:
message-resources parameter=ApplicationResources null=false /
message-resources parameter=LookupMethodMessageResources
key=BUTTONS_KEY null=false /
And then in the use
That is so if the key does not exist, you will get ???bundle.key.attr???
instead of a null string.
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 11:44 AM
To: Struts Users Mailing List
Subject: Re: Can I have multiple ApplicationResources
Hey that's perfect, thanks Mick!
On Wednesday 26 May 2004 11:49 am, [EMAIL PROTECTED] wrote:
That is so if the key does not exist, you will get ???bundle.key.attr???
instead of a null string.
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26,
Hi all,
in my Struts application I can access result collection from sql:query
with the forEach loop. When I try access one single row by index, it
fails. Right now I solved this with defining a forEach loop where begin
and end are the index I want to access.
This looks like this:
c:forEach
So you've tried ${xyz.rows[1]} ?
-Original Message-
From: Axel Seinsche [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 1:59 PM
To: Struts Users Mailing List
Subject: [JSTL] accessing rows by index
Hi all,
in my Struts application I can access result collection from sql:query
I introduced the resource bundle errors_en_US.properties into my
struts-config.xml file.
Now, all the other declared resource files are ignored, WHY !!
I ended up moving all declared messages into the
errors_en_US.properties, and things work again.
Anyone have any idea why.
Thanks in advance.
shankarr wrote:
Hi!
I am getting an exception which reads like this : *:does not contain
handler parameter named empfieldsaction
*
I have the following jsp.
html:form action=StartCustomFieldCreation.do
input type = hidden name=module value=Leads
Leads Custom Fields nbsp; html:submit
Ok this was what I was wondering about (runtime). I didn't know if the
hashtable with all the actions in it was going to be too big or something
to that effect.
Thanks for the feedback!
On Wednesday 26 May 2004 12:51 pm, Hubert Rabago wrote:
If your concern is with the physical size of your
I agree, it drove me nuts so I switched to using MappingDispatchAction and it
turned out to be exactly what I wanted. Same idea behind the DispatchActions,
but you specify the method name in the parameter field... can't get more
straight forward than that ;)
On Wednesday 26 May 2004 01:04 pm,
how do you declared this resource in your struts-config.xml ??
(place the code)
Henrique Viecili
PS.: Maybe your question is answered in the message titled 'Can I have multiple
ApplicationResources from the same locale?'
- Original Message -
From: ksitron
To: Struts Users
try something like this:
message-resources parameter=net.wessendorf.ApplicationResources
null=false/
in WEB-INF/classes/net/wessendorf/
there must be a file called
-ApplicationResources.properties (default_file)
you can add files with names like thiS:
-ApplicationResources_en_US.properties
...
I'm a recent convert to java (from micro$oft... sh) and i'm still trying
to understand which versions of which products work together. I just got
Tomcat 5.x, which implements Servlet 2.4 and JSP 2.0. Does it matter if I
use Struts 1.0, 1.1 or 1.2 with this? Why?
How does the version of
Thanks Riyad, I think you hit right on the head.
Riyad Kalla wrote:
I believe if you have more than one resource file, you need to give them keys.
The resource file with no key becomes the default, and then the others need
to be referenced explicity using the bundleKey (I think that's the
Brian,
This can definately get confusing if you are just thrown into the mix.
Tomcat 5 is definately the right way to go, its faster, more stable and
supports newer specs. Struts, IIRC, is designed to only need the Servlet 2.2
and JSP 1.0 or 1.1 spec, it was meant to be super-compatible, soyou
My config file for a project I'm currently working on is 7k, and that's NOT
counting comments (something like 16k counting them - I'm a comment freak).
Since it's only parsed once at startup, I wouldn't be too overly concerned
about performance. Yes, your talking about a lookup for each
None,
That was EXACTLY the kind of information I was looking for! Thanks for the
deatiled answer.
My god that homegrown framework must have been a beast to convert, but I bet
the app is sure happier now that its using Struts.
Best,
Riyad
On Wednesday 26 May 2004 03:00 pm, None None wrote:
My
Hi,
I have two modules in my application
Module A - default (contains common functionality like logout etc)
Module B - specific funtionality developed by a separate team.
Can actions in module B have access to the ones in Module A ?
i.e. can I lookup a Struts Action defined in Module A from
I'm still working on the conversion after two weeks. It took me probably
two days to identify all the changes that had to be made, and then about 5
days of mostly search-and-replaces, and ever since then dealing with the
unexpected problems during testing. One of the tough parts was that this
I wasn't involved in implementing modules, but from discussions and
experience, my understanding is that modules are conceived as pretty
isolated components, despite the fact that they are in one web
application.
It is possible to switch between modules using the SwitchAction, for
instance,
Kendell,
Have you turned on Javascript debugging (if it is available) in your Mac IE
to see if it has any issues with the Javascript itself?
Regards,
David
-Original Message-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:27 PM
To: [EMAIL PROTECTED]
Subject:
I've only really been concerned with such a thing in one instance, and that
was because we were caching some returned ResultSets, and they could be very
large... What I wound up doing is wrapping each ResultSet in a HashMap, and
I had two other elements, one storing the datetime stamp the
At 10:38 PM -0400 5/26/04, David Friedman wrote:
Kendell,
Have you turned on Javascript debugging (if it is available) in your Mac IE
to see if it has any issues with the Javascript itself?
Unfortunately, MSIE 5.2 doesn't give very good feedback.
I can confirm that MSIE 5.2 and Struts aren't
... and also, you're probably going to need to look into populating an
empty array or List called from your reset method. Pain in the butt, but
there is a lot in the archives about ways to handle it. For testing
puprposes to start with just give the form session scope which will
avoid the
Oh sorry, the HashMaps works correct, BUT only if you DONT use a
DyaActionForm Formular.
If you use the Validation you have to use also a DynaActionForm-Session
Object (or request-Object).
now i have find something which helps me!!
73 matches
Mail list logo