gzip compression on HTML

2005-02-22 Thread Mark
truts app. Any advice or pointers would be greatly appreciated. Thanks! cheers, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why can't I do or with no explicit action

2004-11-03 Thread Mark
Hi Folks, Struts newbie here. In "standard" html, a form action is optional. If not specified, when you hit submit, that form's action "goes to" that same URL, thus returns back to that same form. I effectively want to do the same thing in struts. The reason is I want to reuse some

Re: Why can't I do or with no explicit action

2004-11-04 Thread Mark
part" of the current URL so that I can make that the form action. If not, I can setup my own as you suggest. Maybe that's a better idea anyways, as it gives me more control other the situation. Mark Erik Weber mindspring.com> writes: I may not fully understand your probl

Unit Testing Struts 2

2008-09-10 Thread Mark
7;s. Any help or resources are greatly appreciated! Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Unit Testing Struts 2

2008-09-10 Thread Mark
I had a look at a few in the 2.0.11.1 source tree. I couldn't understand how they were structured. I haven't looked at the 2.1.3 source tree. Is there a particular one you would suggest? Mark On 11/09/2008, at 3:40 PM, Nils-Helge Garli Hegvik wrote: Have you looked at the te

Re: How to capture this event

2008-10-05 Thread Mark
What have you set for the "preload" value of the DIV tag? I believe if you set this to false, it will behave the way you want. Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html Mark On 06/10/2008, at 12:22 PM, tom tom wrote: Hi, We are using struts 2.0.6 with AJAX d

Re: How to capture this event

2008-10-05 Thread Mark
While I haven't used it yet, my understanding is that if you set preload=false, the DIV won't load until the user clicks the tab. Then the content will load. However, I've also found this issue: https://issues.apache.org/struts/browse/WW-1860 which you might be running i

Re: Struts 2: Tags

2008-10-06 Thread Mark
Check out: http://struts.apache.org/2.1.2/docs/tag-developers-guide.html Mark On 07/10/2008, at 3:49 AM, Mickey Kumra wrote: Hi I wish to develop an application from scratch, using Struts 2. However, I don't find the tag documentation available on the Apache website to be comprehe

Re: How to capture this event

2008-10-06 Thread Mark
Oh ok. That's beyond my knowledge. Hopefully someone else on the list can help you. Mark On 07/10/2008, at 12:27 PM, Tracy12 wrote: Mark, The Issue is eventhough the preload=false, each time you click the div the content will be loaded, What I want is basically to capture the

NullPointerException with Validation Messages

2008-09-08 Thread Mark
fixed in version 2.1.3. I've updated to the latest SNAPSHOT of 2.1.3 and I'm still getting the error. The problem seems to be with the validation. If I change it to it works. Can someone confirm there is not a problem with my setup? Thanks in advance, Mark My directory struc

Re: NullPointerException with Validation Messages

2008-09-08 Thread Mark
Sorry, what does AFAICT mean? :-) I'm running Tomcat 6.0.16. No, it doesn't work with default stack. Any other ideas? Mark On 09/09/2008, at 12:13 PM, Dave Newton wrote: --- On Mon, 9/8/08, Mark wrote: I'm using Struts 2 validation and I'm getting a NullPointerExcept

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Thank you for the suggestion. Yes, I have and it still produces the NullPointerException. Mark On 09/09/2008, at 10:45 PM, Pascal Lalonde wrote: Have you tried this ? - Pascal Mark wrote: Hi all

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
I can zip up my complete maven directory and post it in the Jira. Is that an appropriate place for it? Or should I email it to you directly? Mark On 10/09/2008, at 8:45 AM, Dave Newton wrote: --- On Tue, 9/9/08, Mark wrote: Thank you for the suggestion. Yes, I have and it still produces

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
(not a NPE) stating that I'm looking for a message key that is null. I don't have the code currently setup to reproduce this problem, but I can if you'd like to see the exact warning message. I think they are related because they both are producing a null message key. Let m

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Yes, all my actions are extending com.opensymphony.xwork2.ActionSupport. Check the Jira for the full source to LoginAction.java. No, I'm not using an tag. Should I be? Mark On 10/09/2008, at 9:45 AM, Dave Newton wrote: You're extending ActionSupport, right? I'm al

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Ok, that makes sense. How would I set that up? Right now, I have an index.jsp with the following: . This is so that someone accessing the site via http://localhost/ will be presented with the login page. Mark On 10/09/2008, at 10:20 AM, Dave Newton wrote: Ah; there we go. The attached

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
GREAT! That fixed it! I'll update the Jira. Thanks for your help!!! Mark On 10/09/2008, at 10:50 AM, Dave Newton wrote: --- On Tue, 9/9/08, Mark wrote: Ok, that makes sense. How would I set that up? Right now, I have an index.jsp with the following: . This is so that someone acce

Re: How to get http and https port # from struts-config in filter?

2004-05-08 Thread Mark Lowe
The api you want would be the servlet api request.getScheme() On 8 May 2004, at 18:35, Martin Alley wrote: Hi, I have a servlet filter to handle session timeouts. This filter needs to redirect to an http page so that the new session works in both http and https, so a forward is no good as the

Re: sending emails from a struts app

2004-05-18 Thread Mark Lowe
wouldn't something like this do what you're talking about? try { Transport.send(msg); } catch (Exception e) { ActionMessages errors = new ActionMessages(); errors.add("mail",new ActionMessage("mail.pearshaped.error"); saveErrors(request, errors); } On 18 May 2004,

Re: Problem with number formatting

2004-05-19 Thread Mark Lowe
You could try something like On 19 May 2004, at 13:12, [EMAIL PROTECTED] wrote: Hi I see a kind of strange behaviour with the Struts html tags. When on a form I have a html:text field which displays a number, say 1.2 it displays as "1.2", but according to the locale I am using it should display a

RE: Validator Framework, WHAT's UP !!!!

2004-05-23 Thread Mark Mandel
What does your Application.properties file look at? (or whatever you call your resource file) Mark -Original Message- From: ksitron [mailto:[EMAIL PROTECTED] Sent: Sunday, 23 May 2004 7:22 AM To: Struts Users Mailing List Subject: Validator Framework, WHAT's UP I'm

Re: Struts - not compatible with IE 5.2 on MacIntosh???

2004-05-27 Thread Mark Lowe
but so far seems to be working fine, was the problem on a deployed apache to tomcat (jk and all that jazz) or just using built in http server? Cheers Mark On 27 May 2004, at 05:35, Joe Germuska wrote: At 10:38 PM -0400 5/26/04, David Friedman wrote: Kendell, Have you turned on Javascript debuggin

Re: Struts - not compatible with IE 5.2 on MacIntosh???

2004-05-27 Thread Mark Lowe
e dev and stage configurations use tc 5.19 while the live deployment is new using 5.24. Mark On 27 May 2004, at 09:34, Mark Lowe wrote: I saw this thread and thought I'd give things a test, but as far as I can see I've a file upload working fine with MSIE 5.2. Why anybody would be silly enough to

Re: id attribute and struts not supported

2004-05-27 Thread Mark Lowe
styleId="" renders to id="" http://jakarta.apache.org/struts/userGuide/struts-html.html On 27 May 2004, at 12:16, Ayoub, Ashraf A wrote: Dears, I have HTML code with lots of attribute id in any of its tag, the problem when I convert to struts 1.1, ID is not a valid attribute in struts, the problem

Re: Struts - not compatible with IE 5.2 on MacIntosh???

2004-05-27 Thread Mark Lowe
+0200 5/27/04, Mark Lowe wrote: I've just tested on our staging server. Apache 2 + jk2 the same app, with msie 5.2 mac. And the same multipart form including an image upload worked just fine. Hm. I use Safari and Firefox almost completely these days, but I could swear that we'd run i

Re: presentation tag

2004-05-27 Thread Mark Lowe
This should sort you out. On 27 May 2004, at 22:54, Kathy Zhou wrote: How could I show 3 elements of a ArrayList per line on the page with tag. My code is: HashMap ilist =..; Its value is a ArrayList of javabeans having getter/setter methods. c:out value="${vissue.key}"/>

Re: how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
What happens if you try this in your page? <%= "JSP Works!!!" %> On 28 May 2004, at 11:05, [EMAIL PROTECTED] wrote: Hi Janarthanan,         I tried that, Im getting '<%= index.intValue()%>' in doThis() and not the value. Regards Subramaniam "Janarthan Sathiamurthy" <[EMAIL PROTECTED]> 05/28/2

Re: how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
esitate in putting forward in the face of such conviction. On 28 May 2004, at 11:25, [EMAIL PROTECTED] wrote: Scirptlets will not work within a html struts tag. If you want to use scriplets use a normal html tag instead. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED]

Re: how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
t such a confident statement, but I fear I'm right. On 28 May 2004, at 11:46, Janarthan Sathiamurthy wrote: Hey Mark, I am sure you r wrong. If u check the struts-html.tld for 'text' u find - onblur false true This means we can specify the onblur value as a run time

attribute name for forward

2004-05-28 Thread Mark Stacey
).getAttributeName(), userForm); this way if the attribute of the second action changes, I won't have to change the code for the first action thanks Mark Mark Stacey I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie Use of Vodafone Mail i

Re: how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
Which bit? The no scriptlets in jsp tags? or vice versa..? On 28 May 2004, at 15:04, Michael McGrady wrote: This is not true. At 02:36 AM 5/28/2004, Mark Lowe wrote: Scirptlets will not work within a html struts tag. If you want to use scriplets use a normal html tag instead. Thats the first I

Re: RE : how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
alue() + ")" %>'/> When using <%= %> you need to put everything in it. Hope it help .. hope I'm right :-) Ciao /David -Message d'origine- De : Mark Lowe [mailto:[EMAIL PROTECTED] Envoyé : May 28, 2004 05:54 À : Struts Users Mailing List Objet : Re: how to

Re: RE : how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
But then again, the only sensible answer on this thread was martin's. On 28 May 2004, at 15:25, Mark Lowe wrote: Interesting.. Didn't work as i originally predicted.. But as you said this puppy did.. " /> On 28 May 2004, at 14:38, David Gagnon wrote: Hi If I remembrer correct

[friday]Re: [OT] Re: RE : how to send the 'index' to javascript function

2004-05-28 Thread Mark Lowe
to us all, in the Xtreme view of things. LOL I love giving Mark advice because he is such a sweetheart as a rule and rarely provides one the opportunity to be all puffy. LOL Michael At 06:27 AM 5/28/2004, Mark Lowe wrote: But then again, the only sensible answer on this thread was martin&#

Re: Memory Issues

2004-05-28 Thread Mark Lowe
If its on a live deployment and your using tc 5.019 with jk 1 then upgrade to 5.024 (Look for the decoding error in the logs). If its a dev server and you get this when you reload webapps, it just happens. TC5 is better than 4.1 but still eventually happens. Scoping to request will help reduce

Re: nested tiles:insert tags

2004-05-29 Thread Mark Lowe
or or This will work in inserted tiles as the variable is scoped to the request rather than page. On 28 May 2004, at 13:03, Colm Garvey wrote: Has anyone been able to nest tiles such that placeholders in the topmost frame can be populated by another tile 2 levels down? For example, I have

Re: [OT] Why do you keep torturing me shaikh.sohrab!

2004-05-31 Thread Mark Lowe
I did once but the doctor gave be a cream to clear it up. On 30 May 2004, at 22:02, Michael McGrady wrote: I didn't even know you had a "shaikh.sohrab", Rick! LOL At 07:58 AM 5/30/2004, Rick Reumann wrote: "Why do you keep torturing me shaikh.sohrab of rave-tech dot com!" -- Rick -

Re: Hibernate configuration problems

2004-06-01 Thread Mark Lowe
se of you classpath /WEB-INF/classes/hibernate.cfg.xml Mark On 1 Jun 2004, at 10:12, Marco Mistroni wrote: And which app server r u using? I have used plugin with jboss and everything looks fine for me... Regards marco -Original Message- From: Zaid [mailto:[EMAIL PROTECTED] Sent: 1

Re: Hibernate configuration problems

2004-06-01 Thread Mark Lowe
Perhaps there are better ways but this works http://www.hibernate.org/42.html it will certainly avoid jndi problems and give you breathing space. On 8 May 2004, at 11:47, Zaid wrote: HI Marko and Mark and all friends in this Group, Thanx alot for being such a help for me, anyhow, does any one has

Re: [OT] JSF Tutorial

2004-06-01 Thread Mark Lowe
The http://horstmann.com/corejsf/ link looks really good. I've got all the available chapters of JSF in action and so far I'm not that impressed. Its a lot of IDE stuff, that I really cant be arsed with. But the horstman link looks like the canine's genitalia. On 1 Jun 2004, at 21:09, Michael M

Re: workers2.properties

2004-06-01 Thread Mark Lowe
you want. The only problem you might get with jk2 is when your path has lots of slashes.. I had to check the head version out of cvs to get it working. And tend to use jk1 for production, and jk2 for staging only (just to test it out more). Mark On 1 Jun 2004, at 18:00, David Cervig

Re: AW: Struts Tag Library

2004-06-02 Thread Mark Lowe
or a long time, but I was wrong. Mark On 2 Jun 2004, at 12:31, Rosenberg, Leon wrote: <2cents> If you plan to use model 1 -> use jstl If you plan to use model 2 -> use struts :-) Leon -Ursprüngliche Nachricht- Von: Andrea M [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2.

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Mark Lowe
With the stable release of 1.1 you need to pass the parameter through usually /foo.do?method=save but to get the unspecified method running /foo.do?method suck it n see. On 2 Jun 2004, at 17:07, Kamholz, Keith (corp-staff) USX wrote: Yeah, I have basically that code for the submit buttons. Isn't th

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Mark Shifman
ne of the buttons... - Keith -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 11:21 AM To: Struts Users Mailing List Subject: Re: [SOLVED] Default methodName for DispatchAction With the stable release of 1.1 you need to pass the parameter through u

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Mark Lowe
ng to do new sort of browsing interface so I won't have to use the form with multiple submits. Thanks for all the help though, the tips will come in handy I'm sure. - Keith -----Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 2:58 PM To: Str

Re: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-03 Thread Mark Lowe
+1 On 3 Jun 2004, at 14:30, Frank Zammetti wrote: I'm going to pull a Bill Gates here... "UltraEdit and a command prompt should be enough for anybody!" Seriously though... I know many people swear by this IDE or that IDE, but I've done a large number of projects ranging from small ones to huge on

Re: Why not Torque?

2004-06-03 Thread Mark Lowe
ference is that torque has a table based api, where hibernate has a stronger bias towards Objects. I'll have to give torque another go to have a better idea, but your question "Why not torque?" is as good a reason as any to stick with it. Mark On 3 Jun 2004, at 16:35,

Re: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Mark Lowe
clarity of centralising your jars while not comprimising anything with the container spec. Mark On 4 Jun 2004, at 08:04, [EMAIL PROTECTED] wrote: I think I am wrong. my experiment went a little wrong. soory about that. I think lib cannot be subdivided. Brati Sankar Ghosh Tata Consultancy

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Mark Lowe
I'm not sure, but i think bill thought the world a better place if applications associate file types according to the file suffix. it will need .pdf at the end of the filename. filename=\"" + attachment.getFileName() + "\".pdf" could fix it. On 4 Jun 2004, at 14:37, Dean A. Hoover wrote: Sorry if

Re: Aw: Re: Reload Ressources on the fly

2004-06-05 Thread Mark Lowe
This guy explains and supplies the code on how to reload when a change is made to struts-config.. You could adapt it to deal with properties files (maybe) http://www.brainysoftware.com/ On 4 Jun 2004, at 16:36, [EMAIL PROTECTED] wrote: Thanx James, that was the point. I have another question, is

Re: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Mark Lowe
bracadabra widget to do this for you. It would depend on what language you where porting to. Mark On 9 Jun 2004, at 11:42, Heligon Sandra wrote: Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to c

A Select tag nested inside an iterate tag and Form that contains a String[] how do I do it?

2004-06-10 Thread Mark Palmer
I have a In my jsp I have a Form object which contains String[] userIds which is correctly populated with a list of userIds I want to display each of this in a list of select boxes (one select box for each element of String[] userId) I have the following code in my jsp

Re: Struts 1.2.x binaries download?

2004-06-11 Thread Mark Lowe
You'll want to look at the nightlies. http://cvs.apache.org/builds/jakarta-struts/nightly/ Mark On 11 Jun 2004, at 14:08, Illya Kysil wrote: Hi all, Are there any Struts 1.2.x binaries downloads available? http://jakarta.apache.org/site/binindex.cgi reports 1.1 is the latest. -- Illya

Re: Struts 1.2.x binaries download?

2004-06-11 Thread Mark Lowe
nts for release are stricter than when 1.1 came out. But there's certainly a hive of activity going on to get 1.2 released. Mark On 11 Jun 2004, at 15:48, Illya Kysil wrote: Mark Lowe wrote: You'll want to look at the nightlies. http://cvs.apache.org/builds/jakarta-struts/nightly/ T

jsp document/xml and struts

2004-06-11 Thread Mark Shifman
I have been trying to make a jsp document work and display. I'm using tomcat5 and mosiac 1.6. and struts 1.1 I have saved my document as a jspx file and have tried a variety of ways to add links to a stylesheet. mosiac tells me this : This XML file does not appear to have any style infor

Re: The html:link Tag

2004-06-13 Thread Mark Lowe
try and forget the rest. Mark On 12 Jun 2004, at 23:56, Caroline Jen wrote: Thanks for the reply. If I use the html:link tag and I have one parameter, how do I use the paramId/paramName/paramProperty? For example, I have: what should I do when I convert it to html:link Caroline --- Niall

Re: Newbie FORM authentication problems with a Struts app - TC 5.0.25

2004-06-15 Thread Mark Lowe
try this. On 15 Jun 2004, at 11:15, Adam Lipscombe wrote: Folks, Apologies - this may be a Tomcat issue rather than Struts. I am trying to configure Tomcat FORMS based authentication with a JDBC realm (MySQL). I have added the MySQL driver to the server.xml and configured the Login.jsp page th

Re: Simple struts question. (tiles ... )

2004-06-15 Thread Mark Lowe
If you mean how can you use a tiles definition as an action forward. Use a blank action that forwards to your definition, All the action does is returns a forward called success or whatever you choose. On 15 Jun 2004, at 15:50, Bullard, James wrote: 1.) Is there any way to have a

Re: LookupDispatchAction and Form validation + DispatchAction

2004-06-16 Thread Mark Lowe
e javascript generated for you, and validation is harder to palm off on a site builder (this would depend on who in your team deals with this stuff). There are other advantages to using action forms over dynaaction forms that go beyond the scope of this response. Mark On 16 Jun 20

Re: Theoretical debate

2004-06-17 Thread Mark Lowe
JSP. Where struts would perhaps be handier would be when you need to stick a weblayer on something thats running already. But then i don't see any huge problems doing this in JSF either. I just hope the file upload support happens soon, and i can start do all my forms in JSF. Mark On 17

Re: tomcat 5 breaks my tiles

2004-06-17 Thread Mark Lowe
I've been using tiles quite happily with tc5. But i never use get. I always use useAttribute and then just el to display stuff. <%@ page isELIgnored="false" %> <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> ${foo} could be a solution for you. On 18 Jun 2004, at 00:28, Matt Bathj

Re: OT - why to get an answer to a j2ee install question?

2004-06-21 Thread Mark Lowe
t et al. I wouldn't worry about those PC user type packages, you wont be missing out on anything. Just get the bits you need when you need them, you'll understand what you're doing better also. Mark On 21 Jun 2004, at 19:05, Anderson, James H [IT] wrote: Sorry this is off-topic, b

2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
A question came up the other week/month where someone nesting 2 deep and was trying to use a 2 dimesional array. I had the some problem today and had my chance to combine indexed and mapped properties to solve the problem. I want to create a Restaurant Menu editor. So a menu has a few properti

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
Not quite.. hang on. On 25 Jun 2004, at 00:14, Mark Lowe wrote: A question came up the other week/month where someone nesting 2 deep and was trying to use a 2 dimesional array. I had the some problem today and had my chance to combine indexed and mapped properties to solve the problem. I want

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
No needs a rethink . indexed="true" uses whatever iteration tags that its between.. Arses,, drat and double drat. On 25 Jun 2004, at 00:27, Mark Lowe wrote: Not quite.. hang on. On 25 Jun 2004, at 00:14, Mark Lowe wrote: A question came up the other week/month where someone nesting 2

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
eys array-%> renders to On 25 Jun 2004, at 01:09, Mark Lowe wrote: No needs a rethink . indexed="true" uses whatever iteration tags that its between.. Arses,, drat and double drat. On 25 Jun 2004, at 00:27, Mark Lowe wrote: Not quite.. hang on. On 25 Jun 2004, at 00:14, Mark Lowe wrote:

Re: AW: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
I haven't played with netsted tags for a while, I always preferred seeing where in indexed properties were. I have to confess it completely escaped my attention. Mark On 25 Jun 2004, at 13:55, René Zbinden wrote: I'm not sure if i got the problem correctly. But have a look at the nes

Re: AW: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
Sat under my nose all the time :o) On 25 Jun 2004, at 15:06, Mark Lowe wrote: I haven't played with netsted tags for a while, I always preferred seeing where in indexed properties were. I have to confess it completely escaped my attention. Mark On 25 Jun 2004, at 13:55, René Zbinden

Re: Getting index value of iteration

2004-06-25 Thread Mark Lowe
Thanks Rick. You've shown me exactly how to do what i need do and I didn't even ask the question :o) 2 deep indexed properties and no nested tag llib. On 25 Jun 2004, at 16:03, Rick Reumann wrote: Wendy Smoak wrote: From: Tom McCobb [mailto:[EMAIL PROTECTED] In another section of the page I d

Re: Getting index value of iteration

2004-06-25 Thread Mark Lowe
I'm using spring too, albeit not for the web stuff. Haven't looked into spring web tier wise, not sure it has anything for forms. On 25 Jun 2004, at 17:23, Rick Reumann wrote: Mark Lowe wrote: Thanks Rick. You've shown me exactly how to do what i need do and I didn't even

Re: Converting Java Code in JSP to JSTL

2004-06-26 Thread Mark Lowe
The article != preArticle I am not quite sure. At least in terms of how the el works (not nesting el). Cant see the point in porting this to JSTL unless there's nothing else to do. I'd sooner copy and past the java in the jsp page into an action like bill was saying. On 26 Jun 2004, at 11:48,

Re: [OT] Storing Birth Date

2004-06-26 Thread Mark Lowe
MVC, I could be wrong but I disagree. And also gets the action form doing a little more work. Mark On 26 Jun 2004, at 13:24, Eddie Yan wrote: Anyone know what is the best practices to store a person date of birth ? How should we design our detail object, JSP and database in such way we don&#

Nested dispatch action

2004-06-27 Thread Mark Lowe
lse looked into this? It would seem a common enough problem. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
a bit heavy going. On 27 Jun 2004, at 12:42, Mark Lowe wrote: I've been looking through the struts source with a view to trying to find a way of handling nested dispatch actions. Basically the problem is passing through an index or key to the getMethodName (MappedDispatchActi

Re: EJB + Struts + Hibernate

2004-06-27 Thread Mark Lowe
+1 You'll want to look at spring whether you want to use EJB or Hibernate. On 27 Jun 2004, at 16:02, Bryan Hunt wrote: I don't believe it is unless you feel that the application will need to be distributed across a cluster. I use the (excellent) spring framework ( springframework.org ) so that I

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
x27;s something on quite as simple as i perhaps first imagined. Ideas? On 27 Jun 2004, at 13:15, Mark Lowe wrote: The only means i've thought this could be possible would be to iterate through the parameter names enumeration like this.. Enumeration parameterNames = request.getParameterName

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
I gave up my tree barking with that last approach and simply defined a index int with get and sets in my NestedDispatchAction class. Now when i submit my indexed button .. But getMethodName called in my execute method returns null. null[index] On 27 Jun 2004, at 17:05, Mark Lowe wrote: I'v

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
ch action in my methods map. On 27 Jun 2004, at 19:25, Rick Reumann wrote: Mark Lowe wrote: I've been looking through the struts source with a view to trying to find a way of handling nested dispatch actions. I don't think it matters what kind of action it is, but maybe I'm missing w

Re: EJB + Struts + Hibernate

2004-06-27 Thread Mark Lowe
#x27;s app fuse follows the same pattern. Mark On 27 Jun 2004, at 19:40, Michael McGrady wrote: What's so special about SPRING? I am always interested in application frameworks. Can anyone give a quick synopsis of the pluses and minuses? Micahel At 07:42 AM 6/27/2004, Mark Lowe wrote: +1

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Mark Lowe
rting around several files, and also generating the xml means that it undergoes preliminary validation. Maven. I just haven't had the silly amount of time required to get anything going with this. Mark On 27 Jun 2004, at 23:13, Rick Reumann wrote: Andy Akins wrote: but I'm fairly n

Re: EJB + Struts + Hibernate

2004-06-28 Thread Mark Lowe
The only thing thats stopped me using ibatis is that there's no xdoclet template thus the need to edit and maintain a bunch of mapping files, "YAWN". Mark On 28 Jun 2004, at 02:11, Vic Cekvenich wrote: EJB is heavy, therefore slow and less scaleable. So in order to support a he

Re: EJB + Struts + Hibernate

2004-06-28 Thread Mark Lowe
+1 If your interfaces are in place you can pretty much change the persistence layer to whatever you like very quickly. I'll check ibatis 2 out if it does mean editing lots of xml files :o) On 28 Jun 2004, at 10:54, <[EMAIL PROTECTED]> wrote: On 04/06/28 8:55, "Mark Lowe&qu

Re: Struts, Dreamweaver, and JSP

2004-06-29 Thread Mark Lowe
If you want to have valid accessible html why use dreamweaver? Seems a contradiction in terms. I'd be more concerned with the ropey generated code than the html rendered by struts tags. On 29 Jun 2004, at 17:43, McCormack, Chris wrote: use wget -r http://www.site.co.uk to save your html to disk

Re: why do we need to integrate tomcat with apache webserver and how.pls urgent

2004-06-30 Thread Mark Lowe
pache with jk, even at delivering the static content. If you just have a couple of apps in an intranet type situation (you know how many users) its worth considering using tomcat's http server. Mark On 30 Jun 2004, at 09:34, Nicolas De Loof wrote: Apache is handling static datas according

Re: [OT] Netscape 7.1 WOW!

2004-06-30 Thread Mark Lowe
To my knowledge netscape is a stable grab of mozilla slightly propagandized with netscape logos. Firefox is a lighter version of mozilla, without all that silly mail/new reader jism and focuses on being an html browser. But basically they're all the same thing. On 1 Jul 2004, at 02:04, Michael

Re: issue

2004-07-01 Thread Mark Lowe
If theList is a List that cast it to an array theList.toArray() On 1 Jul 2004, at 14:01, John Antonakos wrote: i had something like this: , property="a2"/>"> i changed it and now i have something like this: As you see i

Re: issue

2004-07-01 Thread Mark Lowe
? I found a solution myself, to combine the 2 fields and pass an a4 param which is actually the combined a1,a2. But i was searching for a Struts solution, not a Java one. John - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List&quo

Re: Urgent help needed on struts!

2004-07-01 Thread Mark Lowe
cat 5 so it should dig el. If nothing else works you could try and stick <%@ page isELIgnored="false" %> in the top of your jsp's. So see what the servlet spec is, and what version of tomcat you version of jboss is running. Perhaps try the tomcat list archives and see if any

Re: unable to set html-el:link parameters

2004-07-01 Thread Mark Lowe
Seeing as you're using jstl, there's more that one way but you might "> or perhaps But i haven't used the htm-el lib in a while so could be wrong. Mark On 24 Jun 2004, at 19:06, Bryan Hunt wrote: Good evening list users. I have been trying to get html-el to wor

Re: Urgent help needed on struts!

2004-07-01 Thread Mark Lowe
stance"; version="2.4"> action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 1 cacheControl com.embisoft.embicast.servlets.CacheControlFilter action *.do .. Thank you. Ding Lei On Thu, Jul 01, 2004 at 06:5

Re: unable to set html-el:link parameters

2004-07-01 Thread Mark Lowe
opps.. You need to access a method in you ForRentalProperty class if there's a getId() method then add paramProperty="id" On 1 Jul 2004, at 19:17, Mark Lowe wrote: Seeing as you're using jstl, there's more that one way but you might "> or perhaps But

Re: Urgent help needed on struts!

2004-07-01 Thread Mark Lowe
You could try removing And hope that works, otherwise I haven't had much to do with 2.4 web.xml 's as xdoclet only support 2.3 and under.. Mark On 1 Jul 2004, at 19:37, Ding Lei wrote: Hi Mark, Thank you very much for your fast reply. I was told that there are much d

Re: unable to set html-el:link parameters

2004-07-01 Thread Mark Lowe
7;d probably be better doing that. ${property.name} Using el outside of Mark On 24 Jun 2004, at 19:29, Bryan Hunt wrote: Cheers Mark, You were correct, it is now working. Here is the correct code snip= =snip I can't help but think that the workings

Re: Urgent help needed on struts!

2004-07-02 Thread Mark Lowe
" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> Like wise was servlet spec would this appear to be? web-app_2_4.xsd Mark On 2 Jul 2004, at 04:49, Ding Lei wrote: Hi, thank you very much !!! It works, after I did everything you guys said ... I'm just not c

Re: [OT] Calendar How-to

2004-07-03 Thread Mark Lowe
If your model or SQL queries (depending on how you've done things) returns a list of events then put these where you can present them and list them in you tile. I don't see the problem you're having what do you have in terms of the data? a list or Event beans? On 1 Jul 2004, at 20:14, Ruffin,

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
What does your mapping look like? On 6 Jul 2004, at 10:18, John Moore wrote: Hi, I hope someone can help me get my head around a scoping question here. I have a multi-page wizard, used for purchasing. There are five pages in all and I'm trying to factor out as much of the common stuff as possible

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
You may have stuff configured to process such requests but an out the box version of struts would probably need to find a mapping such as On 6 Jul 2004, at 10:46, John Moore wrote: Mark Lowe wrote: What does your mapping look like? For the action in question: John

Re: more: Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-07 Thread Mark Lowe
o support keys also. It means recursively searching the parameter names enumeration but it doesn't seem that heavy yet (probably need to look at the size of forms and such like). Mark On 7 Jul 2004, at 03:32, Rick Reumann wrote: Axel Groß wrote: aaargh. Just found another problem. Seems th

multiple struts-config.xml and validator.xml files for dealing with "stories"

2004-07-13 Thread Mark Shifman
Ted Husted wrote: For a large, heavy-duty-input data-driven web application, I would recommend C. C) [Conventional class] is NOT used, data form validation is defined within the validation.xml and handled by struts, the Action class (or some surrogate) then enforces all business rules. I

Re: how to use controllerclasses with tiles?

2004-07-15 Thread Mark Mandel
Fahd, I've successfully implemented heaps of controller classes, but I'm having trouble visualising what you have done. Any chance of a code example? Mark On Fri, 16 Jul 2004 10:35:13 +0500, Fahd Ahmed <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use a control

  1   2   3   4   5   6   7   8   >