he request being processed -
not the the form bean reffered to by . If you need access to that
form bean then or might help by exposing form
bean properties.
Thanks, I'll check this one out.
--
==
John Moore - Norwich, UK - [
In a JSP which uses html:form, is there any way of determining the name
of the form bean (assuming it's been set in the mapping, of course, not
in the html:form tag!).
TIA
--
==
John Moore - Norwich, UK - [EMAIL PROT
ed by
jsp:doBody) are perfectly able to find the form bean of the parent
html:form, unlike in the JSP version. I can't determine what the
difference might be, unless it is to do with scope.
John
--
==
John Moore - Norwich, UK - [EMAIL
used in a Tile enclosed within the html:form tag
(instead of directly as above), the various html: tags lose awareness of
the form bean. Adding a 'scope="request"' to the html:form does not
solve the problem.
John
--
==
John Moore
t is being evaluated within the body of the
html:form tag, why would the html input tags not be able to find the bean?
John
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
-
the tag file:
Could it be a question of scope?
I've run into a similar problem before and did not resolve it then but
worked around it instead. I hope for more success this time.
JM
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tag file:
Could it be a question of scope?
I've run into a similar problem before and did not resolve it then but
worked around it instead. I hope for more success this time.
JM
--
==
John Moore - Norwich, UK - [EM
Card
String filename;
long lastLoadedTime;
}
public class Card{
String name;
String email
String mobile;
}
Off the top of my head...
Serialize it to a byte array output stream, see how many bytes you have
John
--
==
John Moore - Norwich, UK - [EMAIL
x27;t created one called 'BEAN' anywhere, so it must
be an internal Struts thing.
John
--
======
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
t. The necessary taglib line is there. Must be
something else, but what?
John
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
-
To unsubs
mentioned.
John
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Mark Lowe wrote:
What does your mapping look like?
For the action in question:
John
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED
t the problem is here, although I'm assuming it is
clearly to do with scope, somehow. Any help clarifying this would be
most appreciated.
Thanks,
John
--
======
John Moore
t may
well be different, of course.
John
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED]
==
-
To unsubscribe, e-mail: [EMAIL PROTECTED
onical way of doing this is, but what I do to
achieve precisely the effect you are after is to invalidate the session
in the Action class, after everything's done:
req.getSession().invalidate();
This works for me!
John
--
==
John Moore
Paul McCulloch wrote:
Hm, that obvious, eh? Oh, dear! Thanks. Of course, now I know what the
answer is, Google suddenly returns all the kind of stuff I was looking
for before...
--
==
John Moore - Norwich, UK - [EMAIL PROTECTED
Paul McCulloch wrote:
Hm, that obvious, eh? Oh, dear! Thanks. Of course, now I know what the
answer is, Google suddenly returns all the kind of stuff I was looking
for before...
John
--
=
John Moore -Norwich, UK-[EMAIL PROTECTED
directory). It is, I'm sure, obvious, but not, alas, to me today.
John
--
=====
John Moore -Norwich, UK-[EMAIL PROTECTED]
=
-
e-sensitivity does seem to be the norm.
John
--
=====
John Moore -Norwich, UK-[EMAIL PROTECTED]
=
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
wojingo wrote:
On Wed, 2004-05-12 at 23:17, John Moore wrote:
Not sure whether this is a Struts or Resin issue. I'm using Struts 1.1
with Resin 2.1.12, and I've set it so that all URLs get handled by
Struts unless otherwise specified, using the following URL mapping:
ty remains resolutely true. /Contact
brings up the right page, /contact returns a Page Not Found. Any
suggestions?
John
--
=
John Moore -Norwich, UK-[EMAIL
John Moore wrote:
Neat! Yes, this is the way. Thanks Niall and Robert too.
I just recalled one of the reasons why I wanted to do it the way I did.
In my original version, where I actually handle the file download, I
record in a database what has been downloaded by whom and when, which I
can
Page
If download does not start with 30 seconds click HERE
Instructions
When the download has completed then.
Neat! Yes, this is the way. Thanks Niall and Robert too.
John
=
John Moore -Norwich, UK-[
ose();
bis.close();
saveInfo(downloadForm); //save the details in the
database
forward=mapping.findForward("success");
John
=====
John Moore
y of my fears - html:html, for
example, wouldn't be of much use if you couldn't evaulate any other tags
inside it! The injunction obviously only applies to attributes.
I'll give this one a go!
John
--
=====
John Moore -
ut I'll be getting back to the point
again in a couple of days. As I say, I'm sure it's because I'm not
thinking about Tiles the right way yet, rather than because it's
genuinely difficult.
John
--
=
J
x27;t do this. My suspicion is that I've got the whole
thing back to front. Where do I go from here? This has to be an easy
thing to do!
John
--
=====
John Moore
n why it should not be possible. It would surely be easy
to establish an order of evaluation (the nested tags get evaluated first).
John
=====
John Moore -Norwich, UK-[EMAIL PROTECTED]
=
---
O
acket capture but
am on crappy
win 2000 box.
Get yourself a copy of Network Spy
(http://sumitbirla.com/network-spy/netspy.php), which is a very useful
packet capture tool for Windows.
John
=
John Moore -Norwich, UK-[EMAIL PROT
At 21:07 03/05/2004, John Moore wrote:
At 16:09 03/05/2004, Paul McCulloch wrote:
1) Use an html (rather than a jsp) tag:
I've found that this, unfortunately doesn't work, at least with my current
browser of choice (Firefox), which insists on making the text field
read-only as lon
make the field
read-only. But it does.
John
=====
John Moore -Norwich, UK-[EMAIL PROTECTED]
=
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version:
again, though, it fails (as it apparently should).
Goodness knows what I did last time!
Thanks for your suggestions, which I'll try out.
John
=
John Moore -Norwich, UK-[EMAIL PROT
uch
a basis, it's just a test of technical feasibility):
" maxlength="5"/>
Is there something to do with assigning boolean attributes in these tags
which I haven't got yet? Or is it just soemthing weird with the readonly one?
John
===
33 matches
Mail list logo