Hey James,
Why not nest your form beans inside another, main form bean? Then you could
access them using dot notation mainBean.thatBean.thisProperty,
mainBean.someOtherBean.thatOtherProperty, etc.
Regards,
David
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Tu
Tim,
Why not use a TilesAction (org.apache.struts.tiles.action package) and
change/set tiles attributes using the putAttribute() method of the
ComponentContext object. For more details, see the advances tiles PDF.
-David
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
that
would handle the
default behaviour that I want the pages to have, and other actions would
have to override
this. If I did this, is there an appropriate method to do this default
behaviour that
happens before the execute method?
Tim
> -----Original Message-
> From: David Friedman [mai
Kevin,
How is the "page" a hidden variable in your jsp?
Do you use (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 each
screen), I recommend y
Kendell,
Have you turned on Javascript debugging (if it is available) in your Mac IE
to see if it has any issues with the Javascript itself?
Regards,
David
-Original Message-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:27 PM
To: [EMAIL PROTECTED]
Subject: R
Next vote: Hibernate! (www.hibernate.org)
Regards,
David
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 1:49 PM
To: 'Struts Users Mailing List'
Subject: RE: Best way to connect to Database in struts
Use iBATIS SqlMaps and Dao framework.
Now, now IMO Hibernate +1. :)
-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 4:47 AM
To: Struts Users Mailing List
Subject: RE: is OJB a good choice for Modeling ?
IMO, ibatis +1
>-Original Message-
>From: Zaid [mailto:[EMAIL PROTE
> I know that this question is out of struts, however,
> I like to you guys, as u might have good experience.
>
> I downloaded hibernate-2.1, and in the installation it
> says that there is a file called hibernate2.ja, however
> I cant find this file. any advise ?
First, it is usually in the main
Why not use two different put (or add) statements with a 'role=""'
attribute? One for a role logged in, one for all other roles (might need
blank quotes "" to make that work). If course, if you're not using
container based authentication (JAAS), this probably won't work for you.
Does that fit yo
A black whole? There are good examples in the
tiles advanced features pdf listed linked
to from the Struts site under the tiles tag
developer guide (bottom of the page):
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
I didn't mention it because you described wanting a file-based co
If it is only "logged in" versus "not logged in",
why not use this simple 2-step process:
1. Set the tiles:put, tiles:add, etc. in your tiles xml
file to be the "not logged in" page.
2. In your action, subclass the TilesAction
(class org.apache.struts.tiles.actions.TilesAction)
and, in it's exec
The form should have an onSubmit setting to
invoke that javascript function. Have you
assured that the web page you see in the
browser:
a) has the onsubmit listing your validation form function
b) has the require() javascript function
c) has the form named javascript function
d) isn't showing any
Sangeetha,
Your error suggests a redirect is
occurring, not a forward. A tile
cannot be seen from the web, only
from inside the struts framework,
hence that error messager.
I recommend you replace the contents
of your welcome file with code to
pull in and insert the tile, which
goes something
It's not very process intensive if you are using
a connection pool where it just hands you an
already-open connection. Hibernate can use a
few different connection pools including JCS,
C3P0, OSCache, etc.
Regards,
David
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Se
I just posted about this a few days ago...
You should read section 4.1.1 of the
Tiles Advanced Features (link at bottom
of the page of the struts site, section
on the Tiles User Guide) which gives
examples like so:
<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
I do something like
Navjot,
One validates based upon the action mapping so you can make /update.do and
/create.do use the same Action class but have different validation rules.
The other is based on the form itself so any Actions using that form would
have the exact same validation methods.
Regards,
David
-Orig
Matt,
Yes, I had the syntax wrong:
<%@ taglib uri="struts-tiles" prefix="tiles" %>
You can also override pieces using "tiles:put" statements
in your JSP. This works (just tested it on Struts v1.1 + Tomcat).
I found the correct syntax in the User and Developer Guides -> "Tiles
Tags" -> "Tiles
I think Ram means add a 'value="Last Post Date"' or other text key to match.
I also suppose that using Struts-EL (Expression Language), you could pull
that value from a bean so you could change the value on the fly or based
upon some other data. Not that I use Struts-EL.
Regards,
David
-Orig
Do you have the tiles plugin setup properly in your
struts-config.xml file? Or, if you are using a version
earlier than V1.1, did you change the controller to a
Tiles controller?
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004
ot;/" Character
I have successfully displayed many JSPs using tiles in
my application. This path=".thread.Form" is the only
one gives me this problem. Therefore, I think the
tiles plugin is set up properly in my
struts-config.xml.
Regards,
Caroline
--- David Friedman <[EMAIL
Then, in my struts-config.xml, I have:
and
.thread.Form is a tile.
Regards,
Caroline
--- David Friedman <[EMAIL PROTECTED]> wrote:
> How are you trying to execute the forward
> in your action?
>
> -David
>
> -Original Message-
>
I don't see your closing backslash greater than, />, to end the tag such as:
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 1:09 AM
To: [EMAIL PROTECTED]
Subject: html:img Tag Problem
In my JSP, I have a html:img tag:
and
.
Regards,
Caroline
--- David Friedman <[EMAIL PROTECTED]> wrote:
> I wasn't actually asking for the JSP.
> I was saying that Struts can complain
> about slashes being missing if Tiles
> isn't configured or is invoked properly.
> I've seen something like your message
&
Martin,
The tile was defined in her included data with dot notation
not slashes. I use dot notation myself so I know she's not
crazy. Why did you suggest using slashes in the forward
path when she has a tile defined with dots/periods?
Regards,
David
-Original Message-
From: Martin Gaint
Caroline,
You could always reference the API to check
your method name and parameters. The
Commons BeanUtils API can be found here:
http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils
/BeanUtils.html
The api states the method and parameter are:
---
s
Pow2ACL http://pow2acl.sourceforge.net/index.html
might fit your JAAS high-end needs. It also integrates
with Struts.
Regards,
David
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 9:02 AM
To: 'Struts Users Mailing List'
Subject: Specifyin
Why are you doing a tiles:getAsString inside the tiles:put in your JSP? I
use it as a normal tag, not within a tiles:put block. Just my $.02 worth.
Regards,
David
-Original Message-
From: Thiago Souza [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 1:40 PM
To: [EMAIL PROTECTED]
SSLExt: http://sslext.sourceforge.net
-Original Message-
From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 2:33 AM
To: 'Struts Users Mailing List'
Subject: Sharing session beetwen HTTP and HTTPS
Hi all,
We are triying to switch application state from HT
+1 ---> I use xdoclet w/Struts/DisplayTag/Hibernate inside Eclipse v2.1.3
-David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 4:42 AM
To: [EMAIL PROTECTED]
Subject: Re: generators for struts
Check
http://xdoclet.sourceforge.net/x
>From a database? Pow2ACL.
http://pow2acl.sourceforge.net
-Original Message-
From: javen fang [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 9:41 PM
To: Struts Users Mailing List
Subject: Re: How to implements Role Based Access Control in Struts ?
Thank you, bill.
I have seen
I have two favorites
a) The JBoss IDE PlugIn for it's XDoclet support of Struts
b) The Sysdeo Tomcat plug-In to control Tomcat
Occasionally, I'll use
c) "Hibernate Synchronizer"
d) "Hibernator"
e) the http://www.pnehrer.com/ "RSS" module
f) the Brosinski regex tester
http://brosinski.com/stephan/
Use the JK2 connector:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/
I've done it. The connector is available for download
on the standard Tomcat download are:
http://jakarta.apache.org/site/binindex.cgi
Under the title "Tomcat Connectors" you'll find JK 1.2 and 2 connectors for
various p
Indra,
I believe you want the latest verion of Hibernate which has some Metadata
available which should have the column names. I've never used it so you
might want to check out the hibernate forums on hibernate.org.
Regards,
David
-Original Message-
From: Indra Gunawan [mailto:[EMAIL PR
RE: Looking for Multiple file upload at once examplePaul,
I'm cc'ing the list so other can learn about this.
The problem is (unless it has been solved and I haven't heard about it) with
the commons file uploads cannot upload multiple files as the very same form
field name. Your velocity template
The
"Robert Priest" example from the above link is a better explanation than my
writing it down.
Regards,
David
-Original Message-
From: Perliti Scorzoni Paolo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:08 AM
To: David Friedman
Subject: R: Looking for Multip
Use Eclipse's CVS integration and do
your java/jsp/struts in that under CVS
control!
Regards
David
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 12:54 PM
To: Struts Users Mailing List
Subject: Re: [OT] Cvs windows
Tourtoise seems to dig cvsnt
Shailender,
You wrote your tables have over 10 Million records but the big question is,
how many records is your query ACTUALLY RETURNing to you? I ask this because
some types of Hibernate Queries iterate through records while other types
load all records (that the database returned as you query
Geeta,
I read Ricardo's message differently in that the new login would come from
another machine, so the session wouldn't be shared and invalidated as you
wrote below. ough, technically, it (the session) could be shared across
computers if cookies were turned off and they had the same jsessionid
Ricardo,
I can't think of any easy way to do that strictly within JAAS, but you
didn't write if you were using JAAS.
If you are using an Account object (of some sort) in the Session context,
here is an idea for you:
Have an application-scope object containing a map of usernames (or id
numbers).
Shailender,
Should I ask if the file is taking so long due to bandwidth issues such as
trying to send it up over a 50kbps modem versus a cable modem, DSL, or other
speedy connection?
For the compression program I would recommend a zip variant since you can
find them as zip/unzip on Linux/Mac plat
Be careful if you use Hibernate with C3P0. If you're not using the latest
Hibernate, the C3P0 connection pools may never be closed if you shut down
only your webapp (not your whole Application Server). In early Betas of
Hibernate v2.1.3 I had problems where my C3P0 pools weren't closing down
when
Marco,
I had the same problem and I think I've tracked down what I did (I didn't
document my solution properly) to fix it. Before I mention that, I would
like to point out that I recall an issue with the MySQL connection drivers
where autoCommit and autoReconnect wouldn't play together well and t
Are you talking about showing data in your JSP in an HTML table? Check out
the export to Excel functions of displaytag: www.displaytag.org. For a
specific example, the direct link is:
http://www.displaytag.org/example-export.jsp
Regards,
David
P.S. If you use tiles, read the work-around (header
I believe I've put two @struts.action declarations in one Java file for
XDoclet and it put two entries in my struts-config.xml file.
(Under eclipse/Xdoclet). If it helps, I updated the plug-in jars for the
latest stable version in the Eclipse XDoclet folders (they were a version or
two behind).
Sounds like you're including items from a regular (HTTP) and a secure
(HTTPS) site. I had that message once but I was inadvertantly loading
images from the HTTP site while the page was on the HTTPS site. What are
all of your URLS in the rendered page before you hit the submit button? And
what is
Well, why not use the pre-existing Jakarta Scrape taglib in your tile piece?
To substitute in specific urls, you could use a tilesAction to set the
included Tile which would probably require a hard-coded URL within each
specific tile. Or, if your server supports EL, you could probably just
insert
I used to turn on/off the logging for various modules (or everything) using
the commons logging. Check that out. I used SimpleLog and turned
everything off. Then, I used debug or info for the modules I'm interested
in.
http://jakarta.apache/org/commons/logging
I think I turned it all off in my
Funny, kids. I'm on Struts v1.1 with Jdk 1.4.2_04_B05. Though I think the
latest stable JDK is 1.4.2_05.
Regards,
David
-Original Message-
From: Yakov Belov [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 1:44 AM
To: Struts Users Mailing List
Subject: Re: jdk 1.4.x support
Mor
Koon,
You can use a TilesAction to modify a part of your tile to display the
appropriate HTML, JSP or tiles sub-page as well as fill in pieces such as
"username", shopping cart totals, etc., such as those that might be stored
in the user's session.
Regards,
David
-Original Message-
From:
Try skimming through the "Tiles Advanced Features by Cedric Dumoulin" listed
on the Strut site under this page:
http://struts.apache.org/userGuide/dev_tiles.html
The direct link to that PDF guide is:
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
Regards,
David
-Original Messag
See the Struts (in my V1.1 documentation) class
org.apache.struts.tiles.actions.ReloadDefinitionsAction. It looks like you
just set a path, put that as the class action, and Viola! tiles then reloads
automatically. Personally, I've never needed to reload my tiles.
Regards,
David
-Original M
Steven,
You should check the archives of this list. There were discussions in the last 3
weeks (or sooner) about it. I recall that thread covered uploading multiple files
using indexed field names, that you can only upload one file per upload tag (just not
supported in the Jakarta Commons Upl
Use a Bean:write with filter=false tag. Why did you
write "on" and "off"? Are you giving those as your
flags to the "filter" attribute?
Docs for "bean:write" read:
filter - If this attribute is set to true, the rendered property value will
be filtered for characters that are sensitive in HTML, an
Just pop it into the Quartz scheduler. I've read about it and remember
someone saying there was a Struts PlugIn for it. You could have it check
hourly or exactly 24 hours after a registration.
See: http://www.opensymphony.com/quartz
And, should you want a pre-made plugIn
http://demo.jgsulli
+1 for Struts In Action. I have it sitting on my desktop's case. :)
Regards,
David
-Original Message-
From: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:29 AM
To: 'Struts Users Mailing List'
Subject: RE: Learning the basics
Have you looked at "Strut
+1 Vic's on target when it comes to validating. This is an especially
useful tactic when using DispatchActions for CRUD (Create Read Update
Delete) actions.
Regards,
David
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic
Sent: Wednesday, August 25, 2004 9:49 PM
Eric,
You should do a search on the list. I remember reading, many months ago,
that this wasn't possible with the Commons FileUpload - you have to use
multiple file fields (one per file to upload), not select multiple files for
one file field.
Regards,
David
-Original Message-
From: Eri
Janne,
You could set everything dynamically in the tile using something like this
(don't quote me if you like it, just look it up!):
public class TestAction extends TilesAction {
public ActionForward execute(ComponentContext context,
ActionMapping mapping, ActionFo
Dear S.C.S,
You listed a struts-config.xml message resource as "Embragec" so it needs to
find a file "WEB-INF\classes\Embragec.properties" yet you didn't list that
file with sample contents. Instead, you seem to have listed "Embragec" as a
JDBC (container level) resource. I don't believe Struts
Jen,
What is the entry in your struts-config.xml for validation? Is there a
WEB-INF/validation.xml or WEB-INF/validations.xml?
Regards,
David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 2:16 PM
To: [EMAIL PROTECTED]
Subject: skippi
27;
Thanks for replying to my question.
The validation entry in my struts-config.xml looks
like:
Currently, I do not have either validator-rules.xml or
validation.xml file in the WEB-INF directory. Is it
the cause of that message that appears in the Tomcat
console?
--- David F
Are you sure the URL of the submit (when there are errors) isn't redirectly
somewhere? Have you verified that the url is still /login.do when an error
is submitted in your browser's URL location bar?
Regards,
David
-Original Message-
From: Saurabh Bhatla [mailto:[EMAIL PROTECTED]
Sent: M
Albert,
The has an "input" parameter which the validate="true" will go
to if any validation fails. That should be a JSP (/index.jsp), tile
(.some.Tile.Name), or action (/index).
Regards,
David
-Original Message-
From: Leung, Albert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 0
Albert,
When all that is correctly setup, I've only ever had problems with a
misspelled forward inside my action or missing JSP/html/other pages. I've
had a blank page show up when the forward was "intup" and I meant "input".
Have you checked the code in your action?
Have you turned on the loggin
ow me how to
turn on debugging and commons logging.
Regards,
Albert
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 3:35 PM
To: Struts Users Mailing List
Subject: RE: form validation
Albert,
When all that is correctly setup, I
+1 on the "Why should I use Spring" and "beat me over the head until I use
it" statement.
:)
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:47 PM
To: 'Struts Users Mailing List'
Subject: RE: Hibernate VS ibatis, which is better?
I love
List
Subject: RE: form validation (How to setup commons-logging to debug)
I'm sorry. I've check the documentation at the Jakarta site and I still
don't know what you mean by
org.apache.commons.logging.simplelog.log.SOMECLASS=LEVEL
What is the SOMECLASS?
-Original Message-
F
umann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:53 PM
To: Struts Users Mailing List
Subject: Re: Hibernate VS ibatis, which is better?
"Hibernate, making the hard things harder, and the easy things more
difficult":)
David Friedman wrote:
> +1 on the "Why should
FYI...
Hibernate has a createSQLQuery method in the Session class plus allows for
named SQL Queries from a configuration file so you can have it fill in the
"?"'d (question marked) parameters.
Regards,
David
-Original Message-
From: Nail, Evan Burke [mailto:[EMAIL PROTECTED]
Sent: Wednes
In the author's online section of www.manning.com/husted, you can search on
"submit name=" and it is pointed out as a book error. Plus, you should use
the standard html:submit "property" attribute instead of the mistyped "name"
attribute. The direct link to the article in the manning website is:
What is the contents of your hibernate.properties file (or hibernate.cfg.xml
file) and in what directory did yout place it? Also, how did you
create/instantiate the SessionFactory?
Regards,
David
-Original Message-
From: Mario St-Gelais [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07
Nick,
Your problem is the "type" set in your tag. From (RTFM) the page:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-
s1-4--generator
See the "identity" description, which reads:
> identity - supports identity columns in DB2, MySQL,
> MS SQL Server, Sybase and Hy
wrong guy. No worries though.
On 2004-Apr-08 00:04, David Friedman wrote:
> Nick,
>
> Your problem is the "type" set in your tag. From (RTFM) the
page:
>
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-
> s1-4--generator
>
> See the &quo
Rafael,
Are you using the html:text, html:textarea and other tags? They should
automatically re-populate the appropriate answer. Can you give us some
relevant form code examples from a troublesome JSP?
Regards,
David
-Original Message-
From: Rafael Chiarinelli [mailto:[EMAIL PROTECTED]
Incluir
Usuário
Cancelar
What is your CLASSPATH variable set to and is java installed in
c:\biren\java?
Regards,
David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 17, 2004 2:47 AM
To: Struts Users Mailing List
Subject: basic problem in java
Hi,
TED] wrote:
> My Classpath variable is set to :
>
C:\jdk1.3.1\bin;c:\jdk1.3.1\lib\tools.jar;c:\jdk1.3.1\lib\rt.jar;c:\Drivers\
classes111.zip;c:\Drivers\classes12.zip;c:\Drivers;c:\biren\java
>
> JDK is installed
>
> C:\jdk1.3.1
>
> can you please help me ??
>
"David Friedman" <[EMAIL PROTECTED]>
17-04-04 08:54 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
ritpal Dhaliwal
-Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 2:09 PM
To: Struts Users Mailing List
Subject: RE: basic problem in java
So Birendar,
What was your problem? I never saw a post about you resolving it. (and,
curiosity killed the cat)
ect=true
> -Original Message-
> From: Mario St-Gelais [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 1:08 AM
> To: Struts Users Mailing List
> Subject: Re: Struts and Hibernate
>
>
> David Friedman wrote:
>
> >Nick,
> >
> >
sses/com/edhand/whatever.java
Regards,
David
-Original Message-
From: Mario St-Gelais [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 10:14 PM
To: Struts Users Mailing List
Subject: Re: Struts and Hibernate
David Friedman wrote:
>Mario,
>
>Where is your hibernate.properties f
public class test{
public static void main(arg [] String ){
System.out .println("My Apologies To all");
}
}
Birendar Singh Waldiya
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"David Friedman" <[EMAIL PROTECTED]>
21-0
y but David im sorry i dont know "dir / x " and what
is 8.3 directory names ??
I will correct the classpath surely.
Birendar Singh Waldiya
"David Friedman" <[EMAIL PROTECTED]>
22-04-04 11:19 AM
Please respond to
"
Do you have any hibernate related messages in any of your logs? And the one
or two lines above/below NoClassDefFoundError?
Regards,
David
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 5:02 PM
To: 'Struts Users Mailing List'
Subject: RE: Hiber
Toby,
Struts ActionServlet only allow configuration for one mapping. From your
experiments, the last one in the web.xml sounds like it takes precedence and
resets internal ActionServlet settings for the latest mapping. Think of it
this way: If you had two mappings, how would you make the html:fo
va:256)
I know it successfully reads my hibernate config, because it will
complain about classes that attempt to refer to unmentioned .hbm.xml
files.
It still works great under 2.0.3
> -Original Message-
> From: David Friedman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22
/../javalibs/hibernate-2.1/eg
../../javalibs/hibernate-2.1/src
../../javalibs/hibernate-2.1/test
../../javalibs/hibernate-2.1/doc/api
> -Original Message-
> From: David Friedman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 10:47 PM
> To: S
What's wrong with the hibernate extension tools
and the Code Generator that creates .java files from
the hbm.xml files you give it?
See:
http://prdownloads.sourceforge.net/hibernate/?sort_by=date&sort=desc
Item: hibernate-extensions-2.1.zip (or the 2.0.2 zip file for 2.0.X
versions)
I've only use
avalibs/hibernate-2.1/lib/commons-lang-1.0.1.jar]
> [../../javalibs/hibernate-2.1/lib/xalan-2.4.0.jar]
> [../../javalibs/hibernate-2.1/lib/ehcache-0.6.jar]
> [../../javalibs/hibernate-2.1/hibernate2.jar]
>
> [../../javalibs/hibernate-2.1/lib/commons-dbcp-1.1.jar]
>
> [../../j
ame, age)
become String.
Then in the AddPerson.jsp I will have something repeated like this:
Is there anyone outthere who makes tool for such thing?
It should not be very difficult to make one, but I just want to avoid
reinvent the wheel.
regards,
Dion
-Original Message-
From: David Fried
d ActionForm before, I'll look at it then.
Thanks for your opinions.
regards,
~dion
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 23, 2004 2:03 PM
To: Struts Users Mailing List
Subject: RE: generate struts ActionForm & strut's jsp from h
astName, age)
> become String.
>
> Then in the AddPerson.jsp I will have something repeated like this:
>
>
>
>
> Is there anyone outthere who makes tool for such thing?
> It should not be very difficult to make one, but I just want to avoid
> reinvent the wheel.
&g
I haven't used it yet, but I suppose
you could create a one-time (or repeating)
job from within your Action into the Quartz
scheduling engine (free):
(http://www.opensymphony.com/quartz/features.html)
Regards,
David
-Original Message-
From: Bryan Hunt [mailto:[EMAIL PROTECTED]
Sent: Mon
I haven't tried it but since webwork is Struts 2.0, won't the Xdoclet
Webwork tags do most of the job (except for any brand new Action 2.0
specific add-ons to WebWork):
http://xdoclet.sourceforge.net/xdoclet/tags/webwork-tags.html
Regards,
David
-Original Message-
From: Emmanouil Batsis
I think your JSP skills are a little rusty because the JSP page source code
you included spelled it out for you:
1) Import the class org.displaytag.sample:
request.setAttribute( "test", new ReportList(6) );
3) Use a displaytag table on the object (in whatever scope) named "test":
It m
de of that web
site :
http://displaytag.homeip.net/displaytag-examples-1.1/example-nocolumns.jsp
David Friedman <[EMAIL PROTECTED]> wrote:
I think your JSP skills are a little rusty because the JSP page source
code
you included spelled it out for you:
1) Import the class org.displ
I'll chime in like everyone else plus give you alternatives:
Have you even looked at the DisplayTag documentation, live examples or
looked at the configuration information? The examples show the alternating
row css coloring is automatic (even[row]/odd[row] css styles) while the
configuration page
Maybe we should ask if he is going to use Action 1 (Classic) or Action 2
(Webwork). Or is he going wild and going to use JSF/Shale. I wonder if
he's confused after reading this so I won't even mention Streks for
Annotations. I'm soo evil for mentioning this. LOL.
Regards,
David
-Original
Homero,
Often, people starting with Struts see blank pages if they use the wrong
method in their Action class. Are you using perform() instead of execute()
as your method? Your struts-config.xml file suggests you are using an
outdated book because it lists your config DTD as version 1.0, not som
Your error suggests your war file doesn't have the appropriate struts .jar
file(s) in /WEB-INF/lib. I had a similar Maven problem until I double
checked I was using the proper Maven directory structure AND had appropriate
pom.xml project dependencies. Have you double checked that Maven put your
.
1 - 100 of 230 matches
Mail list logo