Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2005-04-23 Thread 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] == -

Re: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2005-04-23 Thread John Moore
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

Re: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2005-04-25 Thread John Moore
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

Getting name of form bean?

2005-05-16 Thread John Moore
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

Re: Getting name of form bean?

2005-05-16 Thread John Moore
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 - [

Cannot find bean org.apache.struts.taglib.html.BEAN in any scope - Tiles problem?

2005-01-07 Thread John Moore
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

Cannot find bean org.apache.struts.taglib.html.BEAN in any scope - Tiles problem?

2005-01-07 Thread John Moore
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]

Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
ty remains resolutely true. /Contact brings up the right page, /contact returns a Page Not Found. Any suggestions? John -- = John Moore -Norwich, UK-[EMAIL

Re: Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
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:

Re: Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
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]

Re: Tiles - getting parent attribute?

2004-05-11 Thread 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 -

Forward after returning content?

2004-05-11 Thread John Moore
ose(); bis.close(); saveInfo(downloadForm); //save the details in the database forward=mapping.findForward("success"); John ===== John Moore

Re: Forward after returning content?

2004-05-11 Thread John Moore
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-[

Re: Forward after returning content?

2004-05-11 Thread John Moore
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

JSTL Core equivalent of ?

2004-05-13 Thread John Moore
directory). It is, I'm sure, obvious, but not, alas, to me today. John -- ===== John Moore -Norwich, UK-[EMAIL PROTECTED] = -

Re: JSTL Core equivalent of ?

2004-05-13 Thread 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 -- = John Moore -Norwich, UK-[EMAIL PROTECTED

Re: JSTL Core equivalent of ?

2004-05-13 Thread 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

Re: Newbie question: Deleting an ActionForm that is in session scope.

2004-05-14 Thread John Moore
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

Re: Newbie question: Deleting an ActionForm that is in session scope.

2004-05-14 Thread John Moore
t may well be different, of course. John -- == John Moore - Norwich, UK - [EMAIL PROTECTED] == - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Tiles - getting parent attribute?

2004-05-10 Thread 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

Tiles - getting parent attribute?

2004-05-09 Thread John Moore
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

Setting html:text readonly attribute

2004-05-03 Thread John Moore
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 ===

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
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

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
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:

RE: Setting html:text readonly attribute

2004-05-03 Thread John Moore
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

Re: struts file upload strange error

2004-05-04 Thread John Moore
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

Re: Setting html:text readonly attribute

2004-05-04 Thread 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

Form bean scope question

2004-07-06 Thread John Moore
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

Re: Form bean scope question

2004-07-06 Thread John Moore
Mark Lowe wrote: What does your mapping look like? For the action in question: John -- == John Moore - Norwich, UK - [EMAIL PROTECTED

Re: Form bean scope question

2004-07-06 Thread John Moore
mentioned. John -- == John Moore - Norwich, UK - [EMAIL PROTECTED] == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Form bean scope question

2004-07-06 Thread John Moore
t. The necessary taglib line is there. Must be something else, but what? John -- == John Moore - Norwich, UK - [EMAIL PROTECTED] == - To unsubs

Re: Form bean scope question

2004-07-07 Thread John Moore
x27;t created one called 'BEAN' anywhere, so it must be an internal Struts thing. John -- ====== John Moore - Norwich, UK - [EMAIL PROTECTED] ==

Re: [OT] how to calculate the size of an object

2004-07-08 Thread John Moore
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