Hi,
Below is my tiles-defintion.
definition name=SubsSrch path=/WEB-INF/mainLayout.jsp
put name=title value=My Title /
put name=mainMenu value=/menupanel.jsp /
put name=mainHeader value=/header.jsp/
put name=mainBody value=doc.csr.body/
put name=mainFooter
may be you can put validate=false in your struts-config.xml and
execute form.validate in the methods which have to validate your form
PS : excuse me ; my english is bad ; i am french ;-)
Gabriel França Campolina a écrit :
Hi Folks,
I have a action-mapping that mapping a Action named
You can also use the parameter attribute in the validate method
(assuming you're using an actionform and decide whether to validate
there.
public ActionErrors validate(..) {
String method = mapping.getParameter();
String target = request.getParameter(method);
1. You should use the Container (Tomat and not Struts) data source
and not use connection pool, rather the DataSourcePool that comes
with
JDBC drivers. Connections are more for clients and PooledDataSource
is for servers, so use that part of any JDBC driver.
OK, can you show me what the
Hi
Is it possible to make the URLs on my site search engine friendly? I
am using Tomcat and Struts.
I would like to turn:
http://localhost/site.do?section=bookssubsection=architecture
into this:
http://localhost/do/site/books/architecture
Regards,
Ben
You should be able to do with in 1.2.4 with WildCard mapping,
see section 4.10 - Using Wildcards in Action Mappings.
http://struts.apache.org/userGuide/building_controller.html
Regards,
David
-Original Message-
From: Ben [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 02, 2004 11:53
Kyle,
Some questions are recaps I didn't see your posted answers for so bear with
me, I'm trying to help:
On Tuesday you wrote that you were going to download the latest drivers from
http://jdbc.postgresql.org/download.html. Did that help or create any new
error messages? I ask because Paul
David,
Thanks for the quick response...
On Tuesday you wrote that you were going to download the latest
drivers from http://jdbc.postgresql.org/download.html. Did that help
or create any new error messages? I ask because Paul wrote that your
driver name, pg73b1jdbc3.jar, has 'b1' in the
Cool. I get it. Wow. Now that I get it, I really like it. It's
like the dyna form bean finally caught up with the nested tags!
Thanks, Niall.
On Sat, 2 Oct 2004 00:50:14 +0100, Niall Pemberton
[EMAIL PROTECTED] wrote:
OK I think I must be spreading confusion - thats what you get, arrays of
Hi , all
I am wondering why Struts use forward instead of redirect
to jump from one JSP to another.
Could anybody give me some hint?
Regards
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Kyle,
I'm glad to hear the problem is resolved. To your question
on Struts v1.2.X and DataSources, the release notes
http://struts.apache.org/userGuide/release-notes.html
describe the changes as:
-
GenericDataSource / GenericConnection implementations removed - The
datasources manager is still
Chris,
A struts forward is an internal handoff, unless redirect=true, allowing
the next page, JSP, etc. to have full knowledge of anything submitted with
the HTTP GET or POST page request. This allows the JSP/page to have full
use of the form (which is usually in request scope) and any objects
In my companyList screen I have a cancel button (/companyList/cancel.do).
In moduleA-struts.xml, why can't I have something like :
action path=/companyList/cancel forward=/menu.do
module=moduleB redirect=true/
I want my page flow configured in my xml config files, not in my JSPs by doing :
Kiran,
Why would you want to set an anchor tag in a forward? If you are talking a
name=someAnchorName/ tag, that should be handled by the browser to 'jump'
down the page to the appropriate portion of the page marked by the anchor.
Can you give more clear details and examples if this is another
Daniel,
What version of struts are you using? I see the input=input refers to a
local ActionForward but how is struts configured? In the 1.2.4 docs, this
controller snippet sounds like it would be VERY useful to you:
inputForward - Set to true if you want the input attribute of action
elements
Gabriel,
I didn't see anyone respond to you so I'll point you to making an action
tiles controller so you can change it in an Action method. I believe you can
also set a controller spec in a definition ... / tag allowing a Java class
to make changes at your discretion. See the PDF Tiles Advanced
16 matches
Mail list logo