-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kranti,
Kranti Parisa wrote:
cant we use html:checkbox tag instead of input type=checkbox
is there any way to assign values ids to html:checkbox dynamically?
Unfortunately, I'm not the person to ask about that. I don't use JSP and
I'm not very
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
Thomas Thomas wrote:
Thank u,
it works great :-)
No problem.
I have :
arg key=invalid.passwordCheck/
May I ask u, dear Christopher, what's the difference of it with what u have
done :
msg name=validwhen
key
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick,
Rick Schumeyer wrote:
I am looking for an example of an edit cycle. Let's say I have a list
of employee names; If I click on one I want to have a page to edit the
employee values.
The initial click would call an action that queries the
. I seem to remember reading something about some IDEs
producing that value for you. You can maintain it yourself as well.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
415.962.4884
-
To unsubscribe, e-mail: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
A request scoped out of the box DynaValidatorForm is also unable to
handle indexed properties e.g. throws IndexOutOfBoundsException in
DynaActionForm.get(string, int)
I've never used get(String, int), but I use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
Chris, In my DynForm I'm actually using a java.util.ArrayList
(contains my bean objects).
So, you have type=java.util.ArrayList in your form bean definition?
Are you sure that Struts knows how to handle that? It might
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
Have you tried calling yourFormBean.get(yourArrayList) and
checking to see what it inside of it?
not sure what you mean - the action method is never called as the
RequestProcessor cant populate the DynaForm from http
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
Thomas Thomas wrote:
var-value(*this* == password)/var-value
But it still doesn't work
This is exactly what I have in my setup, and it works like a charm:
field property=passwordAgain
depends=validwhen
msg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Patrick,
J. Patrick Bedell wrote:
Hello,
Sorry for the offtopic question!
How might I configure my servlet container or webapp web.xml so
that a periodic application performs a cleanup task for my webapp's
database? I want to have a cleanup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
On 12/4/06, Christopher Schultz [EMAIL PROTECTED] wrote:
J. Patrick Bedell wrote:
Hello,
Sorry for the offtopic question!
How might I configure my servlet container or webapp web.xml so
that a periodic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Menard wrote:
On 11/30/06 7:45 PM, Christopher Schultz [EMAIL PROTECTED]
wrote:
Sorry for poking my nose in, but wouldn't this be horrendously
non-threadsafe?
No problem. If your thinking of Actions from the perspective of S1, yes
.
Monkeyden,
Have you seen this? http://www.mrunix.net/webalizer/
Easy to set up. I've had it running with Apache (which is talking to
Tomcat 5 over mod_jk 2) for the past few years.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
Mississippi John Hurt wrote:
I have onclick handler which sets a form property via javascript.
Problem is when the myWeirdName has a quote in the name, this breaks
my javascript handling below.
I had this same problem using Velocity Tools
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
Mississippi John Hurt wrote:
input type=image onclick=strutsForm.myActionProp.value='takeaction';
strutsForm.myNameProp.value='c:out value=${result.myWeirdName}/';
return
true property=takeaction src=button.gif
Sorry, I didn't see that
On Fri, 2006-12-01 at 20:10 +0100, Thomas Thomas wrote:
There is not much code for a FormBean in Java ...
I don't see the point to have it in XML
Thomas,
The benefit is that you can edit the XML and redeploy without
recompiling your app.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
Mississippi John Hurt wrote:
I notice if the quote is escaped as... \'
then it works fine, the problem is it will display wrong looking exactly
like above, so I have to escape it 2 different ways...
Yeah, that's pretty much the deal. You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
prkumar,
prkumar_1234 wrote:
1) in jsp iam displaying values from javabean in textboxes.(i can
change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tarek,
Tarek Nabil wrote:
Christopher,
I really wonder if the Struts you're talking about is the one I've using
for years now!! The Struts I know sucks big time when it comes to action
chaining. I'm afraid I don't understand how defining two
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Menard wrote:
public String getDataRetrievedFromSessionBean () {
return this.dataRetrievedFromSessionBean;
}
Sorry for poking my nose in, but wouldn't this be horrendously
non-threadsafe?
Since I know virtually nothing about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tarek,
Tarek Nabil wrote:
One of the problems with Struts was that if you had a page that requires
some setup and this page submits to an Action, then you would not be
able to set validate to true on that action because if validation
problems
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mano,
Mano Chinthaka Dasanayaka wrote:
Try Using
form-bean name=uploadFile
type=org.apache.struts.validator.DynaValidatorActionForm
form-property name=title type=java.lang.String/
form-property name=revdate type=java.lang.String/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
LIM Adam wrote:
I have a javascript:history.back() link button. When I click on it, I
want to remove an entry in my object with scriptlet.
The problem is that the scriptlet is executed when my page is loaded and
not when I click on my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vineet,
Vineet Chopra wrote:
Hi All,
I am using struts 1.2.9 and wanted to call a perl script.
If any one has done it, will appreciate the help.
An Example or a sample code will be great.
Do you just want to call Perl on the command line, or do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
All you have to do is set the name of your button to Globals.CANCEL_NAME
(not that exact text, but use that constant to set the name attribute
of that submit button element).
- -chris
robin bajaj wrote:
Hello folks,
I found a little issue
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vishal,
Vishal Seth wrote:
Hi,
Does struts validation support XML entity.
What do you mean? Can explain this question in more detail?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Gallagher, Jim (RBoS ITDS Dublin) wrote:
I'm wondering whether it's a better idea to create the
formbean, populate it and use that to pass the information to the jsp?
This really is the struts way. But, in order to do this, you don't
have to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Gundersen, Richard wrote:
In the JavaScript, you could just do a simple loop that counts down from
session-timeoutzero. When the loop gets to within e.g. 60 seconds
from zero, pop up your message.
You don't want to do this. You want
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jean-Marie,
Jean-Marie Pitre wrote:
I am able to detect a double submission but for the moment I display an
error page instead of the result page.
Is there any way to ensure the display of a response that represents the
original request's outcome
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
The only solution I can think of is some hack whereby I try to pass
the action to the JSP and in javascript do something like:
Form.action = 'some action.do' followed by Form.submit();
If you can pass the action into your JSP, why not do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Wynacht wrote:
For starters, it coughed up a ton of warning messages about not being
able to find the SAX parser. So I put xalan.jar, xercesImpl.jar, xml-
apis.jar and xmlParserAPIs.jar it $TOMCAT_HOME/common/lib. This
stopped the error
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Wynacht wrote:
Hi Chris,
Here's the info, I should be good to go:
[snip: you have JDK 1.5]
Okay. Ensure that you have /not/ installed the compatibility package.
This can also foul things up. I noticed that you posted the same
question
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Otsuka,
otsuka wrote:
The value of lang attribute which html:html tag generates is
not escaped. I think it could cause XSS problem If Accept-Language
HTTP header's value is replaced with script tag.
Have you tried doing this? If so, what happens?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Martin wrote:
I have just begun to add validation to my forms using struts
validator, which is quite nice. I have however a problem when I have
more than one submit button on a form.
For example I have a Save button and a Back
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lance,
Lance Semmens wrote:
A JS free application? You can assume today's browsers have
javascript, the web would break otherwise. Sure there are some cross
platform issues but to go JS free is a tall order and will limit you
to a clunky UI.
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Martin wrote:
That would be one solution, but in my case I have 4 submit buttons,
two of which redirect the user to another action (keeping scope set to
session)
and then back to the original form.
Hmm... that makes things more
is with setter methods:
public void setFoo( Object foo ) {
this.foo = foo;
}
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nitin,
Nitin M. Mandolkar wrote:
As Map stores values as Kay and Value pair. Where type of value is
Object. Here I am asking to Cast Object to String or call object
toString method.
Sorry... is there a question in there?
I definitely posted
.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 2006-11-10 at 16:32 -0500, Monkeyden wrote:
That wasn't very pedantic of you to mispell it. :)
Misspell? Or was that irony? ;)
Ever-pedantic Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Miro,
1. Please use your real name in your email address when posting to the
list. temp temp is a poor moniker.
2. While some of us will be happy to answer purely Java questions,
please mark such posts as [OT] (for off-topic) and apologize
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Menard wrote:
Is there a way to dynamically parameterize a redirect result based on an
http request parameter that you have used in the action your are redirecting
from?
This isn't exactly struts-2 specific, if I'm reading this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harrison wrote:
Here is a truncated version of makeparms.
String separator = new String();
StringBuffer parms = new StringBuffer();
String desc = props.getString(credit.card.description);
String cost
,
See Ed Griebel's most recent reply regarding the use of the ${var} EL
in your JSP.
And go back to using the link tag for your CSS. The script tag is not
going to work.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED
desperate-sounding
reposts when the replies are not quick enough for you.
(Okay, maybe I need more coffee.)
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
The problem is JSTL is being helpful. Perhaps too helpful in this case.
Basically it is looking for an exact match between ResourceBundle and your
Locale settings.
It will look for English first, but only find the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
Woa, that didn't work.
I didn't really expect it to... I would have expected you to get a bunch
of blank messages (since application_en.properties had nothing in it). I
don't think that resource bundles chain or anything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Affan,
[EMAIL PROTECTED] wrote:
I have an application which contains a bunch of images for products whose
filenames come from the database. Right now the images are stored inside
the WAR file when deploying the application
Ugh.
We don't care
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
Thom Burnett wrote:
First, I found my error and it's (of course) not in any of the code listed.
I had neglected the import statements in the jsp pages. :-(
That always helps. So, your JSPs weren't compiling or something? It's
odd that it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harrison wrote:
CreditCardPaymentAction
StringBuffer parms = makeParms(userVO, creditCardForm, props);
sendRequest(conn, parms);
private void sendRequest(HttpURLConnection conn, StringBuffer parms)
{
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
It seems that the next time SecurityFilter gets run after a
Session.invalidate(), it calls Session.invalidate() itself which was
throwing out the values set by I18NFilter.
Really? So, it's killing your new session? It
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
Yes, I'm using mainly JSTL to display data on the page (fmt:message) and
they're all showing up in French. I put one bean:message on the page just
as a test and it is correctly displaying English.
Hmm. It looks like the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Paul Benedict wrote:
In Struts 1.3.6, I hope to be providing a locale solution for Struts
which is not tied to the session.
Does struts rely on the session for locale information? I would have
expected a null session to result in a call to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
struts-config.xml:
This looks good.
request.setAttribute(sessionForm, this) ; // If I don't do this the
form will be blank after an error.
You really shouldn't have to do this. The form bean in the session will
be called donorBean
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
Thom Burnett wrote:
With that fixed I can take out the sub class' validate() method and still
get a set of errors.
That's good, I guess. What do you mean, the subclass's validate method?
I didn't realize that you had multiple levels of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nitin,
From: temp temp [mailto:[EMAIL PROTECTED]
How can I translatevalue [Ljava.lang.String;@1849daf to
readable String?
Nitin M. Mandolkar wrote:
Cast it to String object.
This won't work. Casting String[] to a String will result
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
Thom Burnett wrote:
I'm working on an application that uses several jsp pages to gather
one set of information before it really does anything with it.
Ideally, the first form gets validated before the user can get to the
second form and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
I am having a strange problem with JSTL locale's after Session.invalidate.
I am using JSTL as the main TagLib with Struts 1.2.9. So to keep both
systems in sync, I have a servlet filter that executes this code:
[snip]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
Thanks for the reply, and you read it correctly [snip]. Here is the
information I'm getting in my logs from all the debugging statements:
[10:08:43.179] I18NFilter.doFilter: Processing Request for
/canada/logout.jsp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
No the original problem statement was that the JSTL fmt tags were
picking up
the French text even though the locale was set to English
Strange. Where is that French locale coming from? Default JDK locale?
Locale of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Van,
I’m trying to create a jsp page that can upload a file. Everything
works, but I cannot apply my style to the “Browse” button:
Most browsers don't let you style the browse button for file input types
specifically.
That displays the regular
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Pratt wrote:
I believe stray alpha particle is the most likely answer. I'm on a
US PC, with an English version of Windows XP. Everything on this
machine screams English, but for some reason it's picking the
in the form
bean and the action class performs the same action again.
Has anybody had this problem? I am not sure what i can do not to repeat the
action.
Uday,
Take a look at this article.
http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost
Chris
--
Christopher D. Goldman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yariel,
I have a page validated with Validation Framework, but I can get that
page from two diferent jsp inputs. When an error ocurs, the validator
always turn me back to the same jsp input (the one especified) not
matter which was the selected
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jorge Martín,
Jorge Martín Cuervo wrote:
It's a realy cool question, i've a complex webapp with a lot of
differents diciplines:
- xstl
- xsl-fo
- very large objects in session
These three are going to kill you. XSLT uses a ton of memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
I wanna put a text box on my form that user can enter her email and by
submitting, an email send to her. I can do it with a free SMTP server. I set
smtp host on localhost in server.xml ( {tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
Don't forget about the handful of ISP's that block outgoing port 25
(SMTP) unless it is directly to their own mail servers. I had one of
two of those in recent years.
That is unlikely, as he can successfully send messages to gmail. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick,
Let me give this one more try: I'm considering using the
ModuleException class for exception handling. It looks like a
reasonably painless way to go. Is there any reason *not* to use this
method?
You mean exception, right?
I recall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
When the user submits the form with more than one fields left blank (or
with incorrect values), I want to show a
general (GLOBAL) message on top of the form saying
Following shown mandatory fields were provided with incorrect values
How
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick,
Rick Schumeyer wrote:
I was hoping to learn about the pros/cons of various methods before
picking one.
I prefer my technique because it does not require throwing another
exception. It's a tiny amount of time, but throwing an exception takes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nitin,
Nitin M. Mandolkar wrote:
The Actionservlet delegates the handling of a request to a
RequestProcessor object Previously this is job is done by
ActionServlet itself. Now it is pass on to RequestProcessor.
I am not getting how it is going
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
For a DynaValidatorBean, no such methods exist.
http://jakarta.apache.org/commons/beanutils/commons-beanutils-1.6.1/docs/api/
'If the origin bean is actually a Map, it is assumed to contain
String-valued simple
All,
I have a multi-page flow and I am using a DynaValidatorForm to store all
my form info.
At the end of the flow, there's a confirmation page where the user can
check out all of the information entered during the previous several
pages. They have the opportunity to go back to each page (via a
Dave,
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Is there a way to get the name of the currently active form?
Is that what ActionMapping's getName() does?
Duh! Thanks. I'm a moron.
Now I just need to figure out how to copy one of these things. It looks
like getMap might be my best
All,
Now I just need to figure out how to copy one of these things. It
looks like getMap might be my best option. Any reason why this
might be a bad idea? 'cause this class is not clonable, and it
doesn't have a copy constructor, so this looks like the only
possibility.
To answer my own
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
To clone a DynaValidatorForm perhaps something like this will work:
LazyDynaBean obj = new LazyDynaBean();// create a lazy dyna bean
BeanUtils.copyProperties(obj, dyForm);// save your form properties
The reason is that I can use different configuraiton files for different
instances.
Anyway, I have modified ActionServlet myself and it is working fine.
--
Christopher Cheng
Jerome Gagner [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If you are using the resin-specific
I am using version 1.3.5 and found out that that path of web.xml is hard
coded at line 1723
InputStream input =
getServletContext().getResourceAsStream(/WEB-INF/web.xml);
In resin, I use config-file to change the path of web.xml for example
config-filemyapp-web.xml/config-file. As I
(HttpServletRequest,String) method.
Perhaps the method belongs to some other object?
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
415.962.4884
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
various combinations of WriteTag,
.applyLocalizedPattern, and IllegalArgumentException
Hea õnn!
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
415.962.4884
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
:
http://struts.apache.org/1.2.9/userGuide/dev_validator.html#validwhen
It will let you do exactly what you're asking about.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED
, change the (presumably) hidden
form input field value:
document.forms[form-name].elements[navigation].value = new-value
Then, submit the form.
This is in Firefox. Looks like it works for IE as well.
Not really a Struts question -- just straight Javascript...
Chris
--
Christopher D. Goldman
On Mon, 2006-08-07 at 01:12 -0400, Monkeyden wrote:
or is like transferring Ted himself, as data?
Only if he implements the Serializable or Externalizable interfaces.
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED
://sakaiproject.org/
I don't know how many (if any) are focussed on distance learning, as
opposed to general course and student management, but maybe it can be a
starting point.
Chris
[1] http://yro.slashdot.org/article.pl?sid=06/08/02/1217219
--
Christopher D. Goldman
[EMAIL PROTECTED
the DTO (Data Transfer
Object [1]) is for. It's not a Struts-specific object at all.
[1] http://en.wikipedia.org/wiki/Data_Transfer_Object
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
forward for it.
I hope this helps.
I'm a Struts newbie myself, hoping to improve my understanding through
helping others (and being corrected unmercifully).
Chris
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe
--
Christopher D. Goldman
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
using tiles standalone (latest from the sandbox)
the insert tag looks like
tiles:insert definition=default-layout flush=true
tiles:put name=title value=sign-up for a new account/
tiles:put name=content value=/signupContent.jsp/
/tiles:insert
Problem is that the jsp pages in the
We have a struts app (v1.2.7) that uses Tiles for UI presentation,
running in WebLogic 8.1. We are trying to implement a form whose action
is to a remote servlet. The remote site actually generated the form
details for us, and one of the fields provided is a hidden field
entitled returnURL, which
response and returns this response to
browser.
Michael.
On 1/4/06, Christopher Becker [EMAIL PROTECTED] wrote:
Greetings all;
I have a Struts app (v1.27) and wish to add a user form whose ACTION
is
a URL that is external to the application ( a remote servlet).
I want to provide a message sent
Greetings all;
I have a Struts app (v1.27) and wish to add a user form whose ACTION is
a URL that is external to the application ( a remote servlet).
I want to provide a message sent confirmation page to the user, but
dont know how to do this with an external form submission. Is there a
way to
I am developing a Struts (v1.2.7) app that has multiple struts-config
files, but not utilizing modules, so web.xml has one init param with
config files separated by commas, eg.
init-param
param-nameconfig/param-name
. Same thing
as
c:out value=${toDate}/. You'd, of course, need to include TLDs for
JSTL
in the latter case.
Hope this helps.
ATTA
On 12/6/05, Christopher Becker [EMAIL PROTECTED] wrote:
I am setting request attributes in an Action class such as in the
following example
I am setting request attributes in an Action class such as in the
following example:
request.setAttribute(toDate, toDate);
request.setAttribute(acctNum, acctNum);
Both variables toDate and acctNum are Strings. I then process the
action by returning a mapping.findForward
I am using Tiles in a Struts (v.1.2.7) app, and also experienced an
error when the Apache site was temporarily down.
So to prevent this from happening in the future, what is the suggested
solution?
Removing the DOCTYPE element from the tiles-def.xml file does not seem
appropriate - or is it?
Hi,
I've read the upgrade notes on the Wiki and have followed all the
instructions, including updating the validation.xml file.
When run with the 1.2.4 version of Struts it runs run but now I have
upgraded I always get a message saying the servlet is unavailable when
trying to view a page. The
Regards,
Chris BeckerSenior Programmer/AnalystEnterprise IT(516) 803-3921[EMAIL PROTECTED]BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Becker, Christopher
TEL;WORK:(516)803-3921
ORG:;Corporate Information Systems
TEL;PREF;FAX:(516)803-6115
EMAIL;WORK;PREF:[EMAIL PROTECTED]
N:Becker;Christopher
the html:text/.
So, when an action error occurs, it will be displayed
right below the html:text/ corresponding to the
property.
Regards,
Ramesh M.
--- Christopher Becker [EMAIL PROTECTED]
wrote:
I have a form in a Struts app (v1.2.7) that I am
attempting to use in
conjunction with the validator
Your XSL should be something like:
xsl:template match=/data/id/value
xsl:value-of select=text()/
/xsl:template
Basically, match the node you are interested in and get the text value for
that node.
--
Christopher Chan
SpikeSource, Inc.
[EMAIL PROTECTED]
http://developer.spikesource.com
Have you considered Spring and it's IOC framework? Works wonderfully with
Struts (even has a lovely plug-in to get the whole thing working together).
The configuration is only one aspect of the whole Spring framework.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message
301 - 400 of 543 matches
Mail list logo