Hi,
I just got told I have to create a web site similar to myYahoo where the
user can customize what they want to view on the screen. You know the type,
where you can pick and choose from a number of categories and a page is
custom created for you.
Is this a job for the Tiles framework?
Thanks
Hi,
I am trying to get the value attribute to work in the text tag. I have an
'ITEM' bean with two properties. One is set up when the user selects an
item. When they go to a page I want the page to display the existing value
in 'item.primeLocation' and I want the text box to be prefilled with
Hi,
I have a form with a string array property 'Activities'. The form has the
following methods:
private String[] mActivities = new String[6];
public void setActivities(String[] parm1) { mActivities = parm1; }
public String[] getActivities() { return mActivities; }
On my page I
Hi,
just an update. Before I access the page I initialized the String[] array
elements to 1...6. When I get to the page the values in the String[] array
are properly displayed in the corresponding text boxes but when I submit the
page I get the following error:
Hi,
I am trying to get the value attribute to work in the text tag. I have an
'ITEM' bean with two properties. One is set up when the user selects an
item. When they go to a page I want the page to display the existing value
in 'item.primeLocation' and I want the text box to be prefilled with
Hi,
I have a form with a couple of buttons. The form is submitted to a
navigation action class that just looks at an action parameters and forwards
the request. I want created a series of submit buttons with the same
property but different values. If I set the value property of the tag then
that
Hi,
I just finished doing something similar. I have an ArrayList with a bunch of
charging objects. When the user goes to the summary screen I iterate through
all the objects and show them the data. I have added two icons, edit and
delete at the end of each charging row. Each of these icons is a
]]
Sent: February 13, 2002 12:02 AM
To: Struts Users Mailing List
Subject: RE: A good database pool?
Suggest you try the Expresso Connection pooling at www.jcorporate.com as it
is supported. Btw it is also open source.
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent
Hi,
I like the below setup. I have always had the problem of modifying my apps
to work with different devices. Half the time my apps are working with hand
held devices, the other half with desktop browsers.
Alex
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent:
Hi,
I have a couple of struts apps that use a lot of database connections. I
have been moving them over to use a connection pool manager. I have found a
couple of free ones e.g.. Poolman, jdbcpool but neither are being supported.
Can someone suggest another database pool manger. I don't care if
used to find the beans, and I
think by default it would do what you want. So you may have to do
exactly nothing to have this work the way you want.
regards,
Stephen Owens
Corner Software
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23
used to find the beans, and I
think by default it would do what you want. So you may have to do
exactly nothing to have this work the way you want.
regards,
Stephen Owens
Corner Software
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23
1.0.1. Adding
the ActionMessages would be a feature. Plans are in
the works for having a Struts 1.1 release which would
be based off the nightly builds (no date set yet, but
should happen relatively soon).
David
--- Alex Colic [EMAIL PROTECTED] wrote:
Hi,
I have been using the ActionMessages
Hi,
I have used option two.
The code for my servlet is below. It works for me. If you have any
suggestions, enhancements please send me a note.
Alex
package com.sirius.struts.action;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.log4j.*;
public class
Hi,
I have been using Struts now for about a year and I really like it. It has
saved me a lot of time and made my apps quite stable. I have just been
placed on another large struts project. It will be pushing struts to the
limit. A quick question on design. What I am going to do is a bit
Users Mailing List
Subject: Re: Struts design advice requested please.
Alex Colic wrote:
I have been using Struts now for about a year and I really like it. It has
saved me a lot of time and made my apps quite stable. I have just been
placed on another large struts project. It will be pushing
the docs).
Alex Colic wrote:
Hi,
does anyone have an example of using jmeter to stress test a struts app? I
have downloaded the jmeter files and I am going over the docs but it looks
pretty complicated.
Any examples would be appreciated.
Alex
--
To unsubscribe, e-mail:
mailto:[EMAIL
Hi,
does anyone have an example of using jmeter to stress test a struts app? I
have downloaded the jmeter files and I am going over the docs but it looks
pretty complicated.
Any examples would be appreciated.
Alex
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Hi,
I have a form that has a Boolean property that in the form reset method is
reset to false.
This form is used over two pages. In the first page there is a checkbox that
the user can select to modify this Boolean property. This page is submitted
to an action class that just forwards to the
Hi,
I have an action class that does one thing. I have another action class that
does another thing. How can I have a page that populates a form and submits
to one action class and then pass off the form to another action class for
further work?
Thanks
Alex
--
To unsubscribe, e-mail:
Hi,
I have a generic action class that I want to set up that when the class is
successful it send the user back to the page from which they came. How do I
get that information? And, how would I structure my class to allow it to
send the user back?
Thanks for any info.
Alex
--
To unsubscribe,
for any help.
Alex
-Original Message-
From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 4:30 AM
To: Struts Users Mailing List
Subject: RE: Can't forward to a global?
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent
misunderstanding something?
Cheers,
Dave
Alex Colic [EMAIL PROTECTED] on 12/04/2001
08:19:25 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: RE: Can a form submit to a vector?
Yes,
I want
Hi,
I have an action class that could get called after a users session has
expired. When the action class is called I have the following code:
if(session == null || session.isNew())
{
return mapping.findForward(logon);
}
I have a global forward defined for logon.
to a vector?
Do you mean dynamically? ie another row added to the vector above it
without a
submit?
Dave
Alex Colic [EMAIL PROTECTED] on 12/03/2001
12:40:57 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark
Hi,
I have a web app that is using org.apache.struts.action.ActionServlet.
When I start the app in JBuilder 4 Ent along with Tomcat 3 The actionServlet
loads twice.
Any ideas why?
Alex
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Hi,
I have a vector that holds charging objects. The object has properties such
as name and amount.
On a page, at the top I iterate through the charging objects and create a
summary table. The table shows all the charging objects in the charging
vector and outputs their name and amount.
At the
Thanks for the help. I got it working.
Alex
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help,
I have a page that is dynamically created. One of the fields is a date
field. I have a javascript calendar that allows the user to input the date
into that field. Now I have been told that they also need to select the
time. I need to create a select box with values of (12am-11pm) and have
Hi,
can't seem to get this checkbox to work.
I have an app that reads the fields of a database and creates an array of
field objects. Then a jsp is produced allowing the user to input the new
data.
I have a checkbox that is tied to a field object that has a setValue(String)
and getValue()
Hi,
thanks all for the reply. I am going to have a look at those nesting tags.
Alex
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help,
I can't figure out how to structure this. I am trying to make a dynamic
program that updates fields in a table. Essentially the program should work
as follows:
A user logs in. I get a list of objects that they can modify. For each
object I get a list of tables. For each table I populated
Hi,
I have a logic:indexed loop that has a couple of html elements that use the
indexed property. I need to get the current iteration and use that variable
in a JavaScript statement.
Specifically I have a text box that has a JavaScript calendar that when
selected allows a user to select a date.
Thanks for all the info. I guess in my action class I will have to create an
empty constructor that initialises that value.
Alex
Hi,
I have to create a app that allows users to change/input data into a
database. Sounds simple. Problem is I have to make it dynamic so that is
will work with any database or table. I have a back end VB app that will
send me:
Field name
Field caption
Field type
Field display type e.g..
Hi,
I have an action class that has a variable that I want set from the web.xml
file. To prevent the action class from reading the xml file everytime it is
accessed I wanted to set the variable once in the action classes init()
method. After looking at the action class I see that there is no
Big thanks to all who have been helping me learn Struts.
It's good to know that people on this list are willing to help each other.
Alex
Hi,
could someone give me some architecture hints on how to do the following:
Lets say you have a business object that has a couple of mandatory and
optional fields populated by the user. The user goes from page to page, each
time inputting either a required piece of info or an optional piece
Hi,
I have gotten myself into a bit of a jam and I am wondering if someone could
help me out.
I got a web app that a customer wants to make some last minute changes to.
From the looks of it, it looks simple but I can't figure it out. Hopefully
someone has an idea on how I can do this.
I have a
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create this vector
and pass it to a page which iterates through the vector and creates a table.
Something like:
name
Thanks for all the help. I got it working.
Alex
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create this vector
and pass it to a page which iterates through the vector and creates a table.
Something like:
name
Hi,
I have used SOAP in the past but the products I am working on have been
developed using this VB back end. It has worked well for us so we are going
along with the if it a'int broke then don't fix plan.
What about my idea of checking application attributes in the actionservlet?
Alex
Hi,
I don't know if this is what you are looking for but I just purchased a book
from Orielly press that deals with Java and XSLT:
http://www.oreilly.com/catalog/javaxslt/
I don't know how I can implement this with Struts.
Hope this is helpful.
Alex
Hi, I am trying to iterate through a bean and populate a list of radio
buttons. I pass an entity object (en) to a page. The entity object has a
number and name parameter. I want to create a list of radio buttons all with
the same name but the values being the entity number.
For example:
input
Hi,
I am trying to figure out if I have properly designed my classes.
I have a class that extends ActionServlet. The only reason it does that is
because all my web apps need a couple of generic objects in the application
session before anyone can use the applications.
So I overrode the doGet
Hi,
hopefully someone can comment on an idea I have.
I have a VB backend that I talk to via a socket to handle db access. When a
connection is made to the back end I put a Boolean value of TRUE under the
active key in the application session. If for whatever reason the VB
backend goes down I
Hi, I am trying to use the new HTMl:Messages in the struts nightly build. I
am updating some of my code to use the new format. Two quick questions:
1: I am saving my messages in the action class via:
ActionMessages messages=new ActionMessages();
messages.add(ActionErrors.GLOBAL_MESSAGE, new
Hi,
Nice app. It should speed things up considerably. Just a quick suggestion
for future enhancements.
When it starts can it take the LF of the OS?
When you do a file open can you specify a default directory.
Thanks
Alex
Hi, how do you get the servlet context object from within a Action class. I notice
that the
request.getSession.getServletContext is depreciated.
I need to get values from the web.xml file.
Thanks for the info.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down
bean:write name=entity property=entityName /
/TD
/TR
/logic:iterate
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
__
Do You Yahoo
what combination of
quotes to use.
Thanks
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
__
Do You Yahoo!?
Get email alerts
. I get the following:
input type=submit name=submit value=bean:message key=button.submit /
All the other messages on the page are showing up correctly.
Any further ideas are appreciated.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL
Hi,
I am creating a generic action class that after it is finished it needs to
forward to the page that called it. I have tried mapping.getInput() but
obviously since I haven't specified a input page in the struts.xml for the
action class I can't use that. Any thoughts?
Alex
version 1 of Struts. If it weren't for that iterate tag
I would
never have gone to a nightly build. I can't wait until the next version of Struts is
out.
Great work to the Struts team they have come out with an excellent product.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving
Hi,
how can I pass a javascript function to a link tag?
My present tag is
a href=javascript:doSummarry(A_NUMBER)
The value of A_NUMBER is found in a bean via workrequest.number.
Thanks for the help.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost
of struts to work with
tomcat?
Any help is figuring this out is appreciated.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
the body tag:
html:errors/
I must be missing something. Could someone set me on the right track.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
suggestions on how to accomplish this is appreciated.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
__
Do You Yahoo!?
Make
/logic:notEqual
but the text still shows up.
Any help is appreciated.
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
__
Do You Yahoo
Alex
=
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo
Hi,
I am wondering how the following can be done in Struts.
You have a page with two frames, one being a navigation frame consisting of
a series of links that populate the second frame. On start-up the second
frame has a log in screen and the navigation frame just has a company image.
On
Hi,
Thanks for the reply. Just a bit of elaboration.
What I should do is have a simple login page. No problem. On successful
login I send them to a framed page. So far so good.
Question about this dynamic links. Could you elaborate on how to create them
using struts?
Alex
Hi, I am trying to get that iterate tag to work.
I am interating through a vector a displaying the results. I have one field
that I want the user to update hence I have made it a text box. When the
page displays, the data is correct but when the user enters something into
the text box and hits
Hi
I am trying to use the indexed property with a page. I have a vector that
holds a series of item objects. Each item object as a name, desc and unit
price field. The page iterates through the vector and creates a table
displaying the name and desc of an item and a text field for the unit
: Craig R. McClanahan [EMAIL PROTECTED]
Subject: Re: I think I found a bug in Struts?
Message-ID: Pine.BSF.4.21.0108071238430.72473-10@localhost
On Tue, 7 Aug 2001, Alex Colic wrote:
Hi,
It took a while but I think I found why the lists I put in application
scope
were not being refreshed
Hi,
I need a bit of advice on how to implement the following. I am creating a
page that holds a list of item names along with their description. So far I
created a vector that holds an array of items and then passes it to a Struts
page in the request scope. The page then iterates the array and
Hi,
I am still having that problem with objects being cached.
In my jsp I have some data that is displayed regularly. Therefore I have put
that object into the context via:
context.setAttribute(CommonProblemList ,tbeList );
When the data the list is based upon changes, I have a monitor class
Hi,
I need to create a GUI front end to the web.xml file. This way the file can
be configured from a web page. What I thought about doing was to create an
admin screen, have the user log in, and check against a file etc. Then I was
going to get the servletContext, open a stream and read the
Hi,
hope someone can help me out here. I think I have a problem with struts and
my classes caching list.
In my jsp I have some data that is displayed regularly. Therefore I have put
that object into the context via:
context.setAttribute(CommonProblemList ,tbeList );
When the data the list
I added the following to my web.xml but it did not make a difference:
init-param
param-namenocache/param-name
param-valuetrue/param-value
/init-param
Any other thoughts?
Alex
-Original Message-
Date: Mon, 30 Jul 2001 10:22:08 -0400
To: '[EMAIL PROTECTED]' [EMAIL
Hi, I created a base actionservlet class that in its init method, the first
thing it does is call super.init(). In this base class I set up common
settings for all my web apps.
I then created a series of classes that all extend my base ActionServlet
class and in their init method the first
Hi, I am hoping someone can point me in the right direction.
First, I have a checkbox that regardless of if the user checks it or not I
need it to be set to true. Can someone suggest a way via JavaScript or
otherwise to set this checkbox to true.
Second, for the same checkbox, if I do not set
Hi,
Sorry I have not thanked everyone for all their help. Using everyone's
suggestions I have created a web page which allows a user to select a
different language for my web app.
Once again thanks all.
Alex
Hi, I am looking for advice regarding the use of two images.
Lets say you have a class status that has two boolean state properties
isModify() and isNew(). If isModify() returns true then I want to display
modify.gif and call the JavaScript function modify() and, if isNew() is true
then I want
Hi,
I have a form with a checkbox that sets a boolean property in one of my
classes. At a later page I display a msg if the user has selected the
checkbox and I get 'true' or 'false' displayed. What I am actually looking
for is a 'Yes' or 'No' to be displayed. Is there a clean way of getting the
Hi,
lets say you have a combo box filling from a vector. I can get this to work
but I don't want the combo box to show if there are no options in it. In
other words if the vector=0. What the best way to do this.
Thanks for the help.
Alex
Alex Colic.vcf
Hi,
I have an object in the session that if it is not there I want to display
and error msg to the user. My error code is as follows:
logic:notPresent name=VendorResourceList scope=session
font color=red
bean:message key=error.fatal /
/font
/logic:notPresent
I would think that the
Hi, I am getting an error setting focus to a textbox.
My form tag is as follows:
html:form action=reqHeader focus=requisitionHeader.reqTitle
method=GET
I have created a text box as follows:
html:text property=requisitionHeader.reqTitle size=16 maxlength=20 /
What I am trying to do is set
Hi,
I am trying to set the value of a textarea that I have created via:
TD
html:textarea name=requisition property=requisitionLines.description
value=requisitionLines.pcitem.name cols=20 rows=10
/html:textarea
/TD
When the page is displayed the textarea text is populated with
Hi, I have a bean whose value I can display via:
bean:write name=requisition property=requisitionLines.pcitem.name/
What I want to do is create a textarea and have the value of the defaulted
to the above name value.
My textarea has been created as follows:
html:textarea name=requisition
Hi,
how do you forward from one action servlet to another? I have a form that
gets submitted to a servlet that I may depending on a value pass it off to
another servlet to process.
Any help is appreciated.
Alex
ext. 104
Fax: 1-905-777-0132
Original Message
Date: Wed, 09 May 2001 07:50:08
To: [EMAIL PROTECTED]
From: Bart Moberts [EMAIL PROTECTED]
Subject: Re: how to forward page on logic:notPresent?
Message-ID: [EMAIL PROTECTED]
From: Alex Colic [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Subject: how
My mistake. I was testing all possibilities and I sent you a bad example.
This set of HTML code works:
IMG SRC=./Images/cancel.gif ALT=Cancel NAME=btnCancel
This struts code does not:
html:image src=./Images/cancel.gif alt=Cancel property=action
value=cancel /
When the page is resolved the
, then I reset the action then I submit the
form. In the below case I get null returned:
String strWRNumber=request.getParameter(wrNumber);
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777
,
Can you put a
alert(workrequest.wrNumber.value);
in function doWRModify(wrNumber)
after you assign the value to wrNumber?
Is the form name, workrequest (View Source to check)?
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED
Hi,
suppose you have an object in the session. If the user access a page that
uses this object you want data to be displayed but if this object is not in
the session you want the page submitted so that the user will end up on the
next page. A sort of a wizard app.. page 1 to 2 to 3 where you
Hi, I am trying to use struts to show a couple of icons.
The following html works:
IMG SRC=./Images/cancel.gif ALT=Cancel NAME=btnCancel
onClick=doCancel();
but this does not?
html:image src=/Images/cancel.gif alt=Cancel property=action
alue=cancel/
In the struts way the form is submitted
Hi, I have a class which has a method 'Columns' which is a one dim array of
Strings. How can I check to see if that method returns null. I want to write
out one message if it is null another if it is not.
Thanks for the help.
Regards
Alex
Hi,
I am trying to get some images to work but so far no luck.
My web app directory is as follows
myCompany/... place for my JSP's
myCompany/Images..all my images are here.
On one of my pages, pwSubmit.jsp I have the following tag.
html:image page=/Images/cancel.gif alt=Cancel property=action
Hi,
I have a couple of buttons on a web page, all with the same property but
with a different value. I want to be able to submit that form and then have
my actionservlet figure out what to do depending on which one of the buttons
the user select.
I have a web page with image buttons as follows:
Hi,
I am trying to iterate through a vector to populate a select box.
I have a class CategoryList in application scope that holds a list of
Categories. Each category has a CategoryGroup name and a vector of
CategoryValues.
At run time I am trying to create a page that dynamically creates the
box then that is the title else
the option selected is the title.
Could this be done within Struts?
Regards
Alex Colic, HBA, B. Ed
PopWare Inc. Driving down the cost of conversions!
E-Mail: [EMAIL PROTECTED]
Tel: 1-905-777-8171 ext. 104
Fax: 1-905-777-0132
Hi,
quick questions.
I am trying to figure out how to create multiple select boxes on the fly.
I have a class CategoryList the extends vector. To this list I add elements
of type Category, which has a getCategoryValues() method which returns a
vector of categories (String) as well as a
Hi,
How do you set-up the action property of a form tag if you want the JSP to
submit the form to itself?
When the user wants to go to the next page I have a next button that in its
onclick event I will set the forms.action property via JavaScript.
Thanks for any help.
Alex
Hi,
I am trying to get a handle on the logic:iterate tag.
I have an object in application scope under the key 'storeroomList.'
There is a vector of objects under the property 'storeroomList'. Each one of
the objects in this vector has a property 'name.'
What I am trying to do is go through the
Hi,
I have subclassed actionservlet. In the init method of my subclass I have
called super.init();
For some reason as I step through my code the init method of my subclass is
being run through twice.
Any idea why?
my web.xml file is as follows:
!-- Action Servlet Configuration --
servlet
Hi so far my list caching is going well,
I have set up a thread to monitor database changes and to update the lists
stored in the servlet context. Unfortunately, although my program is
noticing the change in the database and it is recompiling the data and
putting the new data into the context
Oh,
I thought about using removeAttribute() and then setting the attribute of
the list again but I am worried about pulling a list out of the
servletcontext just as a person might be accessing a page that needs that
list.
Regards
Alex
Hi,
Lets say you have a web app that runs over a number of web pages in a wizard
fashion. On each one of these pages you need to present the user with a
select box holding lists. e.g. locations, cities, etc. This data is read
from a database and rarely changes.
How would you cache these lists
1 - 100 of 116 matches
Mail list logo