Edgar Dollin írta:
A good practice is to NEVER use the same form name unless the action is
related and you are expecting the data to pass through. Of course the class
can be reused.
If someone wants to use an actionform in actions not related can
reference the form with the
same 'name', but
This may be more html related - if so forgive me.
I am working on a project where i have a set of jsp pages that
i want want to generate a href link to. I have tried a bunch of
ways, and nothing but brute force seems to work.
The pages require at least five parameters to be passed to the
page, r
I hope you know that my prior response that the lawyer should be fired was
not aimed at you, Tammy. I appreciate your assistance. I think it is
really funny, however, that a lawyer would actually associate what we are
doing with antitrust behavior. Heck, I feel bigger and better
now. LOL!
for every form that you have in your app you need a form bean and then u need
to add it to your action mapping that is where you are getting the null
exception
just create a dummy form bean with nothing in it and then add it to that
action
On Wednesday 26 March 2003 11:22 pm, Alonso, Damian
http://www.intellij.com/idea/
- Original Message -
From: "Tim Stadinski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 26, 2003 10:31 AM
Subject: jsp editor
Does anyone recommend a jsp editor that will do tag inspection for the strut
taglibs?
thanks.
-
Wooohooo, I think I got my solution;
Here's the code:
import java.sql.*;
import org.apache.commons.dbcp.*;
import org.apache.commons.pool.impl.*;
public class DBCPStest {
public static void main(String[] args)
throws Exception {
String url = "jdbc:postgresql://127.0.0.1:5432/mydb";
hi
i am using the struts and jstl in my web application and using the logic:iterate for
iterating the hashtable,arraylist.
I faced the problem at this point:-
i am getting any tag for retrival of only one value from the hashtable that we are
getting through java function.
ex:-
Hashtable hash=new
This is funny. Price fixing! Fire that lawyer. I AM a lawyer. That is
ridiculous.
At 10:03 PM 3/26/03 -0700, you wrote:
I never thought we'd have lawyers telling use what we can and can't
discuss on *our* mailing list.
David
From: "Tammy Cravit" <[EMAIL PROTECTED]>
Reply-To: "Struts User
Well, all depends, experience, quality, references, etc...
Also, a lot depends on the length of the project. For a short term, you can
charge about twice as much, where long term, they usually expect regular
employment rates
It's hard to estimate, also depends on who the client is. Larger c
Hi
I have several listeners in my web application. Some of them access
the database. For example, my ServletContextListener loads data at start-up.
How are these exceptions trapped generally ? The UI can't be notified
directly by bubbling the exceptions up.
Should I use something li
I never thought we'd have lawyers telling use what we can and can't discuss
on *our* mailing list.
David
From: "Tammy Cravit" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: [OT] Contract Work: Goi
> general landscape well (Tomcat, Struts, Ant, etc., etc., with Linux,
> scripting, various databases, etc.). What would a reasonable request
> be? Thanks.
First of all, I would caution about asking questions like this on a
mailing list, as the discussion of hourly rates and stuff came up on
a
You need to put the count var in your actionForm, and increment it in your
action class. But if you put the actionform in request, the increment has no
effect.
The action instance itself is cached by struts.
-D
- Original Message -
From: "Chai Ang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
scope refers to the scope of the form bean not the action. Actions are
Singletons and live as long as your app is running.
David
From: "Chai Ang" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Scope and Action objects (struts 1.1
Hi there all,
I looked through the numerous queries in the archives
but couldnt find anything that answered my question.
If I have an action class, with a class member "count"
eg
public class QueryAction extends Action {
private int count = 0;
etc...
}
and in the execute() function I inc
How can I do this if I have my form-bean in the session scope and this
form-bean contains the collection?
How will I specify the property in the jsp?
Shilpi
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 7:55 PM
To: Struts Users Mailing Li
Sorry, James, you the man, Jeff. LOL. Thanks to both of you for your input.
At 09:12 PM 3/26/03 -0600, you wrote:
That seems pretty low to me...
On Wednesday, March 26, 2003, at 09:02 PM, James Mitchell wrote:
On Wed, 2003-03-26 at 21:28, Micael wrote:
I have been offered a contract job and a
You the man, James. Thanks.
At 10:02 PM 3/26/03 -0500, you wrote:
On Wed, 2003-03-26 at 21:28, Micael wrote:
> I have been offered a contract job and asked what I wanted per hour. I am
> in Washington state and the client (a web development company) is in
> California. I am an experienced Java
That seems pretty low to me...
On Wednesday, March 26, 2003, at 09:02 PM, James Mitchell wrote:
On Wed, 2003-03-26 at 21:28, Micael wrote:
I have been offered a contract job and asked what I wanted per hour.
I am
in Washington state and the client (a web development company) is in
California.
On Wed, 2003-03-26 at 21:28, Micael wrote:
> I have been offered a contract job and asked what I wanted per hour. I am
> in Washington state and the client (a web development company) is in
> California. I am an experienced Java (certified) programmer that knows the
> general landscape well (T
I have been offered a contract job and asked what I wanted per hour. I am
in Washington state and the client (a web development company) is in
California. I am an experienced Java (certified) programmer that knows the
general landscape well (Tomcat, Struts, Ant, etc., etc., with Linux,
script
Nathan,
For now, I think we're going to just use the multiple config file
options (new in B3). I was able to bust up our ONE struts-config.xml file
and get this working in just 1/2 day (it would have been less if I wouldn't
have introduced some XML syntax errors in my new config files).
Ashish Kulkarni ([EMAIL PROTECTED]) wrote:
> Hi,
> u may also wana look at macromedia dreamweaver MX, u
> can add any number of taglibs and it works fine, also
> have capability to do visual editing
I have never understood this request at all, I mean, what does it
really mean to have a JSP edit
I encountered an error which tripped me up for 30 minutes today. I
visited one of my deployed pages, then changed one of the fields in
my form in both struts-config.xml and validator.xml and then
reloaded both my application and tomcat. Each time I got an error
that there was no getter for the ne
Folks,
I am looking into using a tree control in my web app. I noticed
that the tomcat admin app is struts based and uses a control.tld tag
library , a org.apache.webapp.admin.TreeControlTestAction class and a
org.apache.webapp.admin.SetUpTreeAction class. Any pointers, docs,
lessons lea
Because the default scope is session. If you want it to be request, you
must specify it in struts-config.
Mark
-Original Message-
From: Kevin Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 6:12 PM
To: [EMAIL PROTECTED]
Subject: form scope question
Hi,
I am hoping
And Brighton?! It is getting sunny and warm!
Rab
> -Original Message-
> From: Marco Tedone [mailto:[EMAIL PROTECTED]
> Sent: 26 March 2003 23:48
> To: Struts-user-list
> Subject: RE: [ANN] New York Struts Group - Manchester UK
>
> David, I live in London, so we could think to something
Chris, I live in London, we could try to arrange something...
> -Original Message-
> From: Chris May [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [ANN] New York Struts Group - Manchester UK
>
>
> Maybe, if it was south Manc
Thanx Jacob I am using Hibernate for Data Access Layer.
It is cool
-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 5:50 PM
To: 'Struts Users Mailing List'
Subject: RE: Design Doubt
Dao's like OJB will help you with performance. I wouldn'
Stephen I live in London...
> -Original Message-
> From: Stephen Smithstone [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 7:16 AM
> To: Struts Users Mailing List
> Subject: Re: [ANN] New York Struts Group - Manchester UK
>
>
> wow someone livesin the north west of england
Dao's like OJB will help you with performance. I wouldn't recommend storing
anything in the session like with the display tag, that's way too much
wasted memory.
-Jacob
| -Original Message-
| From: Jagadeesan,Sivakumar [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, March 26, 2003 5:33 PM
|
David, I live in London, so we could think to something like that...
Marco
> -Original Message-
> From: David Bolsover [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 11:11 PM
> To: Struts Users Mailing List
> Subject: RE: [ANN] New York Struts Group - Manchester UK
>
>
> New
A good practice is to NEVER use the same form name unless the action is
related and you are expecting the data to pass through. Of course the class
can be reused.
Edgar
> -Original Message-
> From: Raible, Matt [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 6:18 PM
> To: 'S
Thanx Jacob
Initially I was wondering that querying to request base will be a
performance issue. If even the "big" sites are doing this way, then I guess
it should not be a problem
-Original Message-
From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 5:30
Create an action that takes in the start id and the quantity to scroll over, and your
query (total of 3 params). Read up on your DB specific SQL language for specifying a
start id and max rows to return (not applicable for this mailing list). Enstate
whatever kind of caching you want, but leav
Hi,
I am trying to use a ForwardAction to navigate from one jsp to another. It
has been suggested that every JSP Page should be fronted by an Action. I am
currently trying to do this, but getting the following exception:
javax.servlet.ServletException: Cannot retrieve definition for f
I will chk the displayTag.
I think putting data in a ArrayList of beans will be problem , if there are
many data present in the database. For example, if there are 1000 rows then
we will be creating 1000 beans. I don't think this is good idea.
-Original Message-
From: Raible, Matt [mailto
I've seen this a lot with Struts - it seems you can't have forms with the
same name in any two scopes. To work around this issue, I name my forms
differently. For instance, I store the logged-in user's form in the session
as "currentUserForm" and when I edit a user, I call it "userForm."
HTH,
M
Easiest way without too many details (lots of opinions on getting data from
database):
1. Put data into an ArrayList of Beans (forms, POJOs, whatever).
2. Use display tag library for display/sorting/paging -
http://displaytag.sf.net (it's open source, so if you want to improve it
feel free!)
Ma
Hi,
I am hoping someone can clarify what is exactly happening in my
application. I was trying to retrieve a form object in a custom tag
through the pageContext.findAttribute method, but with no success. I
discovered the reason that I wasn't retrieving the value was because I
had set the form obj
* I want to develop a Product Catalog.
* The product list is present in the database
* I want to display 10 products in one JSP page. I don't want to load all
the
products from the Database and keep it in the memory. I also don't want to
return
the ResultSet to the Servlet/JSP Layer.
What is the b
I got the following exception when deploying a web app using Struts--rc1.
weblogic.management.UndeploymentException
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1520)
at
weblogic.servlet.internal.WebAppHelper.res
I basically have the same questions. I've been searching the user docs and
mailing lists trying to get a handle on what modules were intended to do,
what modules can and can't do, and how I can use modules to improve my
application framework. It appears to me that the modules feature opened up a
w
On Wed, 2003-03-26 at 16:24, Rabih Yazbeck wrote:
> Yes I did, but as part of the war file (I don’t know if there is
> any way to deploy them manually under JBOSS -- not as war)
Deploying an expanded (unzipped) war on JBoss/Tomcat is quite easy.
1. Stop JBoss
2. Create a folder for your app named
I was playing around with this more and if I include the tile with the
controller directly in the JSP with the
tag then it works. If I use the tag which
refers to an attribute which dynamically defines the definition / JSP
to use then it does not work.
Can this not be done? I would prefer to
Yes I did, but as part of the war file (I don’t know if there is any way to deploy
them manually under JBOSS -- not as war)
> -Original Message-
> From: Raible, Matt [mailto:[EMAIL PROTECTED]
> Sent: 26 March 2003 21:20
> To: 'Struts Users Mailing List'
> Subject: RE: error with JBoss: Mi
We do a similar thing to return map images in gif and png format:
Action mapping (note, no forward):
MapImageAction:
// Make sure images are not cached on client or
// else panning/zooming will not go get a new image.
// These values ARE case sensitive and must
Have you tried putting MessageProperties in WEB-INF/classes?
> -Original Message-
> From: Rabih Yazbeck [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 2:14 PM
> To: 'Struts Users Mailing List'
> Subject: error with JBoss: Missing message for key
>
>
> Hello,
>
> I have rece
Hello,
I have received an error (copied below) when deploying my Struts application on
JBoss-Tomcat4.18, but I don’t have problem with the stand-alone Tomcat4.18 or
WebLogic using the same "war" file... my MessageProperties files are in the war file
under WEB-INF/lib .. I also tried to put them
Hi,
u may also wana look at macromedia dreamweaver MX, u
can add any number of taglibs and it works fine, also
have capability to do visual editing
Ashish
--- [EMAIL PROTECTED] wrote:
>
> Netbeans 3.4.1 does a decent job of that, I have
> also tried Eclipse, but I
> have since started looking at
Today I upgraded from 1.1 RC1 to a Nightly build - thought I'd share the
experience.
http://tinyurl.com/87xa
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'll up you on that and raise you 1200 milliseconds.
Brandon Goodin
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:46 PM
To: Struts Users Mailing List
Subject: RE: [OT] Keeping a Session Alive
On Wed, 2003-03-26 at 15:29, Bueno C
On Wed, 2003-03-26 at 15:29, Bueno Carlos M wrote:
> Up your timeout setting.
No, up yours ;)
--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org
P.S. That was a joke.
-
To unsubscribe, e-mail:
Up your timeout setting.
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 2:41 PM
To: '[EMAIL PROTECTED]'
Subject: [OT] Keeping a Session Alive
Hi All,
This might be more suited to the Tomcat-Users list. I just know that there
are a bun
would be nice if any one give me an example how to do it. Pls
in format like as:
1. Action class:
// set the list
...
ArrayList theList = getTheList(); // get list of beans
...
myForm.setTheList(theList);
...
// get (read from JSP / Form) the list
???
...
2. MyForm class
...
private ArrayList
Just use a regular and bean:write our c:out to populate it.
HTH,
Matt
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: [Q] how specify wrap=OFF for ?
>
>
> Hello,
>
> Subj. Pls
>
>
You can't because that attribute is not part of the HTML 4.01 standard.
David
From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Q] how specify wrap=OFF for ?
Date: Wed, 26 Mar 2003 15:08:39 -0500
Hello,
Subj. Pls
textarea
Best R
ActionForms can store and post arrays of data. If you did it that way, each
row would have a subscript in your action for processing.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 1:12 PM
To: [EMAIL PROTECTED]
Subject: RE: [Q] how to ed
Hello,
Subj. Pls
textarea
Best Regards.
Michael.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
This might be more suited to the Tomcat-Users list. I just know that there
are a bunch of experts on this list, so I thought I would try here first
:-)
I have a situation where I load another web application (on another server /
Tomcat) into an IFRAME on one of my JSP's. Both Tomcat
> Hello All,
> I am getting following error while invoking
> http://localhost/struts-validator/index.jsp:
> Root cause:
> java.lang.ExceptionInInitializerError: java.lang.NullPointerException
> at
> org.apache.struts.util.MessageResources.getMessageResources(MessageResourc
> es.java:577)
>
On Wed, 26 Mar 2003, Greg Dunn wrote:
> Date: Wed, 26 Mar 2003 12:37:14 -0600
> From: Greg Dunn <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: Formatting dates in
>
> The
> The README.txt file in the contrib/struts-el folder explains what JSTL tags to use
> in place of the "missing" Struts tags.
>
> But I'm not sure why and were implemented
> in Struts-EL.
>
> What can you do with those tags that you cannot do with JSTL?
>
> How does using logic-el:present/no
Netbeans 3.4.1 does a decent job of that, I have also tried Eclipse, but I
have since started looking at Intellij.
I am afraid to say that does the best job of any that I have seen with
struts and standard JSP and Java.
"Tim Stadinski" <[EMAIL PROTECTED]> on 03/26/2003 12:31:06 PM
Please r
Yes
Sri
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:31 PM
To: Struts Users Mailing List
Subject: RE: question about ActionForm parameter of Action.execute() metho d
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Kevin wrote:
> > C
The JSTL is great for display only.
IMHO there should be a way to format a date, or round a float to 2 decimal
places etc. built into the html:form tags to work with the property you've
got. It would defeat i18n but if you need a certain format, you aren't
using it anyhow. It seems there are ma
Does anyone recommend a jsp editor that will do tag inspection for the strut taglibs?
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Kevin wrote:
> > Can the ActionForm parameter of the Action.execute method be
> > null? Under what circumstances will it be null and when will
> > it be not-null?
>
> If there is no form bean associated with the action in
> struts-config.xml,
> then t
Well then, the only thing I can think of is that the values returned by
getPromptValues do not match any of the values returned by getComboValues().
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:02 PM
To: Struts Users Mailing L
John wrote:
> I'm forced to live with a db where many columns are chars intstead of
varchars
> ...
> Any suggestions?
How is the data getting from the database into the form? Is there a DAO
layer? Speaking from my own project, I would either do this in the DAO, or
else (and I don't know how to d
You should trim the spaces in an Action before populating the form fields.
David
From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: trimming fields in bean and html tags
Date: Wed, 26 Mar 2003 12:18:18 -0600
Hi all,
I'm forced to li
Hi,
Yep, got getPromptValues(), and yep, I call action to populate form before
forwarding on success to page.
Cheers,
David
"Sri Sankaran" <[EMAIL PROTECTED]> on 03/26/2003 12:53:15 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:"Struts Users Mailing Li
Hey any one can tell me when I can down Ant tool for iplanet webserver 6.0
And what modification have to be done after to get it work..
Regards,
P.RAMESHKUMAR,
-Original Message-
From: Edgar Dollin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 11:40 PM
To: '[EMAIL PROTECTE
Kevin wrote:
> Can the ActionForm parameter of the Action.execute method be
> null? Under what circumstances will it be null and when will
> it be not-null?
If there is no form bean associated with the action in struts-config.xml,
then the ActionForm parameter will be null.
> Is this described a
Hi all,
I'm forced to live with a db where many columns are chars instead of
varchars. In cases where the contents of the char column doesn't fill the
space allowed, I get my result padded with spaces. The practical problem
that this introduces is that if I want to use the validator to enforce
If you just want to display, the tag has some date formatting
options.
For entry the 'best' current solution is to subclass the TextTag class and
do your processing there. The strategy I have been using in such a tag is
to use a 'hidden' field with your actual form data and javascript to do the
The property attribute for the is "promptValues" but the property in
your form bean is "_promptValues". Hopefully you have getPromptValues().
Assuming all that is ok, how are you populating the values. Is the form-bean being
created before the page is loaded?
Sri
-Original Message-
Can the ActionForm parameter of the Action.execute method be
null? Under what circumstances will it be null and when will
it be not-null?
Is this described anywhere?
In the struts-example source, some of the actions check the
form parameter and will instantiate (and put it into scope) if
it is n
On Wed, 26 Mar 2003, Timo Nentwig wrote:
> Date: Wed, 26 Mar 2003 18:39:28 +0100
> From: Timo Nentwig <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: struts: JSP expression not evaluated
>
> Craig R.
On Wed, 2003-03-26 at 12:29, [EMAIL PROTECTED] wrote:
>
> Or with out JSTL..
>
>
> /Delete.do?id=
>
>
> Delete
>
> I use this all the time. Works well when done in moderation :-)
>
Yes, but that only works if your using the ROOT context.
You'll need to use html:rewrite or something si
I purchased strecl. It is a good tool for some things (i.e. DAO stuff). The
other tools are immature and I don't use them. Also, the DAO tool requires
that you always edit the code with the wizard. If you hand code your DAO you
will break the wizards ability to update the classes. I have switched
p
Craig R. McClanahan wrote:
> Using a JSP expression to set an attribute value requires you to
> create
> the *entire* value, not just part of it, with the expression.
>
>
Why?!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Jacob Hookom wrote:
> No, you will need to use single quotes for it to work properly. You
Already tried this, same issue.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If I understand you want to hava a GUI MVC based
You can try using WebWork for accomplishing this work.
Hi,
How to handle missing jsp pages so one does not get errors? Not all
these elements have ignore attributes, so how to handle them? Some of
these are in defs.xml and some are in the regular jsp files.
1. on the putlist listed under
2. on the putlist added via
My problem is if these we
Check out java.sun.com/products/jndi/
Mark
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 10:39 AM
To: Struts Users Mailing List
Subject: [OT] JNDI resource OUTSIDE of container
I have a need to make quick-and-dirty "utility" programs that
Or with out JSTL..
/Delete.do?id=
Delete
I use this all the time. Works well when done in moderation :-)
Wendy Smoak <[EMAIL PROTECTED]> on 03/24/2003 11:34:33 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:'Struts Users Mailing List' <[EMAIL
On related it is common to share the beans, via Soap or as JAR.
Once you have a working Struts app, and working/tested beans, it is easy
to make a Soap front end GUI (via Soap, or VB front end) or just include
your bean jar in you Swing, assuming POJO.
And there are SOAP MVC projects arround
> I need to have something like this
> property="id"/>">Delete
Use JSTL instead?
">Delete
Or something like that. It's late and I don't have the code here at home to
copy/paste from.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
Using a JSP expression to set an attribute value requires you to create
the *entire* value, not just part of it, with the expression.
Craig
On Wed, 26 Mar 2003, Timo Nentwig wrote:
> Date: Wed, 26 Mar 2003 08:21:25 +0100
> From: Timo Nentwig <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mail
What I was told was that if you think about the layout file as a method
being called
from the tiles definition, you are sort of calling a sub-method when
you try to get to
another file from inside the layout file, and when you call another
method, if you
want that method to be able to access a vari
Okay, here's the code (thought I could get away with just another qu, but
was looking at the wrong code!!).
in my form bean:
String[] _promptValues = new String[0];
in my jsp:
Obviously have appropriate get/setters for promptValues.
ah.. er not that i know of
"Greg Dunn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That's what I'm doing, but I was wondering if there was a better way.
>
> Greg
>
>
>
> -Original Message-
> From: Jamesey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 10:53 AM
That's what I'm doing, but I was wondering if there was a better way.
Greg
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Formatting dates in
How about using SimpleDateFormat in the bean.. then yo
If I understand you right you think about using Struts controller for your
swing application, or, perhaps, share controller functionality between
swing and web applications.
Struts is not useful for such purpose – it 100% coupled to web, Servlet
technology and HTTP.
You can consider using s
How about using SimpleDateFormat in the bean.. then you can apply your own
date format..
"Greg Dunn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to display a date in a particular format in an
> box. I'm filling my form bean from my DAO which returns a timestamp, and
I'm trying to display a date in a particular format in an
box. I'm filling my form bean from my DAO which returns a timestamp, and
displays the long date/time format 'Tue Mar 26 10:45:59 CST 2003' which is
no good.
I was looking at a discussion on this topic in the archives, but it appears
th
For those who are interested, last night Chuck Cavaness gave an
excellent presentation on the newest features of Struts 1.1.
I've put the Struts presentation material online for download here:
http://sourceforge.net/project/showfiles.php?group_id=49385&release_id=148948
The only thing missing is
I have to implement the following JSP page:
Id Name Select
1Toto [ ]
2Tata [*]
3Tata [ ]
<> <> <> <>
The JSP page is composed of a table and multiple commands. One of
the column is
Here's the first few lines of the root cause of the exception I'm getting:
root cause
javax.servlet.ServletException: Error - Tag Insert : No value defined for bean 'admin'
with property 'null' in scope 'request'.
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCont
1 - 100 of 168 matches
Mail list logo