Did you include the
struts-legacy.jar found in struts 1.1 Final?
Barry
- Original Message -
From: Scott McClure [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 3:29 PM
Subject: Status of the GenericDataSource
I am trying to connect to a Postgresql database
I'm not a struts guru but I can tell you I have coded
in php and only did simple validation with alot of trouble.
Now I use struts validation and get expert validation with
no trouble at all!
Barry
- Original Message -
From: Jerome Sevrin [EMAIL PROTECTED]
To: Struts Users Mailing List
I am using the Sysdeo plugin with no problems. The great thing
about it is if you require a Tomcat upgrade it is a painless transition.
As for Netbeans you are at the mercy of the version of Tomcat that
happens to be in the current release.
Barry
- Original Message -
From: Navneet
Only Last row is available in my ArrayList?
Have the following:
ArrayList teachers = new ArrayList();
DynaActionForm teacherForm = (DynaActionForm)form;
while ( rs.next() ) {
System.out.println(firstname.rs: + rs.getString(firstname));
System.out.println(lastname.rs: +
);
request.setAttribute (teachers, teacherList.toArray());
Cheers Mark
On Monday, November 3, 2003, at 07:35 PM, Barry Volpe wrote:
Only Last row is available in my ArrayList?
Have the following:
ArrayList teachers = new ArrayList();
DynaActionForm teacherForm = (DynaActionForm)form;
while
Okay I create a form to collect information
and store it in a database.
form-bean name=cityForm
type=org.apache.struts.validator.DynaValidatorForm
form-property
name=type
type=java.lang.String
initial=/
form-property
name=state
type=java.lang.String
Question answered. Found a good example in
Mastering Jakarta Struts.
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:39 PM
Subject: Using a form for a view
Okay I create a form to collect
I have a form and an action that queries the
city when the state is provided.
Now once I have the state and city I want to
call another action that displays information
associated with that state and city. I am
going to have multiple views that require the
same state and city so I wanted to
Like the following?
action path=/ViewCity
type=com.childrencare.CityAction
name=cityForm
scope=request
input=/citypage.jsp
validate=false
set-property property=loginRequired value=false/
forward name=myView path=/View.do/
forward name=error
I go directly to the welcome page this way:
struts-config:
action path=/Logoff
type=com.childrencare.LogoffAction
forward
name=success
path=/index.jsp/
/action
In action:
public final class LogoffAction extends Action {
public ActionForward execute(ActionMapping mapping,
Hi,
I have the following:
request.setAttribute(mapping.getAttribute(), eForm);
in one action. Now I forward this to
another action and want to retrieve the eForm request
parameters.
How do I do this in the forwarded action?
I keep getting null.
Thanks,
Barry
I am able to initialize a standard html hidden tag in a struts tag.
html-el:form action=myaction
input type=hidden name=type value=type1
/html-el:form
Was wondering if all standard html tags can be used in struts html form tags?
I am using a request parameter
myrequest.jsp?type=type1
to do
Subject: Re: input type=hidden works with struts tags?
How about this?
input type=hidden name=type value=c:out value=${param.type} /
I'm still new to JSTL, Struts and all... so if I'm wrong, please
correct...
Yong-Tze
Barry Volpe wrote:
I am able to initialize a standard html hidden
Hi,
In my example
type=ViewResults
and the following line will work
(I could not get it to work with a c:out or a bean:write):
html-el:form action=/${param.type}
${param.type} is translated into /ViewResults and that's okay.
Not complaining since I can directly put the JSTL in the
: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 2:45 PM
To: Struts Users Mailing List
Subject: html-el:form action=${param.type}
Hi,
In my example
type=ViewResults
and the following line will work
(I could not get it to work with a c:out
, I wonder if you're using Resin.
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 12:48 PM
To: Struts Users Mailing List
Subject: Re: html-el:form action=${param.type}
The error I get is
cannot retrieve mapping for action
)'
- Original Message -
From: Greg Dunn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:17 PM
Subject: RE: html-el:form action=${param.type}
Try
html-el:form action=${'/View' + param.type}
Greg
-Original Message-
From: Barry Volpe
Tomcat 4.
Thanks,
Barry
- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:32 PM
Subject: RE: html-el:form action=${param.type}
Tomcat 4 or 5?
-Original Message-
From: Barry Volpe
PROTECTED]
Sent: Thursday, October 23, 2003 1:39 PM
Subject: RE: html-el:form action=${param.type}
Do you only have one form tag on the page?
Have you walked through the ELFormTag execution in your debugger?
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent
Go figure!
It's working now!
I restarted my Tomcat container and it works.
Had restarted it before and it did not make a difference.
Thanks for all the help!
Barry
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent
an extra String object here:
//Create list (in a loop)
cityList.add(new String(rs.getString(city)));
instead, just use
cityList.add(rs.getString(city));
-Richard
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:39 PM
}
c:out value=${blah}/
/c:forEach
-Tim
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 1:14 PM
To: Struts Users Mailing List
Subject: DynaForms and java.util.ArrayList
When I define this in my struts-config:
form-property
Here is a portion of the following link:
If need be, you can extend the DynaActionForm to add custom validate and
reset methods you might need.
Simply specify your subclass in the struts-config instead. However, you
cannot mix conventional properties and
DynaProperties. A conventional getter or
Sorry after reading further It looks like
you have defined correctly in your struts-config.
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 3:37 PM
Subject: Re: DynaValidatorForm ArrayList problem
When I define this in my struts-config:
form-property
name=city
type=java.util.ArrayList
initial=/
I get this error:
[ServletException in:/tiles/locationselection.jsp]
Exception creating bean of class org.apache.struts.validator.DynaValidatorForm: {1}'
Can I access city
and java.util.ArrayList
Remove initial=
Then in your jsp do:
c:forEach var=blah items=${myFormBean.map.city}
c:out value=${blah}/
/c:forEach
-Tim
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 1:14 PM
To: Struts Users Mailing List
Subject
Do you have the struts-legacy.jar in your WEB-INF/lib directory?
- Original Message -
From: Paul Idusogie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:44 AM
Subject: Please Please Help! -- DataSource Error
I have the following setup within my
They way I got it working was including
the
struts-legacy.jar
commons-dbcp.jar
commons-pool.jar
and it works.
Barry
- Original Message -
From: Rajat Pandit [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 11:07 AM
the struts legacy package?
Sincerely,
Paul Idusogie
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 1:13 PM
To: Struts Users Mailing List
Subject: Re: Please Please Help! -- DataSource Error
They way I got it working was including
to
retrieving database data without using ejbs.?
Sincerely,
Paul Idusogie
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 1:20 PM
To: Struts Users Mailing List
Subject: Re: Please Please Help! -- DataSource Error
In the struts
Hi,
I would like to make a selection from a drop down menu
and call an action without using a submit button. The action
is called by a change in the menu selection.
Any suggestions?
Thanks,
Barry
... onchange=submit()
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 3:33 PM
To: Struts Users Mailing List
Subject: Drop down selection without submit?
Hi,
I would like to make a selection from a drop down menu
and call an action without
?
I've populated the option list. But I want one of the
options marked as selected, how could I do that?
Thanks,
Katelyn
--- Nicholson, Robb
[EMAIL PROTECTED] wrote:
html:select ... onchange=submit()
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent
oops!
like this:
eForm.setCountry(US);
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, October 20, 2003 1:47 PM
Subject: Re: Drop down selection without submit?
I think you do something like this in your action
I've seen some freaky shht but that's freaky!!
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 9:02 AM
Subject: RE: [FRIDAY] Free Dog.
oh man! that's cold! ru related to Andrew?
Hi,
Want to expose a message in my action:
In my action I have:
throw new Exception(I have an error);
want to use message resource:
message.error=I have an error (in applcation.properties)
throw new Exception(message.error); (I know this doesn't work directly)
Not sure how to set this
= getResources(request);
String msg = resources.getMessage(message.error);
throw new Exception(msg);
Quoting Barry Volpe [EMAIL PROTECTED]:
Hi,
Want to expose a message in my action:
In my action I have:
throw new Exception(I have an error);
want to use message resource
Hi,
Want to replace:
bean:message key=view.title /
with
fmt:message key=view.title /
I put:
%@ taglib uri=http://java.sun.com/jstl/fmt; prefix=fmt %
in my jsp.
All I get is
???view.title???
What am I missing?
Thanks,
Barry
That worked
Thanks Wendy,
Barry
- Original Message -
From: Wendy Smoak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 2:51 PM
Subject: RE: Using fmt:message with struts
Barry Volpe wrote:
Want to replace:
bean:message key=view.title
Haven't used them but here are some products:
Not free
http://www.fwasi.com/
free?
http://www.jahia.org/jahia/Jahia/cache/offonce/pid/234
Barry
- Original Message -
From: Rong Yu [EMAIL PROTECTED]
To: Struts-Jakarta [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 12:07 PM
Subject:
**Use the struts-validator.war example
in the struts 1.1 release to learn more.**
make sure you have this in your jsp:
html:errors /
This is where the validation error gets outputted.
You should have this in your struts-config at the bottom where plug-ins go.
!--
Add multiple validator
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 3:16 PM
Subject: Re: display struts tag in Deamveaver design view
Haven't used them but here are some products:
Not free
http
I only have experience using the following in my validator.xml:
field property=distance
depends=required,integer
arg0 key=form.displayname/
/field
field property=rate
depends=required,float
arg0 key=form.displayname/
/field
integer and float are in the
In your Action:
If using DynaValidatorForm:
DynaValidatorForm eForm = (DynaValidatorForm)form;
eForm.set(radioButtonName,radioButtonValue));
now foward to your form and the radio button will be selected.
If using a Form:
nameOfForm eForm = new nameOfForm();
It is defined in the Action in the struts-config.
If you want a more detailed answer past the config code
in your post.
Barry
- Original Message -
From: Julien Martin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 9:10 AM
Subject:
The list does have an abundance of valuable information.
Am I correct in saying that the list only archives about
a weeks worth of posts? It would be great if the list
had a way of cataloging the information. I find that
a topic could be discussed for two days and then go away.
The next day
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 17:23
To: Struts Users Mailing List
Subject: Re: IMPORTANT: how to tell
The list does have an abundance of valuable information.
Am I correct in saying that the list only archives about
a weeks worth
Julien,
What I see is that the /logoff is fowarded to the index.jsp.
not the logon.jsp. I'm guessing that you have disabled the
foward and expect the index.jsp to not be displayed?
I'm not saying that this will solve your problem but once
in awhile you might want to clear out your browser
;-)
http://jakarta.apache.org/struts/resources/archives.html
Steve
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: October 15, 2003 9:23 AM
To: Struts Users Mailing List
Subject: Re: IMPORTANT: how to tell
The list does have an abundance of valuable
Eclipse, Tomcat, JBoss, Xdoclet all open and free.
Works for me..
Barry
- Original Message -
From: Voinea, Marina [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 2:19 PM
Subject: RE: IDE
But that's expensive : 2000 $ (or else,
Have not looked at the struts-example in awhile but
here is the entry for the web.xml file:
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
Barry
- Original Message -
From: Timothy Stewart [EMAIL PROTECTED]
To: [EMAIL
You an ActionForm or a DynaActionForm
Barry
- Original Message -
From: Mariano García [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 9:18 AM
Subject: ActionForm
Hi all,
I have a jsp page with a form, so I want to fill dinamically
I'm actually in the same boat. I began with the internet in
Perl/CGI, PHP. I realized the new and improved
JSP/Servlet/J2EE is the way to go. I have looked at
jobs and many of the J2EE are senior level (at least this
is what the job requirement is). So I decided to learn
STRUTS which was a
This creates a menu of 1 - 10
/html-el:select
html-el:option value=yearyear/html-el:option
c:forEach begin=1 end=10 varStatus=status
html-el:option value=${status.count}
c:out value=${status.count} /
/html-el:option
/c:forEach
/html-el:select
This creates a menu of 1 - 10
/html-el:select
html-el:option value=yearyear/html-el:option
c:forEach begin=1 end=10 varStatus=status
html-el:option value=${status.count}
c:out value=${status.count} /
/html-el:option
/c:forEach
/html-el:select
}
Quoting Barry Volpe [EMAIL PROTECTED]:
This creates a menu of 1 - 10
/html-el:select
html-el:option value=yearyear/html-el:option
c:forEach begin=1 end=10 varStatus=status
html-el:option value=${status.count}
c:out value=${status.count
the move to EJB, you only have to change the Business
Delegates, not any of your other code.
Wiebe
http://frontierj.blogspot.com
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 11:29 AM
To: Struts Users Mailing List
Subject: Re: JBoss
I
I have the following fowarding jsp's
myjsp.jsp?type=type1
myjsp.jsp?type=type2
I'm not sure if this is valid but I would like to use a tag(bean tag?)
in my jsp to identify if type = type1 or type = type 2.
I wanted to use this information to set radio button default values.
One default when
In case your interested object relational bridge is covered in this book.
http://www.amazon.com/exec/obidos/tg/detail/-/1861007817/102-1389031-0729721?vi=advice
- Original Message -
From: Sasha Borodin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday,
This book comes out in December...
http://www.amazon.com/exec/obidos/search-handle-form/102-1389031-0729721
- Original Message -
From: Sasha Borodin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 03, 2003 12:09 PM
Subject: EJB's vs. Hibernate
This book comes on Object Relational Bridge comes out in December:
http://www.amazon.com/exec/obidos/tg/detail/-/1590592557/qid=1065209603/sr=1-2/ref=sr_1_2/102-1389031-0729721?v=glances=books
- Original Message -
From: Sasha Borodin [EMAIL PROTECTED]
To: Struts Users Mailing List
Hi,
I am trying to avoid duplicating the same form for the sake of two radio buttons.
I call (no actions) the following:
mypage.jsp?type=1;
or
mypage.jsp?type=2;
I can determine which parameter value is passed using:
bean:parameter id=idType
name=type
value=type not found/
bean:write
Hi,
I am trying to avoid duplicating the same form for the sake of two radio
buttons.
I call (no actions) the following:
mypage.jsp?type=1;
or
mypage.jsp?type=2;
I can determine which parameter value is passed using:
bean:parameter id=idType
name=type
value=type not found/
bean:write
Hi,
I am trying to avoid duplicating the same form for the sake of two radio
buttons.
I call (no actions) the following:
mypage.jsp?type=1;
or
mypage.jsp?type=2;
I can determine which parameter value is passed using:
bean:parameter id=idType
name=type
value=type not found/
Hi Wendy,
Thanks for responding. I have gotten closer to what I want to accomplish
but not quite.
To give you a little background. I have a menu with an action that has
multiple fowards
to simple select several jsp pages. That works fine. Two of the
selections use the
same form. So the
I have done some research at the book store and have not found any book only
covering
struts and Ejb's. I have found books that dedicate a chapter or two on the
subject.
This book uses the open source Object Relational bridge to connect to Ejb's
from a struts Action.
It has some interesting
For an action form I use:
MyForm eForm = (MyForm)form;
eForm.getEmail()
In my DynaValidatorForm:
form-bean name=myForm
type=org.apache.struts.validator.DynaValidatorForm
form-property
name=email
type=java.lang.String
initial=No/
How do I expose the
.
DynaValidatorForm dynaForm = (DynaValidatorForm) form;
String email = (String) dynaForm.get(email);
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 14:08
To: Struts Users Mailing List
Subject: How to expose DynaValidator in Action?
For an action form I
form
So
String submittedEmail = (String) ((DynaActionForm) form).get
(email);
Should do it for you.
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 2:08 PM
To: Struts Users Mailing List
Subject: How to expose
The problem I ran into with this is if you are using the controllerClass you
are required to
implement Controller even though you are extending Action.
If you are extending Action or Tiles Action and not implementing Controller
then
I was required to use ControllerUrl. This required me to add an
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 3:41 PM
Subject: Re: Data Source issue in tiles controller execute()
TYPO:
This:
tiles:insert definition=.penguin.view flush=true /
should
I addition if you implement Controller you will
need to declare the (interface requirement) perform method.
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 11:32 AM
Subject: Re: Tiles
With an Action Form we do the following:
form = new UserForm();
form.setUserid(5);
What is the equivalent for a DynaValidatorForm?
Let's say my DynaValidatorForm is myForm
Of course this does not work (compiler does not know what myForm is.)
DynaValidatorForm dynaForm =
inside the action:
( ( DynaActionForm ) form ).set( Constants.USER_ID_KEY, 5);
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
Hi,
In the following (SEE CODE BELOW) when I attempt to inititialize
getDataSource(request) in the Tiles Controller execute method it
causes a null in the fowarding JSP which looks for the string TEST
initialized by this:
tilesContext.putAttribute(TEST , TEST);
If I remove the
not pass
the database results from the Action class to the Controller class.
Hope this helps anyone looking to use the tilesAction with database connectivity!
Barry
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday
TYPO:
This:
tiles:insert definition=.penguin.view flush=true /
should be (correct name of definition):
tiles:insert definition=.sample.view flush=true /
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September
Hello,
Trying to upgrade from struts 1.1Final to nightly build. I'm getting the following
error for
html:form action=Login.do
name=loginForm
type=com.childrencare.LoginForm
Attribute name invalid according to the specified TLD
If I remove the name and type tags form appears to work.
Did further investigating and it looks like
name and type are no longer used when defining a Form tag.
Makes sense since they are already defined in struts-config.
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday
Hi,
In the following:
I declare myString outside of the execute and perform methods
I Initialize myString to TEST; in execute() and check the value of
myString in perform() method and it is not initialized to TEST.
Why?
What is missing???
HERE IS THE CODE:
public class
Hi,
docs say not to use the depracated perform(). Use execute() instead.
I require execute() because perform() does not handle SQL exception.
I get a compile error class LoadUserCategoriesController must use abstract interface
perform().
HERE IS THE CODE:
REQUIRE THIS (get an error that
oops typo below last execute() should be perform()
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:07 AM
Subject: Tiles implements Controller does not work with execute()
Hi,
docs say
I did try the struts.jar from the lastest nightly build 20030919.zip
Is this 1.2? It looks like the implements Controller abstract interface
for execute is not being recognized?
Barry
- Original Message -
From: Yann Cébron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday,
If execute is used. The compiler wants the peform() method.
If perform is used. The compiler wants the execute()
method.??
Barry
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 19, 2003
Hi Yann,
Thanks for your input. I'm sorry... when you say current are you talking
about Relase1.1Final
or the nightly build (was trying to avoid that need to make some additional
other changes to compile)?
I was able to get rid of the compile errors in Release 1.1Final extending
Trying to implement example from:
http://www.theserverside.com/resources/articles/Tiles101/article.html
Getting the following error:
** Exception in:/tiles/penguinview.jsp] null **
Basically trying to put a hashtable in request and tiles context cannot display in
cool but a few thousand dollars!
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:15 PM
Subject: RE: [OT] M7 Development tool
Thanks :-)
snip
M7 lets you develop web applications in
Use the form bean in your action something like this:
public ActionForward execute(ActionMapping mapping,
ActionForm form, HttpServletRequest request,HttpServletResponse response)
throws IOException, ServletException {
RegForm form = null;
form = new RegForm();
//The following is an
Let's say I have several groups of links grouped as tiles.
The displayed links will be dynamic based on the current
state of the database.
I have read what may be a possible solution: Tiles Controller feature
here is an article:
http://www.theserverside.com/resources/article.jsp?l=Tiles101
Hi,
I have setup a DynaActionForm and wish to perform validation.
How is this done when I do not have an ActionForm which requires
extending org.apache.struts.validator.ValidatorActionForm
Thanks,
Barry
For J2ee developing I am investingating
MyEclipse ($30.00) per year. It uses XDoclet
for rapid development.
Barry
- Original Message -
From: Bill Chmura [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 6:50 PM
Subject: RE: J2EE IDE
I agree for next to nothing ($30.00 per year) you can
develop in J2EE with Xdoclet (rapid dev)
and use an app server like JBoss (free).
Barry
- Original Message -
From: Riaan Oberholzer [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003
$30.00 because www.genuitec.com does not provide the plugin
stand-alone anymore. It is now part of the MyEclipse plugin which
is only available in a free 30 day trial offer.
Barry
- Original Message -
From: Barry Volpe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED
This error does not occur in Tomcat 4.1 (struts 1.1 Final).
Resin works fine using the struts.jar from struts 1.1b2
When upgrading to struts 1.1 Final the following error occurs
in Resin:
500 Servlet Exception
javax.servlet.jsp.JspException: Can't get definitions factory from context.
at
Resin does not work with Struts 1.1 Final
Question by Barry on Fri, 08 Aug 2003 14:05:26 -0700 (PDT) [ edit | delete ]
When upgrading to Struts RC2 or 1.1 Final the following error occurs: (further
description of problem below)
500 Servlet Exception
problem, but the value attribute
of html-el:option should be ${status.count} and not c:out
That's the whole point of the library :) .
What web container are you using?
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
I get the same problem:
Attribute
I get the same problem:
Attribute ${status.count} has no value
Barry
- Original Message -
From: Steve Raeburn [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 1:31 PM
Subject: RE: JSTL in html-el:option
You need to use varStatus to get
Tiles can function stand alone from struts but is incorporated in struts
1.1.
Here is the website of the originator of tiles. Part way down the page are
some example tiles war files that I found helpful.
http://www.lifl.fr/~dumoulin/tiles/
Barry
- Original Message -
From: Terry Brick
Hi,
Looking for an IDE that if it does not already have Tomcat 4.1
I can upgrade with little trouble. Although I have used Tomcat
stand alone I have little experience with it in an IDE.
Thanks,
Barry
: [OT] IDE with easy tomcat upgrade?
Eclipse 2.1
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 4:18 PM
To: Struts Users Mailing List
Subject: [OT] IDE with easy tomcat upgrade?
Hi,
Looking for an IDE that if it does not already
1 - 100 of 121 matches
Mail list logo