RE: [FRIDAY] uh oh

2005-06-24 Thread Mark Galbreath
ED]> Sent: Friday, June 24, 2005 1:34 PM > > If you are back here, does this mean we don't have to smell you anymore > on > #FunkyCodeMonkey on irc.darkmyst.org?:) > > Mark, by the way, your bos

[FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Mark Galbreath
http://www.catb.org/~esr/writings/let-java-go.html Words to ponder in an age of .NET and Python ascendancy! ~mark This email and any file transmitted with it may be

RE: [FRIDAY] uh oh

2005-06-24 Thread Mark Galbreath
d since I haven't used Struts since 1.0, thought I'd lurk around and see what's going on. Hilarious that the first 100 posts were dominated by Validator! hahahahah! I've been vindicated! ~mark PS Good to see you guys again, too. I notice Ted has been busy publishing.

RE: Validation while using LookupDispatchAction

2005-06-23 Thread Mark Galbreath
Your sure did: C#.NET makes stuff like this soo easy! Struts is dead. ~mark -Original Message- From: Vicky [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 2:48 PM But having different actions in struts-config. how would I call them in my jsp html:form ? because right now I

RE: running tomcat on port 80[Scanned]

2005-06-23 Thread Mark Galbreath
That would be the "Friggin' Ignorant Newbie Encyclopaedia?" ;-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 2:30 PM To: Struts Users Mailing List Subject: Re: running tomcat on port 80[Scanned] and yes I agree with Mark

Re: jsp vs jstl in Math

2005-06-23 Thread Mark Diggory
If your using a JSP 2.0 container (Tomcat 5.x), I think you should be able to use EL right on top of Struts taglib without any third party contibs. Others, correct me if I'm wrong here. -Mark Karr, David wrote: Use the Struts-EL taglib, provided in the "contrib/struts-el"

RE: running tomcat on port 80[Scanned]

2005-06-23 Thread Mark Galbreath
.0.54 on SuSE 9.3 Pro and Red Hat Enterprise AS 4.0-U1 in the next day or two, so if your issues are not resolved by then, I'll repost with particulars. RTFM! ~mark -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 12:55 PM To: Struts Use

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Mark Galbreath
Your root problem is using Validator in the first place. (1) It is a bogus design from the start, and (2) it never has worked as advertised. ~mark -Original Message- From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 8:39 AM To: Struts Users Mailing List

RE: Eclipse plug-in for Struts

2005-06-23 Thread Mark Galbreath
huh? Me thinks you better be reading the J2EE spec first ~mark On 6/23/05, Arash Bijanzadeh <[EMAIL PROTECTED]> wrote: > Me too am searching for a plugin for Eclipse to be able to write my J2EE > components like ... XML HT

RE: Validation & Anchoring

2005-06-22 Thread Mark Galbreath
Validator is crap...and always has been. If you look in the archive, you will see more complaints about Validator working over the past 3 years and any other 2 subjects combined. ~mark Rick -> byte me -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednes

RE: ActionForm losing Collection/Map property on forward

2005-06-16 Thread Mark Benussi
able, but giving the form a scope of session will persist this HashMap for you (unless you reset it). Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: 16 June 2005 11:53 To: 'Struts Users Mailing List&#

ActionForm losing Collection/Map property on forward

2005-06-16 Thread Mark Benussi
My ActionForm has a HashMap which backs its values. Before I enter JSP 1 I populate the HashMap with values which are then displayed on the page. I then submit the form to an Action which processes the values submitted and then forwards on to a JSP. The problem is that the HashMap has l

RE: [OT] Validating email addresses

2005-06-16 Thread Mark Benussi
Or use an AJAX piece of functionality instead of hidden frames. -Original Message- From: Nitesh [mailto:[EMAIL PROTECTED] Sent: 16 June 2005 06:18 To: Struts Users Mailing List; Richard Reyes Subject: Re: [OT] Validating email addresses Richard, JavaScript validations are majorly done o

RE: Switching between http and https in struts-config

2005-06-13 Thread Mark Benussi
Yep you need to use http://sslext.sourceforge.net/ -Original Message- From: Dan Tenenbaum [mailto:[EMAIL PROTECTED] Sent: 13 June 2005 20:45 To: user@struts.apache.org Subject: Switching between http and https in struts-config Hi, I'm new to the list. I'm working on a webapp where some

Iterating Hashtable collection in ActionForm

2005-06-13 Thread Mark Benussi
I wish to write out some values of a Hashtable using the nested tags. I have read the documentation and know I have to refer to either the key or the value property to access the underlying data but get the following message when accessing the JSP/Form bean combination detailed below. Error 500:

nested:iterate problem on Hashtable

2005-06-13 Thread Mark Benussi
I wish to write out some values of a Hashtable using the nested tags. I have read the documentation and know I have to refer to either the key or the value property to access the underlying data but get the following message when accessing the JSP/Form bean combination detailed below. Error 500:

Re: [OT] using JSTL with escapeXML="false" for preview HTML

2005-06-11 Thread Mark Benussi
sers Mailing List Subject: Re: [OT] using JSTL with escapeXML="false" for preview HTML Date: Sat, 11 Jun 2005 00:36:40 -0700   is a non-breaking space. Regular space is just &sp; On 6/11/05, Mark Benussi <[EMAIL PROTECTED]> wrote: >   > > -Original Message--

RE: [OT] using JSTL with escapeXML="false" for preview HTML

2005-06-11 Thread Mark Benussi
  -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: 10 June 2005 20:00 To: user@struts.apache.org Subject: Re: [OT] using JSTL with escapeXML="false" for preview HTML What's an 'html special space char'? Lixin Chu wrote: > Hi, > I am trying to pre

Re: Tomcat Struts form population problem in PRODUCTION

2005-06-07 Thread Mark Benussi
truts Users Mailing List Subject: Re: Tomcat Struts form population problem in PRODUCTION Date: Tue, 07 Jun 2005 12:22:13 +0300 Mark Benussi wrote: There is no security implemented. Is it possible that the JSP is not session aware and thus a session is not created to carry the fo

Re: Tomcat Struts form population problem in PRODUCTION

2005-06-07 Thread Mark Benussi
of security are you using? Container-managed? SSL? And what exactly do you mean? Which values disappear? The login form fields? On 07/06/05 07:08 Mark Benussi wrote: I am submitting a Struts form in my live application but the values seem to be getting lost between my browser and the

Tomcat Struts form population problem in PRODUCTION

2005-06-06 Thread Mark Benussi
I am submitting a Struts form in my live application but the values seem to be getting lost between my browser and the population of my ActionForm. This only happens if the login page is the first request of the session. If you click around on the site (even once) and then submit the form the v

RE: Avoiding attacking server

2005-06-05 Thread Mark Benussi
Is it possible to set this in any other way as I don't have access to my httpd.conf with my current hosts. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 05 June 2005 14:58 To: Struts Users Mailing List Subject: Re: Avoiding attacking server set your MaxClients di

OT Friday - Random sorting

2005-06-03 Thread Mark Benussi
Hello. I am trying to write a comparator that randomly sorts a collection. I have something like this: new Comparator() { /** * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */ public int compare(Object object1, Object object

Re: Seeking Advice Error Handling

2005-06-01 Thread Mark Benussi
Vote +1 Scott if you want to know if your database is down and then turn it off as a service you can do this via an inner TimerTask. I implement somthing along the lines of if the database is down, set its status as down with my service manager. Then you can write code to check the service m

RE: technique to show a preview of the image

2005-05-31 Thread Mark Benussi
Adam. If you make changes in your css they are reflected when the file is downloaded with the page. If the client has caching turned on the changes will only be reflected when the cache is cleared manually [CTRL + SHIFT + Refresh]. You can set various arguments on your JSP to enforce that the co

RE: technique to show a preview of the image

2005-05-31 Thread Mark Benussi
If you have a file in the database I would highly recommend persisting it to the file system anyway for performance reasons. A preview of a file is usually a scaled down version and from that point of view I would 'work' on the image to resize it to your required preview dimensions. -Original

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Mark Breitner
Hi - thanks for your answer. I am looking for a way to let strtuts automatically rewrite the urls. But in the book I am reading right now I can´t find any hint on how to do this. Can you tell me how to rewrite the urls, so that user / pwd are send with ? Bye, Mark Breitner > --- Ursprüngli

Newbie Question : Session Management without cookies

2005-05-27 Thread Mark Breitner
Hello, I just started with struts and wanted to implement an application that is able to do session management (f.e. user + password) even if the user has turned cookies off. what is the best way to do this ? With kind regards Mark Breitner -- Weitersagen: GMX DSL-Flatrates mit Tempo

RE: Easy form populate question for gurus

2005-05-20 Thread Mark Benussi
If your Database values are null then the corresponding Object should be null and not an Object Reference. Make sure when you read a ResultSet you call Integer column = null; int tmpColumn = results.getInteger("COLUMN"); if(!results.wasNull()) { // I think it is wasNull(). You don't need

[OT] JSP custom taglib issue in duplicate environments

2005-05-17 Thread Mark Benussi
I have two environments with the same mysql DB, both running the same war on tomcat 5.0 and I have a problem which I can only think may lie in my JSP taglib and its extra info. Essentially I call a tag three times in the same page, and depending on taglib arguments the tag should display data b

RE: Connection Leakage

2005-05-09 Thread Mark Benussi
will tell you the same thing. Imagine if you did not pool your Database resources, you would end up with an application with no connections available. Always in your finally do: try { conn.close(); } catch (Throwable te) { // Unecessary catch block } Regards, Mark -Original

Mapped backed property

2005-05-09 Thread Mark Benussi
I am going out of my tiny mind here... I have in my JSP In my struts config I have And in my Form class I have the following setter public void setAnswer(String questionKey, Object answerKey) { questionAnswers.put(questionKey,

RE: Way of reading this mailing list as a heirachy

2005-05-08 Thread Mark Benussi
: Way of reading this mailing list as a heirachy On 08/05/05 04:27 Kwok Peng Tuck wrote: > There's a pretty good e-mail client from mozilla.org, look for > Thunderbird there. Does everything you ask for bellow. > Mark Benussi wrote: > >> I use Outlook and was wondering if the

RE: URGENT: IBM Websphere & Struts 1.2.4 Clash...

2005-05-08 Thread Mark Benussi
The only solution to this is to ensure you have all the lastest patches and then download Struts 1.2.4. Then just copy the jar and tld files over the ones created in your web application when you generated the new project. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf O

Way of reading this mailing list as a heirachy

2005-05-07 Thread Mark Benussi
I use Outlook and was wondering if there was a way of reading all these messages as a hierarchy. I sometimes miss messages on a thread I was interested in.

RE: Seeking advice image resizing

2005-05-05 Thread Mark Benussi
:) Me too. Its on my list of things to do but from some research I did last week I found this gem http://developers.sun.com/solaris/tech_topics/java/articles/awt.html -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 14:07 To: user@struts.apache.org Subje

RE: HTML Stripping Spaces.

2005-04-28 Thread Mark Benussi
Hi Neil. This is what HTML does. If you really want a few spaces you will have to put 123   456   789 Original Message Follows From: "Neil Meyer" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: HTML Stripping Spaces. Date: Thu, 28 Apr 2

Re: Managing exceptions

2005-04-25 Thread Mark Shifman
efine this general strategy. You can also extend ExceptionHandler and introduce your own error logging behavior or other specialized operations. Hope this helps, Joe -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] looking for salary surveys

2005-04-20 Thread Mark Benussi
Erik, I think it would help if you started by telling readers where you live (Country and Region). I assume my current rates, paid in Albanian Leke will be of little use to you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 16:55 To: user@strut

RE: Editing jsp pages

2005-04-19 Thread Mark Benussi
Joe, this message pops up every once in a while. FCK Editor is popular http://www.fckeditor.net/demo/default.html However I wrote my own, don't groan ;), based on this because I wanted to work with the back end integration more. An editable div is essentially the best way to go. -Original M

RE: Displaying data :: Best practise

2005-04-19 Thread Mark Benussi
Great Question, If I was to use an ActionForm to populate my presentation layer, how would I go about it. Would I use a struts tag, or this jstl I hear people going on about (I know one day I should rtfm). An example of displaying a value as text in my JSP from a form bean (myform) with property f

user@struts.apache.org

2005-04-15 Thread Mark Benussi
When inserting a tile into my jsp I am receiving an error after migrating to struts.1.2.4 org.apache.struts.taglib.tiles.InsertTag TRAS0014I: The following exception was logged com.ibm.ws.webcontainer.servlet.exception.UncaughtServletException: Server caught unhandled exception from servlet [S

RE: repopulating dropdown menus when validation errors occur

2005-04-13 Thread Mark Benussi
Or... make the values static in the form. Therefore they will remain the same for all revisits to the page after validation. The values can also be repopulated at the start of the process as well. -Original Message- From: Mallikarjun Komma [mailto:[EMAIL PROTECTED] Sent: 13 April 2005 04:

RE: non editable tags

2005-04-12 Thread Mark Benussi
-Original Message- From: Anja Friedrichsen [mailto:[EMAIL PROTECTED] Sent: 12 April 2005 13:28 To: Struts Users Mailing List Subject: non editable tags Hi! is it possible to set radiobuttons, textfields and popdown lists to non editable within a struts-tag? I want to show examples in

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-12 Thread Mark Bennett
ue to follow the JPetSoreExample then can do server side validation the way that it does by extending the validate() method of BaseBean. Then you can set validate="true" in your struts-config. Mark On Apr 12, 2005 12:54 AM, Rick Reumann <[EMAIL PROTECTED]> wrote: > &

RE: Multiple struts-config.xml

2005-04-11 Thread Mark Benussi
Exactly what I was going to say James, I started to use modules, but switched to multiple configs as it was becoming a nightmare. All my actions in each config share a pattern like James suggested. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 11:42

RE: [REFERENDUM] Struts is a Community

2005-04-10 Thread Mark Benussi
Happy Birthday Ted many happy returns. IMHO Struts is still a product, BUT with the added benefit that is supported by a community of beginners experts and the like. I constantly delve into technologies and being a Jack of many but master of none I constantly find myself thinking 'I wish produc

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Mark Benussi
Even better use IBM's Page detailer. http://www.alphaworks.ibm.com/tech/pagedetailer -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 15:48 To: 'Struts Users Mailing List' Subject: RE: [OT]Tool to find amount of data transfered in web application

RE: change selected item in drop down list

2005-04-06 Thread Mark Benussi
PROTECTED] Sent: 06 April 2005 16:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: change selected item in drop down list Thanks for your answer Mark, I am new with JavaScripts and I tried your example, but it does not really work... I tried to do alert(options); a

RE: change selected item in drop down list

2005-04-06 Thread Mark Benussi
Yes you can select an option in a selection, but you would need to know the index of the option. form.elements['select'].options[i].selected = true; When generating the select using the html:options argument your presentation layer wont have much knowledge of the data passed so you will have to r

Reloading ApplicationResources

2005-04-05 Thread Mark Benussi
Sorry, cant search the archive list as the link seems to have broken. Does anyone know a way I can configure Struts to watch for changes in the application resources? If it is not possible is there a class I can overload to do it manually?

RE: Missing resource/Modules

2005-04-04 Thread Mark Benussi
You need to give one of them a key key="module1" and then in your use the bundle key to refer to the key. I cant remember the syntax for _ From: Michael Hansen [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 13:44 To: user@struts.apache.org Subject: Missing resource/Modules Hi,

RE: Define more than one messages.properties

2005-04-04 Thread Mark Benussi
Yes. Then when you refer to a message from a message resource defined above with a key just use the 'bundle' attribute of html:errors. -Original Message- From: Fleischle, Samuel [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 09:09 To: user@struts.apache.org Subject: Define more than o

Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-03 Thread Mark Lowe
ls with more than strings for form properties made it more feasible than with action form. Thanks Mark On Apr 3, 2005 10:34 PM, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Apr 3, 2005 2:34 AM, Mark Lowe <[EMAIL PROTECTED]> wrote: > > Craig > > > > This is

Re: Form Handling Question Generic

2005-04-03 Thread Mark Lowe
If I've understood the problem correctly, I think that a list backed form is what you are after. Search the archieves for "indexed properties" or last time I looked there was a wiki page explaining this. Marl On Apr 1, 2005 10:40 PM, Scott Purcell <[EMAIL PROTECTED]> wrote: > Thank you, > > I

Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-03 Thread Mark Lowe
okay thing to be doing? So far I've been just following the struts way of doing things albeit with JSF. Mark On Apr 3, 2005 1:24 AM, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Apr 2, 2005 8:38 AM, Erik Weber <[EMAIL PROTECTED]> wrote: > > I was playing a bit of devi

Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-02 Thread Mark Lowe
t in terms of comparing struts JSP vs JSF JSP, there are problems and advantages to both. I'd say know something (if not more) about both and other approaches for that matter. The choices will usually boil down to who you can get and what skills they have, not which is better or worse. Mark On

Re: what do you suggest me? iBatis or Hibernate

2005-04-02 Thread Mark Lowe
with relatively little work. Mark On Apr 2, 2005 3:31 PM, Larry Meadors <[EMAIL PROTECTED]> wrote: > When I started with iBATIS, it took less than an afternoon to get it working > in my application (that was using hibernate at the time, but an older > version that was *really* bad) a

sslext java.lang.ClassCastException in SecureRequestProcessor

2005-03-31 Thread Mark Shifman
han type="org.apache.struts.config.SecureActionConfig" on the action-mapping so I wouldn't have to setting the security property for every single action. When I look at line 102 that gives the error I am stumped as to why there should be a problem with the class cast. mapping = (

Recall: Give George Dubya a brain!

2005-03-30 Thread Thomson, Mark [IT]
EMAIL PROTECTED]>, "Leek Nicole \(E-mail\)" <[EMAIL PROTECTED]>, "Letti Adams \(E-mail\)" <[EMAIL PROTECTED]>, "Linda. Aloir \(E-mail\)" <[EMAIL PROTECTED]>, "Lisa Parkes \(E-mail\)" <[EMAIL PROTECTED]&g

FW: Give George Dubya a brain!

2005-03-30 Thread Thomson, Mark [IT]
EMAIL PROTECTED]>, "Leek Nicole \(E-mail\)" <[EMAIL PROTECTED]>, "Letti Adams \(E-mail\)" <[EMAIL PROTECTED]>, "Linda. Aloir \(E-mail\)" <[EMAIL PROTECTED]>, "Lisa Parkes \(E-mail\)" <[EMAIL PROTECTED]&g

RE: [HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Mark Benussi
document.forms['formBeanName'].elements['userId'].value = 'xyz'; if you invoke the Javascript from a form element, you can pass this reference and simply do: formReference.elements['userId'].value = 'xyz'; -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: 30 M

RE: Problem with hot deployment

2005-03-23 Thread Mark Bennett
For anyone who experiences this problem there is a fix. http://forums.bea.com/bea/message.jspa?messageID=202463602&tstart=0 Mark -Original Message- From: Mark Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:04 PM To: Struts-Users Subject: Problem with hot deploy

Problem with hot deployment

2005-03-22 Thread Mark Bennett
I'm trying to use hot deployment on an exploded archive with Weblogic 8 and struts 1.2. Whenever I modify and recompile an Action I get an exception. Does this look familiar to anyone? Thanks! Mark java.lang.ClassCastException

Re: Rewrite with Struts?

2005-03-21 Thread Mark Lowe
Hi Bernd You want this, does exactly what you want. http://tuckey.org/urlrewrite/ Mark On Mon, 21 Mar 2005 21:23:51 +0100, Bernd Schiffer <[EMAIL PROTECTED]> wrote: > Hi. > > I have a Struts webapp which can be called by > DOMAIN/action.do?param=value . Is there a way to c

Re: How to clear ActionForm before calling mapping.forward(...)???

2005-03-21 Thread Mark Shifman
You could request.removeAttribute("employeeForm") before the forward and a new actionForm would be made on the next round. Gaet wrote: Hello the list! I have an action-mapping with a forward action that recall the same action mapping in order to display other informations. My problem is that my for

RE: Typical Struts development team and distribution of tasks?

2005-03-11 Thread Mark Benussi
I agree, a good J2EE developer can take a UI from a designer (A Photoshop file or the like) and return a pixel perfect html representation as well as meeting the MVC business requirements. -Original Message- From: Radu Badita [mailto:[EMAIL PROTECTED] Sent: 11 March 2005 17:20 To: Struts

RE: Upper case converter in the view

2005-03-11 Thread Mark Benussi
Your could use css -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: 11 March 2005 15:22 To: 'Struts Users Mailing List' Subject: RE: Upper case converter in the view Brian, I believe the Jakarta-Taglibs Project will be able to do this: http://jakarta.apache.org

RE: Sorting of array lists

2005-03-10 Thread Mark Benussi
ve a class cast exception.finally I had to settle for a alofrithm where I wrote a sort method.I'm still looking for some different method. -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 2:39 PM To: 'Struts Users Mailing List'

RE: Sorting of array lists

2005-03-10 Thread Mark Benussi
Krishna, The below example uses a comparator which orders a collection of objects based on a property. You can make the criteria more complicated if you wish. import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; public class Test { public static void ma

RE: Reloading Configuration File

2005-03-04 Thread Mark Benussi
-- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 03 March 2005 22:52 To: Struts Users Mailing List Subject: Re: Reloading Configuration File From: "Mark Benussi" <[EMAIL PROTECTED]> > This action "went" in Struts 1.2 and I never found a replacement. > Any ideas any

RE: Reloading Configuration File

2005-03-03 Thread Mark Benussi
This action "went" in Struts 1.2 and I never found a replacement. Any ideas anyone? -Original Message- From: Jerry Tan [mailto:[EMAIL PROTECTED] Sent: 03 March 2005 18:02 To: Struts Users Mailing List Subject: Re: Reloading Configuration File Scott, I haven't looked at that section lat

Use of Tiles

2005-02-27 Thread Mark Benussi
I use tiles in my webapp but only to replace the deprecated struts template methodology. What I want to know is can I do define a tile.. Similar I suppose to a taglib. My jsp would look like the following

Re: java.util.Date vs java.sql.Timestamp

2005-02-23 Thread mark . bennett
Awesome, Thanks! >-- Original Message -- >Reply-To: "Struts Users Mailing List" >Date: Tue, 22 Feb 2005 16:30:38 -0600 >To: "Mark Bennett" <[EMAIL PROTECTED]>, >"Struts-Users" >From: Joe Germuska <[EMAIL PROTECTED]> >Su

RE: Tiles Tabs Example - Has anyone used this?

2005-02-22 Thread Mark Bennett
Hmmm. It doesn't seem to be on my machine :) 'localhost' -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:15 PM To: Struts Users Mailing List Subject: Tiles Tabs Example - Has anyone used this? Hi again Yes, I'm obsessed with Tiles.

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
ing the appropriate converter. My choice however is FormDef, precisely because of reason #1 (I use Hibernate with it) http://formdef.dev.java.net -Original Message- From: Mark Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:46 PM To: Struts Users Mailing List Subject:

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
1) save typing: casting, try/catch blocks, library calls 2) using iBatis and following the adivice of Clinton Begin in the manual: * The use of java.sql.Timestamp is discouraged. It is best practice to use java.util.Date instead. 3) want to know if it can be done Mark -Original Message

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
; } public Timestamp getMyDate() { return this.myDate; } Using this I can round round trip the date as Timestamp using only basic getters and setters. But I would PREFER it was java.util.Date which I can't get to work. Mark -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROT

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]

java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
value="Sat Jan 01 00:00:00 EST 2005". Any hints? Thanks. Mark class MyBean { private java.sql.Timestamp myDate; public setMyDate(java.sql.Timestamp myDate) { this.myDate = myDate; } } java.lang.IllegalArgumentException: argument type mism

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Mark Bennett
The DynaActionForm is great if you like to write scripting type code. I'd rather use encapsulation. Otherwise you'll have the same code repeated in a lot of your actions. -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:04 AM To: stru

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Mark Lowe
course = new Course(); course.setCode("ENG101"); course.setTitle("Introductory English"); student.addCourse(course); request.setAttribute("student",student); ... ${course.code} or Mark On Thu, 17 Feb 2005 11:48:51 -0500, Jerry Tan <[EMAIL PROTECTED]> wrote

Re: common information in every view

2005-02-17 Thread Mark Lowe
are a nice option. > >>I'm not sure how I would reload this > >>after a change was made to the underlying database (or even detect > >>that a change was made). You can repopulate the data whenever you like and from a struts action if you wish, the same way you would w

Re: ?

2005-02-17 Thread Mark Lowe
Similar to c:url, rarely useful for media like stylesheet, javascripts and images as appends session ids. Mark On Thu, 17 Feb 2005 10:11:49 -0700, Eric Lemle <[EMAIL PROTECTED]> wrote: > > definition is ... Renders a URI > > What exactly does this do? Is it similar to &

Re: common information in every view

2005-02-17 Thread Mark Lowe
If the menu is to be the same for all users, then I'd have a servlet that contructs the menu at startup and places it in the application context. Mark On Wed, 16 Feb 2005 17:29:37 -0700, Mr Maillist <[EMAIL PROTECTED]> wrote: > Hello, > > I am building an application

Re: Temp file being written to / with Font

2005-02-17 Thread Mark Benussi
Yes it did. Original Message Follows From: Shey Rab Pawo <[EMAIL PROTECTED]> Reply-To: Shey Rab Pawo <[EMAIL PROTECTED]> To: Mark Benussi <[EMAIL PROTECTED]> CC: user@struts.apache.org Subject: Re: Temp file being written to / with Font Date: Wed, 16 Feb 2005 13:20:50 -0

RE: Temp file being written to / with Font

2005-02-16 Thread Mark Benussi
Oh dear. I heard about something similar to this first time the other day. JDK 1.4 has a bug that does no release resources even when you release any Font objects. My company has had converstaion with Sun but what they ultimately recommend is upgrade to 1.5 Sorry, I cant provide more than

Retrieving properties from additional struts config file

2005-02-16 Thread Mark Benussi
I have defined the property in a second ApplicationResources.properties file. createTemplateKeywordsStage1Form.name.required = The name for the template keywords is required This file sits under a folder cm_module within the WEB-INF classes folder. This is referenced in my cm-struts-config.xml

RE: Proper n tiered exception handling

2005-02-15 Thread Mark Bennett
ility. Mark -Original Message- From: Ole Hildebrandt [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:21 PM To: 'Struts Users Mailing List' Subject: AW: Proper n tiered exception handling Hi. My personal opinion is, that the Struts Exception handling doesn't br

custom controls

2005-02-14 Thread Mark Bennett
I am looking for a good date picker along with other convenient web controls. Does anyone recommend anything other than struts-layout? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Session handling in Struts

2005-02-08 Thread Mark Lowe
Are you links being encoded? or Mark On Tue, 08 Feb 2005 15:23:52 +0530, Rajesh <[EMAIL PROTECTED]> wrote: > Hi: > > I haired that struts by default supports session handling. > > when i tried to disable in cookies in my browser and try to access my > site whic

RE: Fw: VERY IMPORTANT...

2005-02-07 Thread Mark Benussi
Thank you Senthil but please read: http://www.symantec.com/avcenter/venc/data/life.is.beautiful.hoax.html Original Message Follows From: "senthil Kumar" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Fw: VERY IMPORTANT... Date: Mon, 7 Fe

Re: Capturing input as html under the scenes

2005-02-01 Thread Mark Benussi
re Architect Omnytex Technologies http://www.omnytex.com On Tue, February 1, 2005 9:15 am, Mark Benussi said: > Jeff, 10 out of 10 go get yourself a coffee on me. > > Cheers, > > Mark > > Original Message Follows > From: Jeff Beal <[EMAIL PROTECTED]> &

Re: Capturing input as html under the scenes

2005-02-01 Thread Mark Benussi
Jeff, 10 out of 10 go get yourself a coffee on me. Cheers, Mark Original Message Follows From: Jeff Beal <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: Capturing input as html under the scenes Date: Tue, 01 Feb 2005 09:

Capturing input as html under the scenes

2005-02-01 Thread Mark Benussi
paragraphs etc but under the scenes it is producing the html. Giving them control to change colours and text style would also be good. As I sell my product I do not want to have to purchase a commercial plug in. Does anyone know a flash/applet way to do this? Cheers, Mark

custom validator stopped working

2005-01-27 Thread Mark Shifman
I have a very simple custom validator that checks if a select list has 1 or more selections. when I upgraded to struts 1.2.6 it stopped working. I have done all the things in http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd I also tried using the most recent

Re: UML and Struts

2005-01-18 Thread Mark Benussi
Well Jim I know you are a well respected man on this group but I would say in defence that the JSP is not invoking it is the url of the html in a users browser. The only place I could see a jsp living would be on the return call.

RE: UML and Struts

2005-01-18 Thread Mark Benussi
I would say that the action would be the first class that the User actor would invoke the execute method with. The next class would I suppose be the method of a manager that you invoke from the action and then whatever classes such as DAO's you invoke following that. Original Message Follow

Struts design for CRUD methods

2005-01-12 Thread Mark Benussi
. When I change a JSP I am having to maintain two pages which sounds trivial but to me shouts of bad design. The only difference between the pages is that they call different actions i.e. /order/create/stage1.do vs /order/update/stage1.do I would be interersted to know peoples thoughts. Cheers, Mark

Re: I must be missing something fundamental about Struts ...

2005-01-09 Thread Mark McWiggins
Thanks a bunch, that was it ... on to the next bug. :-) Curtis Taylor wrote: Hi Mark, Try changing the 'forward' to 'action' in your html:link tag: Sign in HTH, Curtis Mark McWiggins wrote: ... as I seem to get stuck on the simplest things. For example: Sign in

<    1   2   3   4   5   6   7   8   >