Hallo all,
following problem - i developed an app on RAD 6.0 (but weblevel 2.3 - so
compliant to was 5.1), Servlet Spez 2.3 and JSP 1.2
When i run the app through the testclient (v5.1) on RAD 6 all is working
fine and i get no errors or warnings ...
But when i want to deploy the app to the WAS
Guys,
I am still struggling to find a way out.. Any ideas how to get this
right!
Regards
-Original Message-
From: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED]
Sent: Thursday 13 April 2006 16:37
To: Struts Users Mailing List
Subject: Radio button group
Hi,
I have a jsp with a
hi,
Have you placed the validator jar (jakarta-oro- (somethinf).jar ) in
WEB-INF/lib?
--
Manivannan Palanichamy
http://geocities.com/manivannan57
-Original Message-
From: Chaudhary, Harsh [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Mon, 17 Apr 2006 12:49:25 -0500
do you want to map the radio button to a bean ?
--
Manivannan Palanichamy
http://geocities.com/manivannan57
-Original Message-
From: Vidya (Suvarna) Mahavadi [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tue, 18 Apr 2006 08:28:28 +0200
Subject:
Vidya,
Here is the basic concept and hope you can build on from that.
To make a radio button group, you have to have the names of radio
buttons in the group the same.
Say for row one on the table you have to render radio buttons of the form
input type=radio name=userChoice[0] value=A Accept
Hi,
Each validator form is grouped within a FormSet element in the Validator
configuration file. The FormSet has language, country, and variant
attributes that correspond with the java.util.Locale class. If these
attributes are not specified, the FormSet will be set to the default locale.
A
hi Vinit
Thanks for your reply.
I will it up and update you in a short tim.
THanks again
Deva
Vinit Sharma wrote:
Hi,
Each validator form is grouped within a FormSet element in the Validator
configuration file. The FormSet has language, country, and variant
attributes that correspond with
Thanks Vijay!
-Original Message-
From: vijay venkataraman [mailto:[EMAIL PROTECTED]
Sent: Tuesday 18 April 2006 09:23
To: Struts Users Mailing List
Subject: Re: Radio button group
Vidya,
Here is the basic concept and hope you can build on from that.
To make a radio button group, you
The IO error indicates that it found the file but just doesn't like it.
Are you sure that it is text and hasn't been corrupted? Or is zero length?
Hans-Peter Petek on 18/04/06 07:19, wrote:
Hallo all,
following problem - i developed an app on RAD 6.0 (but weblevel 2.3 - so
compliant to was
Hi,
I created an EAR File ... tiles-file also exists ... and is readable. We
tried this on two different WAS 5.1 servers, same problem.
Does the error indicates, that the file has been found, but is not readable?
Or could is also be, that the file was not found?
IO Error while parsing file
Zoran Avtarovski wrote:
I thought it looks pretty good, I think projects like this have their place.
Especially, in light of the fact that we're not going to see Action2 for a
little while (even then there'll be some tweaking to get it right)
Well, the fact is that Action2 is just Webwork.
Can anyone help with explaining to me how to get a scriptlet into a
html:linl tag in the onclick event.
For example: I have two forms of the same name in my jsp page. The way I am
submitting the forms is to call the onclick event within the html:link tag
as follows:
html:link
hi,
may be you can try removing the double quotes from the
expression [%=count%].
bye
Shoukat, Faisal [EMAIL PROTECTED] wrote: Can anyone help with explaining
to me how to get a scriptlet into a
html:linl tag in the onclick event.
For example: I have two forms of the
That was the first thing I tried but unfortunately does not work!
-Original Message-
From: Anil Kumar Pippalapalli [mailto:[EMAIL PROTECTED]
Sent: 18 April 2006 10:49
To: Struts Users Mailing List
Subject: Re: referencing variable in onclick event of html:link tag
hi,
may be you can
Naveen Sharma ha scritto:
Hi !
Can someone Please help me with the logic:empty.
I am not able to implement it
Be less dumb please... the more you write, the better we can help
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi Naveem,
I normally put the databean on the request if it doesn't find the databean it
will go into the following section. If the bean is on the request it will do
the logic:notEmpty tag if it is in the code.
logic:empty name=dataBean property=partNumber
tr
Naveen,
http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#logic:empty
--
Ahmed Hashim
www.egjug.org
www.egjug.org\hashimblog
On 4/18/06, Naveen Sharma [EMAIL PROTECTED] wrote:
Hi !
Can someone Please help me with the logic:empty.
I am not able to implement it
--
In
hi. Here´s an example
logic:notEmpty name=datosPersona property=referencia
td width=37Ba href=# onclick=eliminarIntegrante(bean:write
name=datosPersona property=referencia/);img
src=docs/img/flecha_on.gif/a/td
/logic:notEmpty
logic:empty name=datosPersona property=referencia
td
Shoukat,
From the struts doc for iterate tag. The doc for id element of the
logic tag is as given below
id - The name of a page scope JSP bean that will contain the current
element of the collection on each iteration, if it is not |null|.
(REQUIRED)
So you should be able to get the value
Maybe your stack trace will give a clue. I'm not familiar with the
intricacies of Websphere.
Hans-Peter Petek on 18/04/06 10:02, wrote:
Hi,
I created an EAR File ... tiles-file also exists ... and is readable. We
tried this on two different WAS 5.1 servers, same problem.
Does the error
Jonathan Revusky on 18/04/06 09:29, wrote:
Well, the fact is that Action2 is just Webwork. What you see on the dev
list is just a lot of discussion of renaming packages and classes and
taglib prefixes, but hardly anything substantive.
And Webwork is hardly something you need to wait for, it
shouldn't the logic:empty/notEmpty tag be inside the td? You are
writing the same twice: td width=37.../td...
regards
leon
On 4/18/06, Moreno Herranz, Jose Luis [EMAIL PROTECTED] wrote:
hi. Here´s an example
logic:notEmpty name=datosPersona property=referencia
td width=37Ba href=#
Hi all,
I had an requirement wherein I needed to forward to another action from a
action.
I tried by two ways but none of them is working. I would appreciate if
anyone of you could help me understand, what is that which I am not doing
correctly.
I made a forward in my action A which forwards to
--- Adam Hardy [EMAIL PROTECTED]
wrote:
I would hardly call that hardly anything
substantive. A large amount
of boring grunt work would be a better description -
including the
difficulty of having all the code on the target
projects checked in for
refactoring, making sure no
Call me silly, but I use my brain to figure out what to use.
I think Struts-devs said they are writing something new, once the new
thing is established... then someone can say that in relation to the new
release, 1.3.1 is an older release, and that's all.
It's good to separate MVC, mostly
Hi All,
I'm back on this question. I used the EL tag library and it worked fine to
get an iteration of properties back into a bean contained in an arraylist.
My struts config however specified it as session, as soon as I change it to
request it errors when I try to submit the indexed properties.
Please allow me to shed a bit more light on a couple of your
observations/speculations.
Regards,
Phil Zoio (Developer of Strecks)
My sense of things is that Strecks is another person's third-party
effort. It is not part of the Struts project. Any new development you
can expect from the
You can simply use return mapping.findForward(actionB);
and the following in the struts-config.xml:
forward name=actionB path=ActionB.do/
Gary
[EMAIL PROTECTED] 4/18/2006 7:37:41 AM
Hi all,
I had an requirement wherein I needed to forward to another action from
a
action.
I tried by two ways
And also, don't forget that there is nothing special about an Action...
you can instantiate and call execute() on it if you wish. In some cases
that might be better because it does not incur the overhead of a run
through the request processing chain of events again... depends on what
your needs
On 4/18/06, netsql [EMAIL PROTECTED] wrote:
I think Struts-devs said they are writing something new, once the new
thing is established...
Yes, the plan is for there to be two phases. In the first phase, we
join forces with the WebWork developers and adopt the WebWork codebase
for Struts Action
On 4/18/06, Phil Zoio [EMAIL PROTECTED] wrote:
I'd be happy to pass Strecks on to Struts itself if the community really
wanted it, but I don't see that as essential to its existence in any way.
What we look for is a community forming around the codebase. We don't
just want code, we want people
Hello. The following statement in one of my views is generating an error
at runtime:
html:img srcKey=bean:message key=image.logo / /
The error is as follows:
org.apache.jasper.JasperException: /test.jsp(4,54) equal symbol expected
Is it not possible to embedd tags in Struts? Any help would
netsql wrote:
Call me silly, but I use my brain to figure out what to use.
I think Struts-devs said they are writing something new, once the new
thing is established...
Well, except that the new thing is not new. It's just Webwork, which
is a competing framework, that has been around for
Well, except that the new thing is not new. It's just Webwork, which
is a competing framework, that has been around for years.
Struts Action 2 is just a relabeling of Webwork. Some package names
and so on change, but it's just webwork.
Clearly you have no idea what you are talking
Clearly you have no idea what you are talking about.
(Struts now has a marketing capability? ha ha)
You are sureley permanently employed, aren't you?
There is no struts marketing organisation but
nevertheless struts has a good visibility and is asked
as a skill / tool to start new projects.
Ted Husted wrote:
On 4/18/06, Phil Zoio [EMAIL PROTECTED] wrote:
I'd be happy to pass Strecks on to Struts itself if the community really
wanted it, but I don't see that as essential to its existence in any way.
What we look for is a community forming around the codebase. We don't
just want
netsql wrote:
Well, except that the new thing is not new. It's just Webwork, which
is a competing framework, that has been around for years.
Struts Action 2 is just a relabeling of Webwork. Some package names
and so on change, but it's just webwork.
Clearly you have no idea what you
[EMAIL PROTECTED] wrote:
Have you placed the validator jar (jakarta-oro- (somethinf).jar ) in
WEB-INF/lib?
Just for completeness; that isn't the validator jar. That's a regex
library used by the validator (right?)
Dave
Jonathan Revusky wrote:
[...] rather than trying to modernize/refactor it forward
From a developer's standpoint I'm not even sure how I'd go about
refactoring the existing Struts 1.x codebase...
As an example, I've always been pissy about the Action being tightly
coupled to the servlet spec.,
Hello,
Is it possible to do if then else type of processing using Struts Logic
tags? I don't see anything in the Struts Logic tags documentation at this
link http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html
Here's my situation:
1) I want to put in some logic in all my jsps
Hey,
I'm trying to do something like:
span jsfid=clay clayJsfid=[EMAIL PROTECTED]
allowBody=false /
to dynamically include content in a page. The use-case is in a report
where the report is mostly static, but the report you get isn't. There
are next/prev links as well as table of content
[EMAIL PROTECTED] wrote:
Is it possible to do if then else type of processing using Struts Logic
tags? I don't see anything in the Struts Logic tags documentation at this
link http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html
Use JSTL; you'll be better off in the long
On 4/18/06, Richard Wallace [EMAIL PROTECTED] wrote:
The problem I'm running into is that when next or previous are clicked,
instead of the content for the next page being displayed,the content
from the first page is always displayed. I've checked by logic and made
sure the the value of
On 4/18/06, Dave Newton [EMAIL PROTECTED] wrote:
Jonathan Revusky wrote:
[...] rather than trying to modernize/refactor it forward
From a developer's standpoint I'm not even sure how I'd go about
refactoring the existing Struts 1.x codebase...
As an example, I've always been pissy about
I have a problem, which I am certain you all face regularly:
When validation fails for an ActionForm, I need to set attributes in
the request object, but I can't because the 'execute' code doesn't
run. How have you managed to set attributes on the request object when
validation fails?
I have a
Dave,
I totally agree with you about doing this kind of checking in an action
class and I AM doing it there. However, the problem is that I still need a
way to prevent a user from going to the jsp w/o first logging in.
Let's say the user logged in during a previous session and bookmarked the
Ryan Wynn wrote:
On 4/18/06, Richard Wallace [EMAIL PROTECTED] wrote:
The problem I'm running into is that when next or previous are clicked,
instead of the content for the next page being displayed,the content
from the first page is always displayed. I've checked by logic and made
sure the
On 4/18/06, Eric Rank [EMAIL PROTECTED] wrote:
From reading a bit on Rick Reumann's site
(http://www.learntechnology.net/validate-manually.do)
a simple way to handle this is to call the validate method within the
execute method of the Action. There's a bit of logic that has to be
processed
Not sure if this is a solution for you or not, but you could also put
your JSPs under WEB-INF
directory so that they cannot be directly accessed by a user. They
would instead have to go
through an Action first.
Filters may be your best bet (and yes, that is the URL to look at).
As far as JST
On 4/18/06, Eric Rank [EMAIL PROTECTED] wrote:
I have a problem, which I am certain you all face regularly:
When validation fails for an ActionForm, I need to set attributes in
the request object, but I can't because the 'execute' code doesn't
run. How have you managed to set attributes on
On 4/18/06, Richard Wallace [EMAIL PROTECTED] wrote:
Is the viewId the dynamic page to be included or is it the base page
that includes the dynamic content? My situation is that I have a single
page, /report/default.html, and that is the only view that should ever
be the view root. Within
Thanks Rick,
I agree that the manual validation approach is very good at keeping
related code in one place. This is how I'm currently choosing to solve
this problem.
However, I feel that it's sloppy because it requires additional logic.
I try to avoid using unecessary logic for the sake of
I'm in the process of migrating a Struts v1.1 app to Struts v1.2.9
and having problems with log4j. After pulling the the Struts jar
files I've got all of the compile errors/warnings fixed, but when I
stop and start the web server I get:
warning: CORE3283: stderr: log4j:WARN No appenders
From: Ryan Wynn [EMAIL PROTECTED]
On 4/18/06, Richard Wallace wrote:
The problem I'm running into is that when next or previous are clicked,
instead of the content for the next page being displayed,the content
from the first page is always displayed. I've checked by logic and made
On 4/18/06, Eric Rank [EMAIL PROTECTED] wrote:
I agree that the manual validation approach is very good at keeping
related code in one place. This is how I'm currently choosing to solve
this problem.
However, I feel that it's sloppy because it requires additional logic.
I try to avoid using
Good Point
E.
In my mind, the code is readable when I can read what it's doing. With
validate=true I cannot.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: Ryan Wynn [EMAIL PROTECTED]
On 4/18/06, Richard Wallace wrote:
Is the viewId the dynamic page to be included or is it the base page
that includes the dynamic content? My situation is that I have a single
page, /report/default.html, and that is the only view that should ever
be
[EMAIL PROTECTED] wrote:
I totally agree with you about doing this kind of checking in an action
class and I AM doing it there. However, the problem is that I still need a
way to prevent a user from going to the jsp w/o first logging in.
Matthew already offered this but I'll reiterate; in
What does your log4j.properties file look like and where is it in the
.war file?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alan Treece
Sent: Tuesday, April 18, 2006 2:27 PM
To: Struts Users Mailing List
Subject: log4j and Struts v1.2.9
Eric Rank wrote:
However, I feel that it's sloppy because it requires additional logic.
So does the request processor modification.
I just have a base Action class that will forward to the input on a GET
or validate and do the right thing based on the results of the validation.
So,
[EMAIL PROTECTED] wrote:
What does your log4j.properties file look like and where is it in the
.war file?
Agreed; this looks like a Log4J or Struts config file problem rather
than a real error.
At the very least, if you're not initializing Log4J explicitly is your
log4j.properties file in
Matt,
Thanks for your reply. I've seen the suggestion about putting jsp files
under the WEB-INF directory before but have never had a need to do it.
One thing Im not clear on... if I place the jsps under WEB-INF directory,
what happens if someone tries to access one of them directly using a
[EMAIL PROTECTED] wrote:
I create a login.do action that ends up bringing up the login.jsp. The
action called from the login.jsp page will then forward to ... let's say
main.jsp. Do I need to wrap that jsp in a main.do action?
That what I was saying when I mentioned that in general you'll
OK, great. I just wanted to make sure I understood correctly.
Thanks a lot!
David
Dave Newton
[EMAIL PROTECTED]
Thanks Dave,
The idea of doing some logical branching within execute so the right
thing happens makes sense. I think I'll do the same by setting up some
private methods in the Action subclass to deal with the specific
situations. So I can keep my validationFailed method which so nicely
Eric Rank wrote:
I think I'll just suck it up and relax about putting the logic in the
execute method.
It's only in one execute method anyway (the base class), so hey.
Unless anyone can convince me otherwise, from here on out it's
validate = false
That's the way I've been flying for
Gary VanMatre wrote:
From: Ryan Wynn [EMAIL PROTECTED]
On 4/18/06, Richard Wallace wrote:
Is the viewId the dynamic page to be included or is it the base page
that includes the dynamic content? My situation is that I have a single
page, /report/default.html, and that is the only view
I need to send the user to our corporate site from my struts app. I
tried using an empty action that mapped to an empty jsp page that had
jsp:forward page=http://polaroideyewear.com/ in it.
For some reason this caused all the img tags in all the generated code
to include a jsession id that caused
On 4/18/06, Dave Newton [EMAIL PROTECTED] wrote:
I just have a base Action class that will forward to the input on a GET
or validate and do the right thing based on the results of the validation.
So, simplified, my subclasses may optionally override executeGet and/or
executePost
Hello again,
I'm trying to figure out how to use the Tomahawk updateActionListener in
Clay. The idea being that you can attach an action listener to a
commandLink and when that specific link is clicked a value will be set
on a given property of a backing bean. In JSP it would look something
Hi,
I have a web application with Struts 1.3.
This application is multi profiles. For example, when the profile is
Manager, the page have 3 inputs, but if the profile is User, the page have 2
inputs.
In this case, how can I validate this form?
How can I have a system validation that having an
Dear All
The JAVAWUG (Java Web User Group) has rescheduled the BOF XVIII (Number
17) from Thursday 20th April to now Friday 20th April 2006.
The birds-of-feather will still take place at the same venue, Oracle's
City of London office between 7-9:30 pm. The presentations are and
the
Well, I sorta solved the problem. It's as good as I can do at the
moment. Basically I just created a delegate class that I called
ShaleUpdateActionListenerWrapper that implements setProperty(String) and
setValue(Object) and creates the proper value bindings from them to
setup the actual
The main purpose of the JSP img tag is to provide URL rewriting. If
you don't want or need URL writing on the img src URLs, then use an
ordinary HTML img tag instead.
HTH, Ted.
On 4/18/06, Braun, James F [EMAIL PROTECTED] wrote:
I need to send the user to our corporate site from my struts app.
If different inputs are required according to role, then you may need
to fall back to the standard validate method to do that part of the
validation. Other parts of the validation could still be done by the
Validator framework, but you would also include a custom validate
method that would look at
Hello Angel,
I don't know your solution, but I think you will be perhaps interested with
FormView project.
This taglib is able to manage a behaviour for a field in your page. So you
can
define Role for a field and so your inputs will be READ-ONLY, READ-WRITE,
INVISIBLE,...
accoding to the role. It
From: Richard Wallace [EMAIL PROTECTED]
Hello again,
I'm trying to figure out how to use the Tomahawk updateActionListener in
Clay. The idea being that you can attach an action listener to a
commandLink and when that specific link is clicked a value will be set
on a given property of
Hi,
I'm using localized validations in my application. I would like to use a
formset definition for a custom country name, as below:
formset language=en country=XYZ
Is there any way I can make Struts validator to work with custom country
names??
Thanks,
--
Vinit Sharma
IBM
Like how xdoclet should die? Heh, I'm still using xdoclet 1.x
(will never go to xdoclet2 ) until an @Annotations based replacement
shows itself
Struts 1.x shall be allowed to die and rest in peace.
regards,
[ Konstantin Pribluda http://www.pribluda.de ]
Still using
Hi Rama,
I think you want to use a Map in your action form to take care of the form
data being submitted from jsp page. I'd suggest you to read the following
article:
http://struts.apache.org/struts-action/userGuide/building_controller.html#map_action_form_classes
HTH,
On 4/17/06, rama
Hi Andreas,
You are correct, Key name can be hardcoded the way you've written.
:)
On 4/14/06, Andreas Hartmann [EMAIL PROTECTED] wrote:
Hi Vinit,
I will try it when I need it. How can I access the entry without using a
variable by giving the keyname hardcoded? Is it written like this:
If you said business use cases I could have gone along with at least part
of what you had to say. As it is, nothing.
On 4/18/06, netsql [EMAIL PROTECTED] wrote:
Call me silly, but I use my brain to figure out what to use.
I think Struts-devs said they are writing something new, once the new
Good work, by the way, Phil. Lord, how easy the developers on Struts could
have done something similar. Thanks for at least showing them the way.
On 4/18/06, Phil Zoio [EMAIL PROTECTED] wrote:
Please allow me to shed a bit more light on a couple of your
observations/speculations.
Regards,
Do you know the difference between marketing and advertising? Of course
Struts has a marketing capacity. That is a no brainer and Craig has been on
that horse for years.
On 4/18/06, netsql [EMAIL PROTECTED] wrote:
Well, except that the new thing is not new. It's just Webwork, which
is a
hi guys,i m facing a problem tha javascript is not working in mozilla
firefox 1.0 ,i came to know about a java file which has 2 b added in src
of struts framework a tab in javascript file,i m not getting yhat can
anybody pls tell me about it!!!
I'm having a very strange problem with sessionIDs getting dropped. It only
happens rarely, and I can't seem to reproduce it myself, but I can see that
it's happening by looking at the logs. (it's happening on XP with both IE
and Firefox)
I have four pages: Home, Register, CreditCard, and
86 matches
Mail list logo