Hi all,
I am trying to do something as simple as writing a FOR loop with some
information that I have in a bean, but this is proving to be quite a
bit more cumbersome and difficult than I thought it would be. For some
reason, everything I try seems to fail. Here is a short example of
what I'm
Has anyone seen the following error before?
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
set-property must match EMPTY.
hi all,
we are doing an search engine kind of thing , for which i need to select a directory ,
where searching for a particular keyword is done.
Problem with html:file tag is that i can only select a file not a directory.
Kindly give a clue to proceed, thanks in advance
Praveen.
Yahoo!
Thank you KP,
I should have stated earlier that we are actually quite familiar with the
java XML parsers and XSLT transformation engines.
We are considering writing a servlet or filter to handle the
transformations. A caching mechanism would also need to be written.
We are researching if
Hi!
We are using Struts 1.1 and Tomcat 4.1.x at our company.
We are considering to separate our urls from our struts configuration.
Instead of /news.do?articleid=43 we would like the url to look like this:
/news/article/43. Furthermore the generated html should contain urls of the
form
Hi All,
Anyone encountered this error before? Its very strange//
javax.servlet.jsp.JspTagException: Invalid evaluated value
EVAL_BODY_INCLUDE from class
Hi
Are there any Struts user in or around London interested in meeting
up one evening informally in a pub somewhere in central London
(England of course) for a pint or two, talking about their web user
interface experiences?
I dont care if your experience is good or bad, beginner or expert,
Andy,
What error are u getting ?
Regards,
Janarthan S
-Original Message-
From: Andy Engle [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 9:20 AM
To: [EMAIL PROTECTED]
Subject: From bean into for loop
Hi all,
I am trying to do something as simple as writing a FOR loop with some
hi!
I am moving my old application from jboss/mysql to weblogic/mysql.
I cant however seem to configure the driver for mysql.
I have put the mysql connector jar file in my comp classpath, edited
startWebLogic.cmd (in bea/samples/domains/workshop) to add the path to the
jar file but when i login
If you have an array in the bean that you are trying to iterate
through, then a JSTL forEach tag would seem ideal
c:forEach var=Row items=${productData.dataSet}
c:out value=Row.attribute/
/forEach
Regards
Duncan Mills
Senior Principal Product Manager
Oracle Application Development Tools
Hi
Are there any Struts user in or around London interested in meeting
up one evening informally in a pub somewhere in central London
(England of course) for a pint or two, talking about their web user
interface experiences?
I dont care if your experience is good or bad, beginner or expert,
The ${productData.someCount} is not valid Java, it is a JSP thing.
There are a number of ways to do this.
1-
%
// Retrieve Product data reference,assuming it is of type ProductData
// and assuming it has been stored in the pageContext
ProductData productData =
testing 1 2 3 4
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447
==
This message is for the sole use of the intended recipient. If
Errm, I think you are misunderstanding a thing, html:file allows the user to select a
file on _his_ computer, you can't search _his_ computer from the server.
Regards
Leon
-Ursprüngliche Nachricht-
Von: praveen kulkarni [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 24. Mai 2004 06:54
Hello,
I have created more than one form-pages with struts. After validation i
can read the values in the Action with:
-
HttpSession session = httpServletRequest.getSession();
DynaActionForm PageA = (DynaActionForm)
session_automatic.getAttribute(PageA);
//This is a DynaActionForm-Object
Andy Engle wrote:
Hi all,
I am trying to do something as simple as writing a FOR loop with some
information that I have in a bean, but this is proving to be quite a
bit more cumbersome and difficult than I thought it would be. For some
reason, everything I try seems to fail. Here is a short
May be posting the Struts-config.xml would make it possible to help you ?
\T,
Has anyone seen the following error before?
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse
Hi All,
Whenever I tried to use Non working Code instead of working code in
struts-config.xml to take care of duplicate submit. I got the exception as
shown. I don't understand what wrong I am doing? I am using struts1.1.
Non working Code:
action path=/AS
At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote:
Has anyone seen the following error before?
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content
Hi there,
Scenario::
I'm using struts in a web application (with other web application which is
non struts). The application context for this new struts application is
myapplication specified in web.xml).
I'm facing following problems::
1) I initially kept an empty struts-config.xml file (since
At 8:50 PM -0700 5/23/04, Andy Engle wrote:
Hi all,
I am trying to do something as simple as writing a FOR loop with some
information that I have in a bean, but this is proving to be quite a
bit more cumbersome and difficult than I thought it would be. For some
reason, everything I try seems to
Andy,
You are mixing JSP scriptlets and JSTL expressions.
You can:
1) use the JSTL forEach tag which is in the core library
2) use the struts logic:iterate tag
3) (least preferable) use scriptlets and access productData.someCount
directly rather than throug a JSTL expression.
Regards,
Richard
At
Hi Andy
I'm afraid you are mixing jsp scriptlet with JSTL grammar
You can use two approaches:
If you want to use scriptlet (like you are doing now)
You must of course declare it,
e.g. like
jsp:useBean id=productData class=com.mypackage.Myclass
scope=session|request|page/
Then if tou want to use
Hi,
I have been working on some struts - jsp pages. And I found some strange
behaviour.
In the JSP I specified some logic tag. BUT I never actually import the
tag, %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
Then i tried to run my JSP. It either say:
* Bean not define
* There is no
Thanks for the reply mark. I finally solved the problem. There were two
things.
1, I am using tiles defintitions. I had inadvertantly forgotten to place
a closing /html:html
in my base tile. For some reason this screwed everything up.
2) For some strange reason, the validation framework ONLY
Why don't you rewrite UrlRedirect to UrlForward?
At 10:34 PM 5/23/2004, Morten wrote:
Hi!
We are using Struts 1.1 and Tomcat 4.1.x at our company.
We are considering to separate our urls from our struts configuration.
Instead of /news.do?articleid=43 we would like the url to look like this:
For me this is what I usually do:
JSP:
logic:iterate id=status indexId=index name=testResultForm
property=status type=java.util.ArrayList scope=session
bean:define id=currStatus name=status/
%
System.our.println(the current status in the loop is = + currStatus);
%
/logic:iterate
Basically i jsut
well you are on the right path ...
You need to use jstl.
I am not sure what you have in your bean. Do you have a collection of
objects or a Integer of representing a count? Either way check out the
forEach tag.
Let me know if you need an example
nathan
On May 23, 2004, at 9:50 PM, Andy Engle
Hello All,
I am using JSTL and html-el tags . I am pretty new to the
struts and the tags. May be I am doing something totally unacceptable in
struts. Please help me.
My ActionForm has something like this :
public class TaskForm extends WorkFlowForm {
/**
Tom,
The form bean is created both in the JSP page and when
the page is submitted back to the server.
Regards,
Richard
--- Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
Thomas T. Veldhouse wrote:
I am having a problem using Action forms because I
do not know what
to call the attributes
Hi,
may be, you have selected an empty value for the attribute
body-content inside the related tag in the tld file, but you return
EVAL_BODY_INCLUDE inside the doStartTag() method.
BR
/Amleto
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Inviato: lunedì 24
At 10:47 PM 5/23/2004, Paresh Patel wrote:
Dear Michael:
1. Pardon me for sending this mail to you, but I need a bit of help.
2. Saw that you have done work using frames.
3. I need to learn about using frames in Struts.
This is what I would like to do:
- have two frames in a page
guess i'm not the only one whoose messages are taking half a day to appear
:)
Daniel.
-Original Message-
From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
Sent: 24 May 2004 11:19
To: Struts User Apache (E-mail)
Cc: Struts Dev Apache (E-mail)
Subject: [ot] testing 1 2 3 4
testing 1
Pilgrim, Peter wrote:
Hi
Are there any Struts user in or around London interested in meeting
up one evening informally in a pub somewhere in central London
(England of course) for a pint or two, talking about their web user
interface experiences?
Peter,
If you get much interest, I may be
Funny I was about to mail the group on the same topic - there must be
some more of us in the UK...?
Regards
Duncan Mills
Senior Principal Product Manager
Oracle Application Development Tools
Pilgrim, Peter wrote:
Hi
Are there any Struts user in or around London interested in meeting
up one
Your messages are coming through, Peter.
At 03:19 AM 5/24/2004, Pilgrim, Peter wrote:
testing 1 2 3 4
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447
Sorry Pete, I can't accept that without a unit test. :-)
-Original Message-
From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 5:19 AM
To: Struts User Apache (E-mail)
Cc: Struts Dev Apache (E-mail)
Subject: [ot] testing 1 2 3 4
testing 1 2 3 4
--
Peter Pilgrim
Isn't this what Cocoon does?
http://cocoon.apache.org
- Original Message -
From: Josh Holtzman [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 6:16 AM
Subject: RE: Struts and Data/Presentation Separation
Thank you KP,
I should have
exception
key=errors.invalidFileFormatException
type=com.hnw.services.mailinglist.util.upload.InvalidFileFormatException
/
__
Do you Yahoo!?
Yahoo! Domains Claim yours for only $14.70/year
Yes
- Original Message -
From: Pilgrim, Peter [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 9:15 AM
Subject: [OT] Struts Users in London / meet+greet / pub / networking / BOF ?
/ pre J1
Hi
Are there any Struts user in or around London
Hello All,
Sorry about the previous email from me--pressed the
wrong key before the email was even finished...
Anyway, I have a question and was hoping someone can
help:
I have several Struts Action's whose exectute throw my
app-specific ObjectNotFoundException. So basically
what'd love to be
Hi
Are there any Struts user in or around London interested in meeting
up one evening informally in a pub somewhere in central London
(England of course) for a pint or two, talking about their web user
interface experiences?
I dont care if your experience is good or bad, beginner or expert,
I have a webapp which uses Struts and runs fine on Jetty (port 8080).
Im trying to use IISRelayJ so that I can have IIS running on port 80 and
have the requsts redirected to Jetty, and keep port 8080 blocked.
I tried creating a Filter to do this, but it doesnt seem to work.
When I goto
Title: Message
Hi,
I'm trying to make
Struts to use EJB's AND files to get the Resource
propperties.
For example, I'll
have standard (static) App-resources files under (for instance)
WEB-INF/classes/acme/Application.properties and I'll have an
EJBunder(for example [jndiName])
Ref : msg71420
Hi,
I suppose the proble is very simple,
just add the following things to the web.xml and struts-config.xml
In Web.xml
init-param
param-nameapplication/param-name
param-valuecom.xyz.ApplicationResources/param-value
/init-param
add the above entry below
Hello all,
There is an array(dsmccList) obtained by a self-defined tag, and I wanna to
send the length of the array
as an hidden property, as following:
iPanel:appListData id='dsmccList'/
c:set var=dataCount value=${dsmccList.length}/
But this causes
Hi kathy,
request.getContextPath() could be a solution.
I am including the JS file in common_header.jsp, so how do I use
request.getContextPath()?
Also, I tried the html:rewrite tag:
script language=JavaScript src='html:rewrite page=/test/js/public.js/'
runat=server/script
Hi,
I have a requirement where I need to find out the content length of a
body and set it in the response before I write that page. Requests to
our portal gioes thru some other portal and reaches our application
after authentication in the entry portal. But this entry portal has a
content
Dear all,
We have a application built using Struts.
Below is the architecture in brief :
JSP à Action Class à
Business Delegate à
Session Façade à
Database
We are not using Action forms. We are using
Value Objects (VO) to pass data between web tier and App tier (from action to
HTML output code:
input type=checkbox name=myCheckBox onchange=if
(myCheckBox.checked)
{myHidden.value='true';} else {myHidden.value='false';} /
input type=hidden name=myFirstArray[0].mySecondArray[0].myHidden
value=true /
The value of the name attribute is just a character string to
Hello,
Have you looked at stxx.sourceforge.net ? It seems to be a good solution
(it's that i want to use - or something similar - for my next project,
which is a project for managing docbook files).
You could also look at cocoon, but it's a HEAVY framework, so heavy for
me, i stopped looking
Hello All,
I am using JSTL and html-el tags . I am new to the struts
and the tags. May be I am doing something unacceptable in struts.
Please help me.
My ActionForm has something like this :
public class TaskForm extends ActionForm {
/** @modelguid
Hi all,
Thanks to all of you who responded to my question. I certainly should
be able to solve the problem now. I appreciate your responses!
Have a great day.
Andy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Since we're on the topic of finding users, is there anybody out there from
the Vancouver, BC, Canada area?
c:set var=dataCount value=${fn:length(dsmccList)}/
robert
-Original Message-
From: Ding Lei [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 22, 2004 1:45 AM
To: [EMAIL PROTECTED]
Subject: How to get length of an array(collection)
Hello all,
There is an array(dsmccList)
Ludovic,
Thank you for your helpful response.
Best regards,
Josh Holtzman
AMERICAN DATA COMPANY
Developing and Supporting your Online Applications
[EMAIL PROTECTED]
Voice: (310) 470-1257
Fax:(310) 362-8454
Sun Microsystems iForce Partner
-Original Message-
I assume your using BMP for persistence. If so, then you
could implement a Store Optimization (Dirty Marker) Strategy
which would control which fields get updated.
For CMP, the container should manage this.
For more on this strategy:
Hi Ding!
You can try this:
bean:size id=collectionLength name=dsmccList /
You may look into struts-bean API documentation to understand how this tag works.
[]´s
Henrique Andrade Viecili
- Original Message -
From: Ding Lei
To: [EMAIL PROTECTED]
Sent: Saturday, May 22, 2004
Any Strut user from Argentina?
- Original Message -
From: Wiebe de Jong [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 3:34 PM
Subject: [OT] Struts users in Vancouver, BC, Canada
Since we're on the topic of finding users, is there
Hello All,
I am using JSTL and html-el tags . I am new to the struts
and the tags. May be I am doing something unacceptable in struts.
Please help me.
My ActionForm has something like this :
public class TaskForm extends ActionForm {
/** @modelguid
At 1:44 PM +0800 5/22/04, Ding Lei wrote:
Hello all,
There is an array(dsmccList) obtained by a self-defined tag,
and I wanna to send the length of the array
as an hidden property, as following:
iPanel:appListData id='dsmccList'/
c:set var=dataCount value=${dsmccList.length}/
But this
Struts users interested in meeting other Struts users face-to-face
might want to have a look at http://struts.meetup.com/
Joe
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
Imagine if every Thursday your shoes exploded if you tied them
the usual way. This happens to us all
I understand what you are saying and the getElementsByName() is useful to know. An
issue I still have is when
writing the conditional javascript statement, I don't know where in the
nested hierarchy I am in. What I am saying is that the conditional
javascript statement needs to be coded once
Hi There,
I have an existing web application developed using Struts framework. Now I
am looking into the possibility to make the application as a Portalet so
that it can run within Portals that are JSR-168 compliant. Can anybody give
me some suggestions on how to start and what should be done
Ok. I've signed up as the first user in Vancouver. Now I just have to wait
for somebody else to signup...
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 1:46 PM
To: Struts Users Mailing List
Subject: struts.meetup.com (Re: [OT] Struts users in
Try
script language=JavaScript
src=%=request.getContextPath()%/js/public.js/script
in your common_header.jsp.
Kathy
-Original Message-
From: Ding Lei [SMTP:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 9:48 PM
To: Struts Users Mailing List
Subject:Re: Include common
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
considering that a year ago, there were over 2700 subscribers to
struts-user.
Hello!
I'm having trouble getting Multi-page forms to work. I've set up the
following:
1. Validation.xml with page numbers for each field
2. Struts-config.xml with all fields in the form-bean declaration
*except* page and separate actions for each page (none of which have
validation=false)
3. A
Hi All,
I have come across a complex scenario for validation.
There is a JSP page with checkboxes and array of
textboxes generated dynamically.
So for eg: with one checkbox there could be 1 or 2 or
3 ..or n number of checkboxes associated.
Now I have to validate that if the checkbox is checked
Kevin,
How is the page a hidden variable in your jsp?
Do you use html:hidden property=page / (with or without
value=someActualPageNumber) OR do you use a regular html (not JSP) tag,
which, of course, would never be populated?
Since I use different JSP's in my multi-page validations (one for
I used htmlel:hidden property=page value=2 / and have also tried
plain html like input type=hidden name=page value=2. Here's a
copy from my jsp:
htmlel:form action=page1.do
table style=text-align:center;
tr
th colspan=2Enter Information/th
/tr
Thanks to everyone who replied. My problem was:
INFO: Initializing,
config='org.apache.struts.action.ActionResources',returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
set-property must match
checkout liferay portal, they are using struts to write portlet.
Good luck
-Dan
- Original Message -
From: Jing Chen [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 1:59 PM
Subject: struts and pluto
Hi There,
I have an existing
I've decided to go the route of a session
scoped form bean but now I have the interesting problem of myForm.reset()
being called with each submission.
So, I'm curious. What's the use
of a session scoped bean if it gets reset before it's passed to an action?
Or, am I missing something?
Thanks,
At 8:53 AM +1000 5/25/04, BARBEY Stuart R wrote:
Thanks to everyone who replied. My problem was:
INFO: Initializing,
config='org.apache.struts.action.ActionResources',returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The
Hi Leon,
I understood that html:file cannot search from server, thanks.
I have to provide an user interface which allows to browse only directories
how can i do this?
Thanks in advance
Praveen.
Yahoo! India Matrimony: Find your partner online.
76 matches
Mail list logo