I think that there is indeed a problem owing to the fact that only an
application server JSP1.0 can be defined whereas Struts1.1/Tomcat4.0.1 uses
specifications 1.1. I thought all the same of being able use the
Ultradev/Struts extension but without using the innovations of version 1.1
while
I'm trying to get my first form working with the validator and I seem to
have a problem creating my LoginForm bean, it says that it can
instantiate the LoginForm bean, is there a problem in the bean ?
/*
* LoginForm.java
*
* Created on December 19, 2002, 11:42 AM
*/
package
there are some example jsps with struts 1.0.2 download..It has examples of
usage of most of the tags including texttag..
regards,
shirish.
-Original Message-
From: usha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 7:01 AM
To: struts-user
Cc: usha
Subject: html tablib
Sorry people, but I could do with some feedback on this rather than finding
out the hard way.. Up up against the wire I I want to get my flight back
home for christmas..
Anyone done this? Is my question silly (would be the first time)?
Many thanks
mark
-- Forwarded Message
From: Mark
Hi,
we have a webapplication based on struts 1.0.1 running on a Tomcat 3.3.1 and
Apache 1.3.26. This application contains the possibility to upload files to
the server.
We use the struts-upload functionality for this.
When using the upload with IE 5.5 or IE 6.0 the browser sends a duplicated
For your information I contacted the support of Ultradev (free support for 2
questions only) and frankly I fell on inefficient. He was not able to
indicate to me if I could configure a Web server using JSP1.1 (let us not
speak about 1.2) with Ultradev. Its slogan was: you use tomcat, to defer to
Hi Richard,
thanks for your help. I tried what u wrote me, but it didn´t work. I get
following exception:
11:36:32,775 ERROR [Engine]
ApplicationDispatcher[/Zeiterfassung_Applikation] Se
rvlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException
at
Hi
You can use the Display tag.This tag supports the pagination
feature.You can down load and view the code from this URL
http://edhill.its.uiowa.edu/display-examples-0.8/
hope this may help you.
regards
Pary
- Original Message -
From: cnyinhua [EMAIL PROTECTED]
To: 'mailing' [EMAIL
Searching the Struts mailing list archive
(http://www.mail-archive.com/struts-user@jakarta.apache.org/) for
pagination produced 43 hits.
Of which the following might be of interest.
http://jsptags.com/tags/navigation/pager/
http://edhill.its.uiowa.edu/display-0.8/
Hi All,
I have a requirement to generate the tree structure from the collection object.
right now I am using the monkey tree to generate the tree structure for the same.
The tree is generating fine. But, the problem is that I want to catch the click event
i.e. which node is clicked so that I
I'm using Monkey Tree but I can't seem to get it to work under Struts 1.1,
which version are you using it under at present? If it's 1.1 could you give
me a few pointers on how you got it working or mail me the war file if
that's not being too cheeky : )
Jon.
- Original Message -
From:
I'm not sure.. So din't sue me if I'm wrong, but I was looking through the
cvs logs for struts the other day.. And I recall there was such a bug ..
If I was in your shoes I'd get my hands on the commons-fileupload.jar. Its
what is used for 1.1, this was you don't have to risk any bleeding edges
Has anybody attempted to use the example in the Programming Jakarta Struts book
for the JNDI stuff. It defines two things:
a) A JNDIConnectorPlugin class that takes the properties from the struts-config.xml
configuration file.
b) An EJBHomeFactory that uses the JNDIConnectorPlugin to lookup a
Hi all,
I'm just starting with struts and have read user-developer docs and have
this question.
Is it posable to use xsl-t files instead of the jsp files?
Cheers
Simon
Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Check out stxx
http://www.oroad.com/opencode/stxx/
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 21:57
To: [EMAIL PROTECTED]
Subject: Using xsl-t instead of JSP
Hi all,
I'm just starting with struts and have read user-developer docs
Yes -- you will see the fields filled if you specify the jsp page as the input
attribute of the action mapping. Struts will forward the form and the errors back to
the input page for rendering.
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Are you missing the trailing quote of the el ${action}
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 9:11 PM
To: Struts Users Mailing List
Subject: struts-el:submit question
Hi,
I have this code
snippet
html-el:submit
Only in Struts 1.1
Sri
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 2:03 AM
To: Struts Users Mailing List
Subject: Re: Bean:message question
bean:define id=msg1
bean:message key=yours.msg1
/bean:define
bean:message key=yours.msg2
StrutsCX @ http://it.cappuccinonet.com/strutscx/
Sri
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 8:57 AM
To: [EMAIL PROTECTED]
Subject: Using xsl-t instead of JSP
Hi all,
I'm just starting with struts and have read user-developer
Hello
We have a problem with deploying our struts application. We develop on
Windows2000 machines running tomcat 4.0.4 and yet when we deploy our war on
our Solaris 8 box we are getting errors which do not appear when we test on
our windows boxes.
We know this isn't a data issue as we are
Are you talking about JavaScript click event here? The names of the buttons
are generated using the nesting scheme like:
name=bean1.nestedBean1.nestedBean2.button1. Or if they are indexed (in an
array) it uses the array syntax like
name=bean1.beanColl[2].nestedBeanColl[4].button1.
Have you tried
Write once, debug everywhere. Love Java, but going from one platform to another
usually involves some effort.
What kind of errors are you getting? Hard to answer this question without knowing at
least that much.
-= J
-Original Message-
From: Beeson, Ashley [mailto:[EMAIL
There are a couple tutorial examples - and the EDG (Expresso Developers
Guide) doc etc. You'll find the doc at:
http://www.jcorporate.com/product/expresso.html Documentation. A bit
slow to load - we are currently working on bringing up a new server
which will resolve this.
-Original
-Original Message-
From: Beeson, Ashley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 10:06 AM
To: '[EMAIL PROTECTED]'
Subject: Compiled JSPs are different on windows and Solaris
Hello
We have a problem with deploying our struts application. We
develop on
Have you compared the batch files and shell scripts? Have you changed them?
I develop on osx deploy on linux and windows with no problems, but I never
touch the scripts... Upgrades n all..
On 19-12-2002 16:15, James Childers [EMAIL PROTECTED] wrote:
Write once, debug everywhere. Love Java, but
Hello,
I would like to ask you about your opinion or experiece with the
following problem.
Our application is an EJB application, running on jBoss (3.0.2 or
3.0.4), J2SE 1.4.1 and Struts 1.1.b2.
The primary problem is an OutOfMemoryException which occures on WinNT,
where the application is
I thought I had this licked in my first form. I was able to get the default
validations to work along with a couple of custom ones:) However, not on a
subsequent form. The required validation and two custom ones work on the
first form, but not on the second. Its like the never even are
yes..the form bean which was submitted contains the previous data..But the data
which u are going to put on screen will not necessarily be in same form
bean(mostly in another form bean)and also will be rendered by another
actionso the data processing action and data populating action are
There are a couple tutorial examples - and the EDG (Expresso
Developers
Guide) doc etc. You'll find the doc at:
http://www.jcorporate.com/product/expresso.html Documentation. A bit
slow to load - we are currently working on bringing up a new server
which will resolve this.
After
Replying to all questions:
Clean installs of 4.1.17 on both windows and Solaris now. Windows versions
work fine, we get varying errors on the Solaris version, one of the most
confusing being
'org.apache.jasper.JasperException: No getter method for property mdevId of
bean
-Original Message-
From: Beeson, Ashley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 10:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Compiled JSPs are different on windows and Solaris
Replying to all questions:
Clean installs of 4.1.17 on both windows
Sandra,
Have you thought of paying the upgrade price on Macromedia's web site to go
from Dreamweaver UltraDev to Dreamweaver MX?
Also, there are free IDE options out on the web that you can use. One of
the ones we use in my development shop is Eclipse. There are numerous
plugin that you can
After speaking about frameworks (where only Expresso Strutsxx and
Struts+Cocoon seem to exist), let's talk about O/R mapping.
Which one is the easiest/more mature/more functional/best
documented/most integrable with Struts?
My vote goes to OJB.
--
James Mitchell
Software Engineer/Struts
OJB gets my vote too, it wouldn't be that hard to write/use a bean serializer like
Betwixt to turn your beans or your application/session/request scope variables to xml
for XSLT transformation. Stay clear of cocoon for now, I guess they are working on
revamping the thing from near scratch (or
Es kommt von Ihrer eigenen Anwendung!
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg.
- Bjarne Stroustrup
-Original Message-
From:
Could u specify this more? Where is the error in my application?
I attached a tiny piece of sample code in my mail (if you scroll down). We
(two guys) are looking to find this error for over 6 hours now.
Thanks a lot!
--
Fehlerfreie Software wirkt weniger komplex und diskreditiert damit den
May be I can help about Cocoon.
I use it A LOT.
And am only newbie with Struts.
What I LOVE with Struts is the lego concept of the actions.
It is so easy, so intuitive and powerful to manage internal logic.
In Cocoon, the same internal logic requires a lot of Java programming,
and maximum
O/R is not always needed. Sometimes you just want to work with a
relational master/detail (ie, next row(); next row();).
My concern is not to have to think in term of (for example)
Primary Key/Foreign Key or Conposite Key...
This is too much low level for me. And some programmers I talk
to
Michael,
You need to put the methods that I sent in the
FormBean class and not your Vector subclass. You
really don't need to subclass the Vector.
ex.
public class MyForm extends ActionForm
{
private Vector myFoos = new Vector();
/**
* getter for indexed property in myFoos
*/
http://access1.sun.com/jdo/
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/19/2002 10:55 AM
To: 'Struts Users Mailing List'
Cc:
Subject: RE: Compliment Frameworks
O/R is not
The getters / setter aren't overloaded for this property. We aren't actually
using BeanUtils in our implementation but all libraries (.jars) are in the
deployed war file and hence there shouldn't be and differences in that area.
We are downloading Sun One Application Server to test the same war
Hi Richard,
thanks again for your quick reply. I thought I need to subclass Vector,
because I don´t save plain Strings in my Vector, I save Beans in it. So
therefore I thought I need to have a polymorhism to save myself the work to
write always indexed setters and getters . But anyway, I put the
.
and if I also change the type of my indexed getter like this:
/**
* getter for indexed property in myFoos
*/
public TimeProofTableBean getTimeProofList(int index) {
if (index = timeProofList.size())
return new TimeProofTableBean();
return (TimeProofTableBean)
I'm deploying a .war that contains Struts and am getting an error in
some .jsp's that reference this absolute uri
http://jakarta.apache.org/struts/tags-tiles-1.1
I've searched far wide and found no answers - does anyone have a clue
on this?
THANKS
002-12-17 13:53:26,413 ERROR
the actual code does have the missing quote
-D
- Original Message -
From: Siggelkow, Bill [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 6:38 AM
Subject: RE: struts-el:submit question
Are you missing the trailing quote of the el
Michael,
How are you accessing the indexed property in the JSP?
-Richard
--- Michael Olszynski [EMAIL PROTECTED] wrote:
Hi Richard,
thanks again for your quick reply. I thought I need
to subclass Vector,
because I don´t save plain Strings in my Vector, I
save Beans in it. So
therefore I
Until now I was unaware of the existence of Dreamweaver MX.
Which does bring moreover than Ultradev4? Concerning the OpenSource
products, I already heard spoken about Eclipse. My boss made the choice use
JBuilder (because we used already Borland then C++ Builder) I do not say
that it is the best
I do it like this:
logic:iterate id=timeProofList indexId=listIdx name=timeProofForm
property=timeProofList
tr
td html:text name=timeProofList property=fromHour indexed=true/:
html:text name=timeProofList property=fromMinute
indexed=true/ /td
/tr
/logic:iterate
--
Fehlerfreie Software
Sandra,
Dreamweaver MX was release some time back. Visit the Macromedia web site to
obtain more information regarding the price to upgrade your version of
Dreamweaver UltraDev to MX. Also, some of my development staff has informed
me that you can obtain test drive copies of Dreamweaver MX off
trying to deploy an .ear that was ok but now giving link error:
java.lang.LinkageError: loader constraints violated when linking
javax/jms/XATopicSession class
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
We would need to see more of your real JSP code, including the taglib directives, and
not just a simulated copy, but the real code.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Hi,
I have this code
snippet
html-el:submit value=${action} /
/snippet
The
Oh, I see the problem, did you forget to set ThrowLinkageError=false in
your config file?
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org
C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg.
- Bjarne
No I haven't set that - can't even find that config file - could you
tell where that config file is located?
Thanks Mucho
d
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 11:25 AM
To: 'Struts Users Mailing List'
Subject: RE: javax
Hi,
I am using a layout.jsp page that use the tiles to fill the body section of
the page. I want to create a tile definition that could split the body in
two sections (top and bottom). I thought about creating a definition that
could have another definition as body value and then use that new
You're using the wrong uri for the taglib. Check the tlds for the correct
uris.
David
From: Daniel Grey [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Absolute uri problem
Date: Thu, 19 Dec 2002 09:57:35 -0800
I'm deploying a .war
Putting the bean into your scope is certainly required, but neglecting to do that
shouldn't have caused the symptom you saw. If the bean wasn't found, it should have
resulted in an empty string, not the string ${action}.
You'll have to be more specific than how do I pick up the a property
I tried putting ThrowLinkageError=false in jboss-service.xml - no help
I would really appreciate it if you could tell the file and format this
parameter should be in
Thanks
d
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 11:25 AM
To:
Michael,
This code works:
TestActionForm.java
---
package com.test;
import java.util.*;
import org.apache.struts.action.*;
public class TestActionForm extends ActionForm
{
private ArrayList myItems = new ArrayList();
public TestActionForm()
{
myItems.add(new
Sorry I didn't get back sooner, I've been in meetings most of the day.
I was kidding about that setting. This topic is so far removed from
Struts, that you would have much better luck at J2EE-Interest.
http://swjscmail1.java.sun.com/cgi-bin/wa?S2=j2ee-interestq=LinkageErro
rs=f=a=b=
--
Hi David,
First, the problem went away, and I cant reproduce it.
I could have been the way to declare html-el somehow mapped to the regular
strut html tag.
Second, I have a form with a submit button's label varied depending on a
property of my action form bean, in this case it is an action
ooo
i fell hard for that one
thanks
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 1:10 PM
To: 'Struts Users Mailing List'
Subject: RE: javax link error
Sorry I didn't get back sooner, I've been in meetings most of the day.
I was
I keep getting an error in my Action where I am using
BeanUtils.copyProperties to copy from a ActionForm to a bean like so:
GrantForm grantForm = (GrantForm) form;
BeanUtils.copyProperties(grant, grantForm);
and i get the exception:
java.lang.IllegalArgumentException: argument type mismatch
Hi all,
I'm trying to figure out how to use the html:select tag and am having no
luck. When I execute the jsp, I'm getting Cannot find bean under name
org.apache.struts.taglib.html.BEAN. I've looked at the docs and the
html-select.jsp example but can't see what's different about my case. My
You need to have an html:form element. It needs to encapsulate your
select and submit elements. It needs to specify your action path.
Look at the struts-exercise-taglib and numerous other examples for
building a form with form elements.
-Original Message-
From: [EMAIL PROTECTED]
Hi
I'm not sure if this is a user problem or a dev problem or something that should
eventually be submitted as a bug. Let me know if it should really be posted to the
dev list.
Here's what I'm trying to do: I want to be able to parameterize Tiles definitions
with values set in an ActionForward.
I tried WEB-INF/struts-tiles.tld with no luck
do you know where the latest version or a stable version of
http://jakarta.apache.org/struts/tags-tiles-1.1
exists???
thanks
d
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 11:54 AM
To:
Why not maintain two templates, one for a split body and one for an intact
body?
-Original Message-
From: Rémy Giard [mailto:[EMAIL PROTECTED]]
Sent: Friday, 20 December 2002 6:58 AM
To: [EMAIL PROTECTED]
Subject: How to split a tiles section using another definition ??
Hi,
I am using
The tld files come with the struts distro. Look in the tiles tld and use
the uri listed in there. The uris have changed since beta 2; they no longer
contain version numbers.
David
From: Daniel Grey [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users
Take a look the controllerClass attribute of the definition element in the
tiles config. It allows you to specify a controller class of type package
org.apache.struts.tiles.Controller. This class is executed before the tile
it is associated with is rendered and can be used to dynamically alter
Thanks very much - this has been sidetracked by another error now
d
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 5:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Absolute uri problem
The tld files come with the struts distro. Look in the
I'm having trouble with my ValidatorForm bean. I'm getting this message
'No getter method for property action of
beanorg.apache.struts.taglib.html.BEAN '
Is my ValidatorForm bean being written properly ? I'd appreciate some
comments. Here's my code below:
package com.makmal.struts.forms;
HI All,
I am using struts templates in my project. I am including three pages in my template.
My requirements are such that I want to open a jsp page in new window (onlys that
single page).
Is it a right idea by the mean of MVC?
also, the problem I am having is when I tried to do this, main
On Mon, 16 Dec 2002, Heligon Sandra wrote:
To update the Struts-validator, do we just have to replace the
commons-validator.jar
file delivered with Struts by the new file available in the
validator-1.0.1.zip ?
Yes, that's correct.
--
Martin Cooper
-Original Message-
From:
Hi, all
I'm new in struts.
Now I want to show some information in a tag, which is showed by another
tag.
html:link page=/testaction.do?page=bean:write name=turnpage
property=pagenumber-1previous
/html:link
it doesn't work.
And I even can't use the
bean:write name=turnpage property=pagenumber / to
cnyinhua wrote:
Hi, all
I'm new in struts.
Now I want to show some information in a tag, which is showed by another
tag.
html:link page=/testaction.do?page=bean:write name=turnpage
property=pagenumber-1previous
/html:link
You can't embed one tag within another like you're doing here. Take a
I use the tomcat4.0.3
How to mark ActionServlet as load on startup?
Thx
Which servlet container are you using? Is the ActionServlet marked as
load on startup? It should be.
Can anybody give me a hand?
Any help will welcome!
Best regard!
Frank
Software Engineer
Bleum Incorporated
9E East
Thank you.
I hope the jsp file can have script as little as possible. Do you have
some other way to implement it?
cnyinhua wrote:
Hi, all
I'm new in struts.
Now I want to show some information in a tag, which is showed by
another
tag.
html:link page=/testaction.do?page=bean:write name=turnpage
Hi All,
I am working on a struts application. But I am not sure that it will work properly in
multithreaded environment.
Can anybody suggest me what is the best way to make sure that application work fine in
such environment.
Thank You.
cnyinhua wrote:
I use the tomcat4.0.3
Please upgrade. That isn't the current release for the 4.0-series
tomcat. There have been bugfixes and ... even a security patch I think
since that came out.
How to mark ActionServlet as load on startup?
Here's an excerpt form the web.xml for the
Hi all,
Could someone shine some light on this error. I am using Sun One Studio 4
to do my development on. But when I run the build file (This is the one in
blank.war) I get the following during the javadoc generation.
Generating Javadoc
Javadoc execution
javadoc: invalid flag: -300230035.tmp
80 matches
Mail list logo