- Original Message -
From: siraj [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 4:44 PM
Subject: Urgent :problem redirecting the page
hello everybody ,
i am facing one problem while redircting a page.
i have many links in my page
Hi Jesper,
you could give the parsing error for the struts-config.xml - it looks
alright but I don't know the dtd off by heart.
Adam
Struts Newsgroup (@Basebeans.com) wrote:
Subject: A common problem: Cannot find ActionMappings or ActionFormBeans?
From: Jesper Lindholt Ottosen [EMAIL
Hi Kevin,
from what I can glean from their website, torque implements what Martin
Fowler calls the Gateway pattern - tables are directly related to
classes - but I need his DataMapper pattern (where a finder object finds
the data and a mapper turns it into anything you like).
Adam
[EMAIL
Hello,
It is not possible in the actual version. The limitation comes from the parser
which doesn't implement the correct rules.
It will be possible in the next release. I have quickly implemented and tested
the behavior, but have no time to test and release all the Tiles distribution
Hello Jerome,
I'm not sure why I'm so bad at searching the net not finding things
like this. ObjectBridge has a feature list that blows me away. Are you
using it? Castor also looks interesting.
Why do you refer me to JBoss openEJB? I've no experience with EJB, but
from what I know, I
Hello
We are using Castor and have implemented a STRUTS based online reservation
system using CASTOR as our data access layer. Castor works well as the
functionalities it provides are non intrusive. What I meant is that it
provides a Mapping.xml file which maps your beans to each table (and even
Hi Michael,
how does Castor integrate with struts? Is it completely seperated from
the struts actions by your business objects?
I saw the list of castor exceptions and they didn't seem comprehensive,
but maybe I'm wrong.
Adam
Michael Mok wrote:
Hello
We are using Castor and have
Hello All
Any assistance/suggestions to workaround the following failuire in WEBPIM
WebApplication will be appreciated.
Database = DB2
Applicatio Server = WebSphere W2k
Thanks
Hertzel
Save in NameZoomAct fails in BaseDAO.invokePrepareSetter in statement:
setter.invoke( stmt, new Object[] { new
Hi All,
i know it sounds pretty basic. But am not sure why the jsp page is unable
to find the getter for a property.
I have a simple results page which looks like this.
% page language=java %
% taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
% taglib uri=/WEB-INF/struts-html.tld prefix=html
I meant 'commas' not 'commands'. sorry bout that.
___
Will Spies
Towers Perrin
Phone: (215)246-7145
e-mail: [EMAIL PROTECTED]
Dear Struts User Community,
==
DISCLAIMER : NEW to Struts and List (Please Help)
==
I am the IT Operations Prime supporting several Development
teams one of such is trying to implement Struts as part
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 30, 2002 7:23 AM
Subject: javax.servlet.jsp.JspException: No getter method for property name
of beanorg.apache.struts.taglib.html.BEAN
html:html locale=true
head
titleResults page/title
Subject: Re: Action classes/Form based authentication/ EJBs
From: Torgeir Veimo [EMAIL PROTECTED]
===
Roland Chan wrote:
Okay, I turned on my prompt before adding cookies in my browser and it
appears that during form-based authentication a cookie is never being
saved to my clients browser.
I know beans follow a tight spec, i.e. setter signatures should match getter
return types, etc... But, why does JSP care about this if I never use the
setter explicity? And how come JSP does not mind on Windows?
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
Sent:
As we say in Boston -
Wicked Cool!
Rick Reumann [EMAIL PROTECTED] on 05/30/2002 12:34:29 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Re: Advice:
Vic (or anyone else familiar with webPIM ),
I've been studying the webPIM app a bit more and I'm a little unclear
how an update or insert would be handled with this architecture or
even the best way to have data from a JSP form populate the form bean.
I'm sure I'm missing something but it
I just completed a good-sized web application (a statewide Child Support
Payment System) using Struts. There's was a fair learning curve which put
me over the deadline. But, after that my development speed increased
significantly with the help of the Struts framework. My local manager has
even
I am in the process of coming up with construction estimates for a web project
that will be using struts.
It seems like a daunting task at this point. I have a gut feeling on how long I
could probably turn out a page using a model I approach, but
this will be the first real Struts/model 2
I see a lot of references to 1.1 and usage
I know its still in Beta, but is it close enough where it could be used
for an internal non-critcal application?
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Adam
We choose Castor because it is a more mature implemetation. In fact Castor
is already available prior to Sun releasing the JDO spec. We only tried
Cocobase (excellent product but expensive) and Castor (free and open
source). We did not evaluate ObjectBridge hence I cannot comment on it.
OK, lets say I wanted to create a web application
and I wanted to keep a consistent look for each page.
Does struts have any kind of include tag or should I just
use jsp to do that?
example:
htmlheader never changes
my stuts content
htmlfooter never changes
--
Vincent Stoessel
Linux
Bill,
Folks said it was ready fro prime time, so we have switched our project out here to
use 1.1b1
There were a couple of pains in the switch, but a big thank you goes to Chuck for his
very swift email support! :-)
Since successfully completing the switch, we have had no incidents to make
Cedric,
Thanks for you effort of making this happens. I want to let you know that
more a year ago since I was picking up Struts/Tiles and introduce it to my
previous company, now Struts/Tiles is the corner stone for the web tier
technology for them. Now that I am working for a new company, a
Cyrill...
I do this in my app... Change your link to:
html:link href=Javascript:VisuOrdre();
Later, ajTreece
cyril guszkiewicz wrote:
I every body,
I' ve got some problem with Javascript in Struts.
In fact, the command onclick in html:link href=
What is the difference between form tags and html tags? They seem to
overlap in some areas.
Brad Gibson
FWD : what is an unfired framework?
Original Message-
From: Hayley, Alex
Sent: Thursday, May 30, 2002 12:47 PM
To: Olikkadavath, Bobby
Subject: RE: Struts is Overkill?
what is an unfired framework?
-Original Message-
From: Olikkadavath, Bobby
Sent: Thursday, May 30, 2002
Seems to me that the most convincing argument is success.
If you can get to the point where you are turning out applicatoins quickly
using Struts, then that in itself should be pretty convincing..
If the other department eschews Struts and has challenges turning out work
at your speed, then
If the not defined in the web app, what is the default session timeout?
And, where might this be documented?
--Michael Marrotte
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I believe the form: ... tags were originally supported in earlier versions
of Struts. They may be still shipping that tld for compatibility reasons.
The html: tags are used for form processing now.
robert
-Original Message-
From: Christian Velez [mailto:[EMAIL PROTECTED]]
Do BeanUtils.describe and BeanUtils.populate supposed to handle indexed properties?
Suppose I have this JavaBean:
public class NameBean {
private String[] name;
public String[] getName() {
return this.name;
}
public void setName(String[] name) {
I just completed a good-sized web application (a statewide Child Support
Payment System) using Struts. There's was a fair learning curve which put
me over the deadline. But, after that my development speed increased
significantly with the help of the Struts framework. My local manager has
Perhaps translating a small subset of your application, say one Struts
Action and its ActionForm with the JSPs, into a comparable no-Struts JSP +
beans and/or servlets implementation may help. A short presentation
outlining the value gained in simplicity and uniformity using Stuts versus
the
This depends on your servlet container. In Tomcat, the default timeout is located in
$TOMCAT_HOME/conf/server.xml:
!-- You can set the default session timeout (in minutes) for all newly --
!-- created sessions by modifying the value below. --
session-config
Use struts-html
The struts-form was used before version 1.0.
-Rob
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Excellent.
Since this is a new project, I hopefully will avoid conversion pains!
Thanks
-Original Message-
From: Simon.Chappell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 12:15 PM
To: struts-user
Subject: RE: Struts 1.1?
Bill,
Folks said it was ready fro prime time, so
The struts form tags and html tags.
From my web.xml file.
taglib
taglib-uri/tags/struts-form.tld/taglib-uri
taglib-location/WEB-INF/struts-form.tld/taglib-location
/taglib
taglib
taglib-uri/tags/struts-html.tld/taglib-uri
1.) Why does the problem occur on Resin's Unix implementation, but not the
Windows -- same versions?
- This may be a container issue. If you're deploying the same .war file to
both and executing the same steps to generate the error, then the issue is
definitely with the container.
You'd
[EMAIL PROTECTED] wrote:
- Since HTTP (not Struts or JSP) understands only String-type data, I
believe that Struts FormBeans need setXxx(String xxx) to work (someone pls
correct me if I'm wrong).
You can use any primitive type and many object types aside from String in
your
I never post the property; thought this would ignore any setter defined.
But, I buy your argument about the BeanUtils class looking for setXxx(String
Xxx) while introspecting. I went ahead and wrapped the boolean within a
String and just added a different method to mutate the boolean from within
Sorry - I wasn't clear here. What I was thinking about were properties
associated with html:form fields. The type where a user enters data and
then posts by clicking submit.
So, I went to the userguide for the HTML tags (to RTFM), and found that the
only property you can post to inside an
My instructor at a servlet class deemed Struts as an overkill but
nevertheless recommended it's use. Overkill might not be the reason why
they do not like it, why not ask them for more compelling (and objective)
reasons for not using it? If you have proven it's worth in delivering a
successful
Oh boy, now I've got information overload! Fortunately there's a link in
Chuck Cavaness's book to an article reviewing comparing some of them -
although strangely they include Forte for Java from Sun instead of JDO.
Well, I can see what I'm going to be doing this weekend.
Regards
Adam
Thank you sir. That's what I was thinking but couldn't confirm it.
Brad Gibson
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 12:17 PM
To: Struts Users Mailing List
Subject: RE: Difference between form tags and html tags
I believe the
Hello all,
I have been quite interested in the discussions that have gone in this list that
deal with data persistence since I am trying to design a persistence/concurrency layer
for our projects. However I get quite confused by the different terms that are used
in different threads, let
I have a couple questions regarding DynaActionForm + the Nested tag
For DynaActionForm, I can reference any Objects, not only String? Including
ones I create for my application?
In my Action class, can I do this:
DynaActionForm histForm = (DynaActionForm) form; //creates form
I could be wrong - I haven't tried all the combinations. The BeanUtils
class may be able to perform all the conversions on its own.
Marcelo Vanzin [EMAIL PROTECTED] on 05/30/2002 04:05:30 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users
For what it's worth to this discussion, people that say
these off-the-cuff statements truly have never used or
just dont understood the concept of a Framework.
If you don't take advantage of a framework, Struts or
any other, you only end up repeating over and over the
same classes,
Subject: nested:iterate and updating a database
From: Ken Holzer [EMAIL PROTECTED]
===
Hi All,
I have a form that is using the nested:iterate tag to display several rows
from a database table. My question is do I need a submit (update) button on
each row or can I have one update button?
If I
Subject: DTD Question
From: Adam Cohen [EMAIL PROTECTED]
===
I'm working on a web-app that is on a server that has no access to the web
on port 80.
When web.xml tries to get the dtd:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN
In looking over the current release notes for the BeanUtils in the commons
project, I can across the following bug report list:
BUG REPORTS ADDRESSED:
=
4895 Populate method doesn't work for an indexed setter for arrays
6125 Populate method has mistaken the judgement
LightBulbGoesOn
Looking at the javadoc for BeanUtils in the commons package, I found the
following:
snippet
A very common use case (and the situation that caused the initial creation of the
BeanUtils package was a desire to convert the set
of request parameters that were included in a
I saw that too. They are in the 1.3 RELNOTES. But the problem shows up in
1.3.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 3:26 PM
To: Struts Users Mailing List
Subject: RE: BeanUtils
In looking over the current release notes
In response to my recent logic:iterate question, Aaron
Bates suggested I look into nested tags and pointed me at
his wicked cool keyboard monkey example:
http://www.keyboardmonkey.com/next
Thanks to Aaron for pointing me to it. I have been looking
at the monkey code and am attempting to
Hi,
I am Norman.
I have a simple problem for which I don't know the answer.
I have a single form that I want to use for both add and view user. I was able to
successfully add a user. After adding the user I want the user details to be displayed.
Can somebody throw some lights on what I need
What do you mean by no access to the web on port 80?
One solution might be to run Apache on the same box and serve the DTD files from it:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN http://localhost/j2ee/dtds/web-app_2_2.dtd;
DT
-Original Message-
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
What version of Struts are you using? Struts 1.0 and
later use a resource locator that grabs the DTD from
the Struts Jar and should resolve DTDs very quickly.
In case the original poster is working under Visual Age
James -
Where is the code for this? Can I trace this from the init() stuff in the
Action servlet?
This is Struts and not Tomcat stuff?
Appreciate any pointers
Thanks,
Kevin
James Holmes [EMAIL PROTECTED] on 05/30/2002 03:50:07 PM
Please respond to Struts Users Mailing List
Tiles will do just that.
http://www.lifl.fr/~dumoulin/tiles/
-kevin
-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 8:48 AM
To: Struts Users
Subject: dynamic templates?
OK, lets say I wanted to create a web application
and I
Subject: Dependency Validations.
From: Anand Jayaraman [EMAIL PROTECTED]
===
Im using Struts 1.1 commons validator xml.
Can someone show me a example as how to validate a field based on another
fields presence.
Basically if Field1 is present I want to validate Field2, if not proceed.
Thanks,
To put it in a different way, how would I call
setMokeyTeamAlpha() from MonkeyStruts_v2.jsp if I had a
MonkeyTeamBean in the session that I wanted to use instead
of the sample provided in the constructor for
BananasIncorporatedBean?
In the JSP or your action?... In your action you can just
Ken,
More than likely you sould just have the one button for the entire list.
As for only updating the rows that have changed, you'll have to track
and manage that yourself.
When the incomming data arrives, you'll have to match it against what
you served, and find out the updated rows that
From the 1.1 code base:
lines: 341 - 355
/**
* The set of public identifiers, and
corresponding resource names, for
* the versions of the configuration file DTDs
that we know about. There
* strongMUST/strong be an even number of
Strings in this list!
*/
protected
Subject: Re: nested:iterate and updating a database
From: Ken Holzer [EMAIL PROTECTED]
===
Thanks Arron,
How would you loop thru the rows in the Action Form? There are not that many
rows and it is easy enough to reupdate them all if I need to. But I am not
sure how to go about reading the
Hi,
Has anyone tried using Struts 1.0.2 with the new BEA Weblogic 7.0?
My application was running fine when deployed on HPAS 8.1 (without any
special setup for Struts required). But while trying out BEA Weblogic 7.0
on Windows 2000, I hit the following runtime error when my JSP tries to load
Once the servlet has updated the collection coming in from the form, you
just fetch it in your action with the getMonkeyTeam() method. There's
the list, updated and ready to go.
Arron.
Struts Newsgroup (@Basebeans.com) wrote:
Subject: Re: nested:iterate and updating a database
From: Ken
Hi,
http://edhill.its.uiowa.edu/display/
Is there a way to get the benefits of this tag, but by using a Servlet
instead of a JSP.
This is because although my project is using the struts framework, it is not
using any JSPs. (We feel JSPs are 'evil'.)
Regards,
Daniel
-Original
Daniel,
What are you using to display dynamic pages then? Have you looked at the
Velocity template engine? What is so evil about JSP's? Perhaps you aren't
using the technology correctly?
Regards,
Richard
At 11:04 AM 5/31/2002 +0800, you wrote:
Hi,
http://edhill.its.uiowa.edu/display/
soapbox
Nah. JSPs are definately evil. They arent real (x)html, and they arent real
Java. (And of course as anything that isnt Java is by definition evil , so
it follows that jsps... heheh)
My main objection to JSPs is that they are inelegant (yes - I know thats
strong language , but its true!).
Hi, I am having problem with the installation of struts. My machine has
Apaches 2.0 and tomcat 4.0. I am using mod-webapp connector to connect
Apaches 2.0 with tomcat 4.0. However, when I try a sample application, this
connector does not seem to recognize the struts extension of ".do". How can
I
Andrew,
To address your question,
question
While Im on the subject, Ive got a generic servlet that does 'rendering' (or
more precicely invokes the render() method on a bunch of objects that the
action selects and forwards to it). However in this case , having a servlet
to do it seems a bit
Subject: Re: DTD Question
From: Serge Shikov [EMAIL PROTECTED]
===
Adam Cohen wrote:
I'm working on a web-app that is on a server that has no access to the web
on port 80.
When web.xml tries to get the dtd:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN
Well thats the thing. The action already gets the request and response
passed to its execute method.
My actual rendering classes are _conceptually_ independent of the response
and request.
details
I have a 'rendering pipeline' which is just a collection of
'IDocumentRenderer'. These each have a
This case appears to be for the web.xml file. Does the servlet container
provide a way of specifying which entity resolver class to use?
Im rather suprised the server would go out to the web for the dtd. Id have
thought it would already know to resolve to a local copy for efficiency
reasons.
on 5/29/02 3:36 AM, Reinhard Nägele at [EMAIL PROTECTED] wrote:
session.setAttribute(REDIRECT_KEY, mapping);
return mapping.findForward(login);
In your login action, check if a mapping is in the session and go there:
ActionMapping redirectMapping =
(ActionMapping)
74 matches
Mail list logo