Re: Is Struts suitable for Java client?
I'm not sure the answer is no. Struts is not tied to forwarding to a jsp, or any other type of resource for that matter. In fact you can simply return null from an action and have the action generate the response itself. You may need to think about your problem a little differently (???), but if you write a client that understands the servlet request/response paradigm then you should be able to engineer a solution that uses the struts framework for the server side... Good Luck, Troy Gopalakrishnan Rangaswamy writes: NO -Original Message- From: Leslie Yu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: Is Struts suitable for Java client? Hi all, I'm going to develop a java application with java client on client side which talks to a controller servlet. The data transmitted between client and server may be serialized object. Does Struts support java client by outputting a serialized object as a HTTP response instead of forwarding to a JSP? If yes, would anyone give me some hints? Thanks. Best Regards, Leslie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: confusion about view part!!!
I am working on very large scale b2b portal containing Jsp pages which usus javascripts and style sheets in bulk. So, I am confused that view pages should be made directly using struts tag or it should be easy to make in html and then convert into struts. I am confused too. Since you have jsp pages, why do you bother to make them in html in Struts? You can simply forward whatever the jsp page (forward tag) that is registered in the struts-config.xml. In my company designers are not aware with struts so we are going to get html pages. do any one has idea that how difficult it is going to be if we converts html pages(with bulky javascript and stylesheets) into struts? You can mix servlet script, tags, and html in the jsp file. In the tags, e.g. html tag, you can set the style-sheet or javascript event attributes. It should not be hard. Also, designers are used to make pages using frames, so is there any problem using frames in struts or templates (or tiles) is better option? I have not used frames in my struts app. I don't know this. You can find what other people say in the mail archives. I heard lots of good things about Tiles. I am using template tags. I find it pretty handy. Please help me to sort out. Thanks in reading the mail. Amit Badheka. _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Re: Is Struts suitable for Java client?
Makes you wonder what the advantage of using struts might be then. Struts is a framework for mapping html form fields to bean properties (yeah, I know, there's a lot of other stuff in it, but if this wasn't in there, nobody would be using struts). Hey, I found a nice hammer, let's slice this cheese real thin! tomK Struts Users Mailing List [EMAIL PROTECTED] wrote: I'm not sure the answer is no. Struts is not tied to forwarding to a jsp, or any other type of resource for that matter. In fact you can simply return null from an action and have the action generate the response itself. You may need to think about your problem a little differently (???), but if you write a client that understands the servlet request/response paradigm then you should be able to engineer a solution that uses the struts framework for the server side... Good Luck, Troy Gopalakrishnan Rangaswamy writes: NO -Original Message- From: Leslie Yu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: Is Struts suitable for Java client? Hi all, I'm going to develop a java application with java client on client side which talks to a controller servlet. The data transmitted between client and server may be serialized object. Does Struts support java client by outputting a serialized object as a HTTP response instead of forwarding to a JSP? If yes, would anyone give me some hints? Thanks. Best Regards, Leslie -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
Great presentation Thanks a lot ...and yes...I've ordered your book a while ago;-))) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 29. August 2002 03:07 To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: confusion about view part!!!
Hi Amit, Converting static html pages into struts pages is a pretty common routine in medium/large projects, in which programmers get the mock-up pages from graphical designers. Using javascript and stylesheet shouldn't add any complication to the conversion process. One thing to watch out is that links to css may need to be modified to dynamically prepend the servlet context. Besides, the conversion process can be quite tedious and mechanical. infommercial-insert There are tools like Scioworks Camino which can automate the process. See http://www.scioworks.com/scioworks_camino.html for details. /infommercial-insert Frames and Struts are compatible. At 01:17 pm 29-08-2002, you wrote: Hi All, I am working on very large scale b2b portal containing Jsp pages which usus javascripts and style sheets in bulk. So, I am confused that view pages should be made directly using struts tag or it should be easy to make in html and then convert into struts. In my company designers are not aware with struts so we are going to get html pages. do any one has idea that how difficult it is going to be if we converts html pages(with bulky javascript and stylesheets) into struts? Also, designers are used to make pages using frames, so is there any problem using frames in struts or templates (or tiles) is better option? Please help me to sort out. Thanks in reading the mail. Amit Badheka. -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - Don't develop Struts Apps without it! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: java.lang.IllegalStateException: Already called getOutputStream()FINAL
It's really strange. I've found the problem. If the redirect page is a JSP or Servlet (Action included) the tag works well, but if the redirect page is a HTML, then I've the problem described here. Someone know the reason? I will change any html to jsp, but I'm interested in the cause of the problem. Thanks to all!! -Mensaje original- De: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 28 de agosto de 2002 10:33 Para: Struts Users Mailing List Asunto: RE: java.lang.IllegalStateException: Already called getOutputStream() Yes, its really strange. Do you use Tomcat 4.0.3 whith jdk 1.4? Thanks!! -Mensaje original- De: Rosdi bin Kasim [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 28 de agosto de 2002 10:18 Para: Struts Users Mailing List Asunto: Re: java.lang.IllegalStateException: Already called getOutputStream() I use CheckLogonTag which was copy-pasted from struts-example. The code returns SKIP_PAGE when authentication failed instead of SKIP_BODY like yours.. It works fine for me. - Original Message - From: Miguel Angel Mulero Martinez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 2:41 PM Subject: java.lang.IllegalStateException: Already called getOutputStream() I'm using the CheckLogonTag with my application. The tag works perfectly. If it returns SKIP_BODY (that happens when the user is not authenticated) I receive an java.lang.IllegalStateException: Already called getOutputStream(). If the user is authenticated, then the tag returns an EVAL_PAGE and the page loads perfectly. Someone can help me? Thanks in advance!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
html:image Problem
I want to use a rollover action on a submit image button The first example works fine with HTML attributes. But the second one doesn't work with Struts tags. Any idea ? Thanks. First example: A onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() href=/acas/vacances/control/accueil IMG src=/siquael/images/eqfcc.gif border=0 name=accueil_over /A Second example: html:image property=dispatch srcKey=image.eqfcc onclick=set('createEQF'); onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() /html:image and image.eqfcc=/siquael/images/eqfccpressed.gif defined in my applicationressource OK Javascript : function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null) { document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2]; } } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length; i++) if (a[i].indexOf(#)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];} } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;aia.length(x=a[i])x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf(?))0parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])d.all) x=d.all[n]; for (i=0;!xid.forms.length;i++) x=d.forms[i][n]; for(i=0;!xd.layersid.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x d.getElementById) x=d.getElementById(n); return x; } ATTENTION : Si vous n'êtes pas destinataire de ce message, vous n'êtes pas autorisé à copier, retransmettre, distribuer, révéler ou conserver le contenu de ce message. WARNING : If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Re[2]: Composite jsp files
Thanks man, this was exactly the info i needed. Going to check it right away... As you probably could guessed, struts is still a little bit new to me ! Anyway, thanks man Cheers, Leonard - Original Message - From: Dariusz Wojtas [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 6:20 PM Subject: Re[2]: Composite jsp files Maybe I misunderstood you, but ... Why can't you use the img tag? Image file isnot send in the same response that the jsp/html file is sent. Browser makes another call for the image after parsing the html code. Why don't you just print: img src='/myImgServlet?imgId=%= imgId %' ? And it works perfectly with the logic tags mentioned below. There is also no need to change the response type in the middle of writing to your output stream, because it is completely different call. You just set it once. And it will be served by separate servlet (here '/myImgServlet'). Dariusz Wojtas Wednesday, August 28, 2002, 5:44:40 PM, you wrote: LW Thanks John Cliff (prior answer). LW But john, unfortunately I can't use the img LW src tag since the images are directly retrieved LW from a database. It doesn't make sense to LW first (temporarily) store the images and then LW use the img source tag. Instead, I directly LW print the images by using the LW response.getOutputStream (or something similar) LW and setting the contentType + writing the bytes. LW Cliff helped me out by showing me the include LW tags, which i think can be very usefull. LW If this does not work, you will hear me scream ;) LW Regards, LW Leonard LW - Original Message - LW From: John Raley [EMAIL PROTECTED] LW To: Struts Users Mailing List [EMAIL PROTECTED] LW Sent: Wednesday, August 28, 2002 4:23 PM LW Subject: Re: Composite jsp files With Struts logic:equal tag: logic:equal ...img src=.../logic:equal Check the doc for the various logic:equal options. Leonard Wolters wrote: Is it possible to concatenate jsp files to one ? The problem i have now is that tomcat / catalina is complaining when I write multiple times to the outputstream. A nice: java.lang.IllegalStateException: getOutputStream() has already been called for this response is shown to me. My question is if anyone know how to concat jsp files, or to dymanically create jsp. The problem is as follows: I have a certain jsp file which may / may not show an image. Based on a particular (custom made) tag an image should be shown or not. In both cases, the rest of the page should remain the same. Does anyone has tips / suggestions how to do this T.i.a. Leonard -- Check it out: Map - JavaBean http://dynclass.sourceforge.net/ -- To unsubscribe, e-mail: LW mailto:[EMAIL PROTECTED] For additional commands, e-mail: LW mailto:[EMAIL PROTECTED] LW -- LW To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] LW For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Dariusz Wojtas mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: html:image Problem
Try to see the source generated by struts in the second example. -Mensaje original- De: BAYSSE Vincent (EURIWARE) [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 29 de agosto de 2002 10:42 Para: 'Struts Users Mailing List' Asunto: html:image Problem I want to use a rollover action on a submit image button The first example works fine with HTML attributes. But the second one doesn't work with Struts tags. Any idea ? Thanks. First example: A onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() href=/acas/vacances/control/accueil IMG src=/siquael/images/eqfcc.gif border=0 name=accueil_over /A Second example: html:image property=dispatch srcKey=image.eqfcc onclick=set('createEQF'); onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() /html:image and image.eqfcc=/siquael/images/eqfccpressed.gif defined in my applicationressource OK Javascript : function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null) { document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2]; } } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length; i++) if (a[i].indexOf(#)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];} } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;aia.length(x=a[i])x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf(?))0parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])d.all) x=d.all[n]; for (i=0;!xid.forms.length;i++) x=d.forms[i][n]; for(i=0;!xd.layersid.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x d.getElementById) x=d.getElementById(n); return x; } ATTENTION : Si vous n'êtes pas destinataire de ce message, vous n'êtes pas autorisé à copier, retransmettre, distribuer, révéler ou conserver le contenu de ce message. WARNING : If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: html:image Problem
Here it is. But doesn't work (the second one) and i want to use it as a submit button ! A onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() href=http://c20285/acas/vacances/control/accueil; IMG src=/siquael/images/eqfcc.gif border=0 name=accueil_over /A input type=image name=dispatch src=/siquael/images/eqfcc.gif onclick=set('createEQF'); onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() -Message d'origine- De : Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 29 août 2002 10:48 À : Struts Users Mailing List Objet : RE: html:image Problem Try to see the source generated by struts in the second example. -Mensaje original- De: BAYSSE Vincent (EURIWARE) [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 29 de agosto de 2002 10:42 Para: 'Struts Users Mailing List' Asunto: html:image Problem I want to use a rollover action on a submit image button The first example works fine with HTML attributes. But the second one doesn't work with Struts tags. Any idea ? Thanks. First example: A onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() href=/acas/vacances/control/accueil IMG src=/siquael/images/eqfcc.gif border=0 name=accueil_over /A Second example: html:image property=dispatch srcKey=image.eqfcc onclick=set('createEQF'); onmouseover=MM_swapImage('accueil_over','','/siquael/images/eqfccpressed.gi f',1) onmouseout=MM_swapImgRestore() /html:image and image.eqfcc=/siquael/images/eqfccpressed.gif defined in my applicationressource OK Javascript : function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null) { document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2]; } } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length; i++) if (a[i].indexOf(#)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];} } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;aia.length(x=a[i])x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf(?))0parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])d.all) x=d.all[n]; for (i=0;!xid.forms.length;i++) x=d.forms[i][n]; for(i=0;!xd.layersid.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x d.getElementById) x=d.getElementById(n); return x; } ATTENTION : Si vous n'êtes pas destinataire de ce message, vous n'êtes pas autorisé à copier, retransmettre, distribuer, révéler ou conserver le contenu de ce message. WARNING : If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ATTENTION : Si vous n'êtes pas destinataire de ce message, vous n'êtes pas autorisé à copier, retransmettre, distribuer, révéler ou conserver le contenu de ce message. WARNING : If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hashmap and logic:equal
I see what you're saying... I don't know why it doesn't work. What I would try then is to set the Hashmap in the form and retrieve it off the form object. Tell me, if item1 = Y do you want to show nothing, and can item2 be equal to x -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 6:44 PM To: Struts Users Mailing List Subject: RE: Hashmap and logic:equal I think with Hashmap you just need key or value, so where you have property=mapkey1 change to key or value I am a bit confused ,I will clarify.. Aa an eample, in my loadAction: Map myMap = new Map(); myMap.put(item1,X); myMap.put(item2,Y); request.setAttrite(infoObject,myMap); In my Page: logic:equals name=infoObject property=item1 value=X Show A /logic:equals Can this even by done? I was hoping not to have to use a scriptlet or iterate. Thanks Darryl Nortje [EMAIL PROTECTED] on 08/27/2002 11:18:50 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: Hashmap and logic:equal This is how I got it of my form object logic:equal name=defaultForm property=jspAction scope=request value=indexDoc and this is how I got it out of a collection object logic:iterate name=attrib id=collElem logic:equal name=collElem property=isReadonly value=readonly In the form object I have a getJspAction() method and in the collection object I have a getIsReadonly() method. I think with Hashmap you just need key or value, so where you have property=mapkey1 change to key or value -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 6:10 PM To: [EMAIL PROTECTED] Subject: Hashmap and logic:equal I am hoping that someone could point me in the right direction. I have been searching the archives and have not come accross anything that I can relate to. Using the equal tags, what is the best way to compare a value retieved from a Hashmap? I would like to put a Hashmap (or similar) into request scope and use the logic:equals tag. and do something like this. logic:equals name=mapName property=mapkey1 value=%= Constant.value % Show A /logic:equals logic:equals name=mapName property=mapkey2 value=%= Constant.value % Show B /logic:equals logic:equals name=mapName property=mapkey3 value=%= Constant.value % Show C /logic:equals Do I need to wrap this in simple class? The docs make reference to the support of indexed properties, is there a way to get the tag to look up the name of the key? Thanks All -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[groupware] Good project management tools
Anyone know of good (free) groupware webDAV software? Something like (or better then) Savannah PHProjekt SourceForge BitKeeper It doesn't have to be Java (But that would be a plus). I need something to keep track of different projects, build version that are deployed to client, bug tracking, tasks etc and it needs to be all integrated together. Anything else like build management, cvs manager, email would be a plus, but not needed. Oh easy/fast to install is also a major plus. Cheers dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
when the validate retrun null,then the excute in action will not call?
when the field is wqh ,there isn't any message print in the console,but if the field is wqh,then it will print begin to process not equal and if the excute run ,print the sentence begin to process is a must,but really it did not,that means the function of excute never run when validate return null, if I want it to run ,and do not add any error message,what should it return? public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); return err; } return null; } public ActionForward execute(..) throws Exception { LongonForm longonForm = (LongonForm) form; ///* this print sentence must run if the excute is called **/ System.out.println( begin to process; if (longonForm.getNam().equals(wqh)){ System.out.println(equal to wqh); throw new UnsupportedOperationException(Easy Struts : i); } else { System.out.println(not equal); return (mapping.getInputForward()); } } _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: How to retrieve value from actionservlet?
yes you can. Let's say your user object, is you form class. or similar bean... it has in particular a getFullname() method. You store this user bean on the request or session as userstuff. Then when you want to write out the username on a jsp page all you do is this -- bean:write name=userstuff property=fullname/. I don't see why this shouldn't work Hi Daryl, Thank you for your help. But, please bear with me because I am trying very hard to make some sense out of it. Is there any way that I can store the information associated to a particular user in a user object and then retrieve it later on my JSP page? In other words, can I do the following? bean:write name=User property=fullname/ ?? Thank you!! Thanks, Lee --- Darryl Nortje [EMAIL PROTECTED] wrote: try this in your action class. You have an instance of the form object. UserInfoForm userForm = (UserInfoForm) form; then... String fullName = userForm.setFullName(fullName); return mapping.findForward(success); then on your userInfoConfirm jsp you say bean:write name=userInfoForm property=fullname/ That should work... -Original Message- From: struts user [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 6:21 PM To: [EMAIL PROTECTED] Subject: How to retrieve value from actionservlet? Hello everyone, I am new to struts and I hope anyone out there can help me, please! In my struts-config.xml file, I have: form-beans form-bean name=userInfoForm type=com.mycompany.mydept.mypackage.UserInfoForm/ /form-beans action-mappings action path=/userInfoConfirm type=com.mycompany.mydept.mypackage.UserInfoAction name=userInfoForm scope=request input=/userInput.jsp forward name=success path=/userInfoConfirm.jsp/ /action /action-mappings In my UserInfoForm, I have the following setter and getter: public void setFullname(String fullname){ this.fullName = fullname; } public String getFullname(){ return (fullName); } In my UserInfoAction servlet, I did the following: User myUser = new User(fullName); I have a user object and I would like to retrive the user object value i.e. fullName and display it on my JSP page. How do I do that? I will have a collections of users and store them in a Hashtable eventually and retrieve user information associated to the user. But, I would like to know how to achieve my initial attempt above. Please help Thank you, Lee __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Re[2]: Composite jsp files
Dariusz, Someway, somehow, I get an error message from struts or tomcat saying: MAPPING configuration error for request URI In my jsp i have: img src='/myImgServlet?imgId=%= imgId %' And my web.xml has the following mappings / declarations: !-- Display Photo Servlet -- servlet servlet-namemyImgServlet/servlet-name servlet-classcom.foobar.MyImgServlet/servlet-class /servlet !-- Display Photo Servlet Mapping -- servlet-mapping servlet-namemyImgServlet/servlet-name url-pattern/myImgServlet/url-pattern /servlet-mapping Can someone help me out ? - Original Message - From: Dariusz Wojtas [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 6:20 PM Subject: Re[2]: Composite jsp files Maybe I misunderstood you, but ... Why can't you use the img tag? Image file isnot send in the same response that the jsp/html file is sent. Browser makes another call for the image after parsing the html code. Why don't you just print: img src='/myImgServlet?imgId=%= imgId %' ? And it works perfectly with the logic tags mentioned below. There is also no need to change the response type in the middle of writing to your output stream, because it is completely different call. You just set it once. And it will be served by separate servlet (here '/myImgServlet'). Dariusz Wojtas Wednesday, August 28, 2002, 5:44:40 PM, you wrote: LW Thanks John Cliff (prior answer). LW But john, unfortunately I can't use the img LW src tag since the images are directly retrieved LW from a database. It doesn't make sense to LW first (temporarily) store the images and then LW use the img source tag. Instead, I directly LW print the images by using the LW response.getOutputStream (or something similar) LW and setting the contentType + writing the bytes. LW Cliff helped me out by showing me the include LW tags, which i think can be very usefull. LW If this does not work, you will hear me scream ;) LW Regards, LW Leonard LW - Original Message - LW From: John Raley [EMAIL PROTECTED] LW To: Struts Users Mailing List [EMAIL PROTECTED] LW Sent: Wednesday, August 28, 2002 4:23 PM LW Subject: Re: Composite jsp files With Struts logic:equal tag: logic:equal ...img src=.../logic:equal Check the doc for the various logic:equal options. Leonard Wolters wrote: Is it possible to concatenate jsp files to one ? The problem i have now is that tomcat / catalina is complaining when I write multiple times to the outputstream. A nice: java.lang.IllegalStateException: getOutputStream() has already been called for this response is shown to me. My question is if anyone know how to concat jsp files, or to dymanically create jsp. The problem is as follows: I have a certain jsp file which may / may not show an image. Based on a particular (custom made) tag an image should be shown or not. In both cases, the rest of the page should remain the same. Does anyone has tips / suggestions how to do this T.i.a. Leonard -- Check it out: Map - JavaBean http://dynclass.sourceforge.net/ -- To unsubscribe, e-mail: LW mailto:[EMAIL PROTECTED] For additional commands, e-mail: LW mailto:[EMAIL PROTECTED] LW -- LW To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] LW For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Dariusz Wojtas mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: when the validate retrun null,then the excute in action will not call?
I think the behaviour is exactly as expected: If the field is wqh, then procedure validate returns a not empty ActionError and therefore you get redirected to the page specified by input within your action-mapping (normally the same page from where you submit your form). If the field is wqh the validate returns NULL; should be the same effect like returning an empty ActionError (what imo is the better solution: defining an ActionError in the first line of the validate method and returning it with the return-statement - no matter if it's empty or not): The execute-method is entered and the result is a system-output: begin to process as the execute is started. The field is still not equal to wqh (it would have been invalidate otherwise!), so next output is not equal. So of course the execute is called! Where is your problem with this behaviour? Fabian -Original Message- From: wu qihua [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: when the validate retrun null,then the excute in action will not call? when the field is wqh ,there isn't any message print in the console,but if the field is wqh,then it will print begin to process not equal and if the excute run ,print the sentence begin to process is a must,but really it did not,that means the function of excute never run when validate return null, if I want it to run ,and do not add any error message,what should it return? public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); return err; } return null; } public ActionForward execute(..) throws Exception { LongonForm longonForm = (LongonForm) form; ///* this print sentence must run if the excute is called **/ System.out.println( begin to process; if (longonForm.getNam().equals(wqh)){ System.out.println(equal to wqh); throw new UnsupportedOperationException(Easy Struts : i); } else { System.out.println(not equal); return (mapping.getInputForward()); } } _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: struts-config windows 2 unix?
/usr/bin/awk '{gsub(/\r/,); print $0; }' $0 will dump the file without ^M on stdout. Just pipe it to a file. HTH, umberto On Wed, 2002-08-28 at 22:51, Tero P Paananen wrote: To convert a windows file into a unix format you can use the dos2unix command under unix. It will get rid of all the ^M caracters that you see under vi. Use a text editor on Windows that can save in Unix format. Practically any advanced text editor can do that. I use UltraEdit myself. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Umberto Nicoletti [EMAIL PROTECTED] | Tel. +390415701366 We'll try to make different mistakes this time. - Larry Wall -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tiles, overriding extended definitions and Breadcrumbing
The override mechanism only override attributes from the extended definition. In your example, you insert a tiles and want some of its attributes be overriden by attributes from its insertor which is not working. Cedric Mark Takacs wrote: Summary: Can a page override a sub-definition? Im trying to do breadcrumb, whee. I've made a page definition with over-riddes... works great. Having a subLayout definition SEEMED to work ok, until I tried to override parts of the sub-definition. In other words, the body definition for page.arc.help can override the body definitions in page.arc just fine, but I cant seem to override the trail definitions in the subLayout, page.tile.crumb. When I do provide an override, it ignores it and used the default trail definition I've used when initially defining page.tile.crumb. Grr. !-- 'Base' Definition for a page -- definition name=page.arc template=/layouts/baseLayout.jsp put name=body content=/tiles/common/body.jsp / put name=breadcrumb content=page.tile.crumb / put name=footer content=/tiles/common/footer.jsp / put name=header content=/tiles/common/header.jsp / put name=title content=/tiles/common/title.jsp/ /definition !-- 'Crumb' has a sublayout -- definition name=page.tile.crumb template=/layouts/breadcrumb.jsp put name=trailcontent=/tiles/common/crumbTrail.jsp / put name=static content=/tiles/common/crumbHelp.jsp / /definition !-- Individual pages extending the 'Base' Definition -- definition name=page.arc.help extends=page.arc put name=bodycontent=/tiles/help.jsp/ put name=trail content=/tiles/crumbs/help.jsp/ /definition -- /layouts/breadcrumb.jps: (simplified) tiles:insert attribute=trail/ tiles:insert attribute=static/ - In my defintion for page.arc.help, the trail override isnt being used, the original one defined in page.tile.crumb is always being used.. If I flatted the hiearchy (include the 2 pieces of the breadcrumb layout directly in the baseLayout.jsp) it works just fine. So Im guessing tiles doesnt support overriding child definitions? -tak __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tons of tiles debug messages!
I have put it to false in latest builds. I use such flags for testing and development. They should normally be set to false in struts sources. Cedric Holman, Cal wrote: Cedric There is a debug flag set to true in the TilesRequestProcessor. Can you make it configurable? Do I open a bug? Cal http://www.calandva.com/ -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 17:38 To: Struts Users Mailing List Subject: Re: tons of tiles debug messages! hi, This is for struts 1.1b2. For struts 1.0.x, you specify definition factory configuration in web.xml. Attribute names and values are the same. In your case, set all debug attributes to 0 (zero), or remove them from web.xml (zero is the default value). Cedric mpopovits.rm wrote: Is this for Struts 1.1 or 1.0? I'm using Struts 1.0. If so, where does it go in the struts config file. Thanks, Michelle --- In [EMAIL PROTECTED], Herve Tchepannou [EMAIL PROTECTED] wrote: The debug configuation should be in your Tile-Plugin configuration. Make sure that the Tiles plugin is defined like this in your struts-config.xml file: !-- == Plugins Definitions == - - plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml / set-property property=definitions-debug value=0 / set-property property=definitions-parser-details value=0 / set-property property=definitions-parser-validate value=true / /plug-in -Original Message- From: mpopovits.rm [mailto:mpopovits@h...] Sent: Friday, August 16, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: tons of tiles debug messages! When I bring up my weblogic server which uses tiles I get pages and pages of tiles debug messages from the apache commons digester. How do I get rid of these? I've reduced my action servlet debug parms all down to 0, but they still torment me. -Please help. Thanks, Michelle Here's my action servlet config from web.xml. servlet servlet-nameaction/servlet-name !-- Specify servlet class to use If you also plan to use Struts, use ActionComponentServlet If you don't need Struts, use TilesServlet -- servlet- classorg.apache.struts.tiles.ActionComponentServlet/servlet- class !-- Tiles Servlet parameter Specify configuration file names. There can be several comma separated file names -- init-param param-namedefinitions-config/param-name param-value/WEB-INF/tiles-defs.xml/param-value /init-param !-- Tiles Servlet parameter Specify Tiles debug level. O : no debug information 1 : debug information 2 : more debug information -- init-param param-namedefinitions-debug/param-name param-value0/param-value /init-param !-- Tiles Servlet parameter Specify Digester debug level. This value is passed to Digester O : no debug information 1 : debug information 2 : more debug information -- init-param param-namedefinitions-parser-details/param-name param-value0/param-value /init-param !-- Tiles Servlet parameter Specify if xml parser should validate the Tiles configuration file. true : validate. DTD should be specified in file header. false : no validation -- init-param param-namedefinitions-parser-validate/param-name param-valuetrue/param-value /init-param init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namedetail/param-name param-value0/param-value /init-param init-param param-namevalidate/param-name param-valuetrue/param-value /init-param init-param param-namenocache/param-name param-valuetrue/param-value /init-param load-on-startup2/load-on-startup /servlet servlet servlet-namevalidator/servlet-name servlet- classcom.wintecinc.struts.action.ValidatorServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/validation.xml/param-value /init-param init-param param-namedebug/param-name param-value0/param-value /init-param load-on-startup2/load-on-startup /servlet
RE: Cannot Retrieve Mapping for Action
Chandra, Remove the .do from you action attribute in the form definition: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html head /head body html:form method=post action=/logon . . . HTH. Regards, Todd -Original Message- From: Chandrasekar [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:36 AM To: Struts Users Mailing List Subject: Cannot Retrieve Mapping for Action Hi , First sorry for a lengthy mail. Searched the mailing list archive and tried every solution suggested there ... still nothing ... I am getting the following error when trying to invoke the login page.(Using weblogic 6.0) Aug 29, 2002 9:39:13 AM IST Error HTTP [WebAppServletContext(6765727,wisor repwebapp)] Root cause of ServletException javax.servlet.jsp.JspException: Cannot retrieve mapping for action /logon at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:784) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481) at jsp_servlet.__login._jspService(__login.java:123) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp l.java:213) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSer vletContext.java:1302) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImp l.java:1680) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) Below are my configuration details web.xml servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param init-param param-namevalidate/param-name param-valuefalse/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Standard Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping struts-config.xml file struts-config form-beans form-bean name=loginForm type=com.wisor.pom.formbeans.LoginFormBean/ /form-beans global-forwards forward name=loginForm path=/Login.jsp/ /global-forwards action-mappings action path=/logon type=com.wisor.pom.action.LoginAction name=loginForm input=/Login.jsp scope=request validate=true forward name=success path=/Login.jsp / forward name=failure path=/Login.jsp / /action /action-mappings /struts-config // all my Action and ActionForm classes are available inside the WEB-INF/classes directory // JSP pages available inside webapp directory my JSP page %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html head /head body html:form method=post action=/logon.do html:text property=username / html:text property=password / html:submit/ /html:form /body /html:html Thanks Chandra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Message Resource Properties file not loading.
The parameter must be the full package name of the file. Mark -Original Message- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 5:42 PM To: [EMAIL PROTECTED] Subject: Message Resource Properties file not loading. Can anyone tell me what I am missing?? I have resource property file namely ApplicationResource.properties packaged under WEB-IN/class directory. In my struts-config.xml, I have the following elment: message-resources parameter=ApplicationResource null=false/. But I still get ??en_US.x.y.z??? everywher.e Thanks,. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tiles Definition Bug ?
Hello, Maybe its a bug. Do you have a simple war file allowing me to reproduce the problem and track it ? You can sent it to me directly rather than on the list. Cedric Ricardo de Souza Moura wrote: I have a action that use validation And at the input attribute I need to put a definition !!! How I don't get to put the definition directly, I create another action only forward to the definition... action path=/customerValidator forward=def.cadastro.identificacao/ action path=/customer type=classe scope=request name=customerForm input=/customerValidator.do parameter=method validate=true ... /action But I get another problem. My definition use the controllerUrl, but when happend a validator error, the customerValidator action forward to def.cadastro.identificacao but don't execute the action of the controllerUrl... this is a bug ? Thanks _ Tenha você também um MSN Hotmail, o maior webmail do mundo: http://www.hotmail.com/br -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tiles and Frames.
It is possible. The Tiles example war has a simple example of using frames (tutorial/frameset.jsp, tutorial/basicFramesetPage.jsp, ...) Hope this help, Cedric Cristian Cardenas wrote: I'm using tiles from struts. I'd like to know if it's possible to use Frames with Tiles, and what is the way to use it. Thanks a lot. Cristian. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to access current Tiles definition name?
Hi, There is no way to retrieve the current definition name. The actual solution is to add an attribute identifying the definition. Hope this help, Cedric Christian Oldiges wrote: Hi! Is it possible to retrieve the tiles definition name within a JSP that is part of the currently processed definition? Example: definition name=rootLayout path=/layouts/rootLayout.jsp put name=menu value=/tiles/menu.jsp / put name=contentvalue=/tiles/content/empty.jsp / put name=rightBarvalue=/tiles/newsbar.jsp / /definition definition name=site.page1 extends=rootLayout put name=titlevalue=blabla / put name=contentvalue=/tiles/content/page1.jsp / /definition definition name=site.page2 extends=rootLayout put name=titlevalue=blabla / put name=contentvalue=/tiles/content/page2.jsp / /definition Now within /tiles/menu.jsp I want to find out which tiles definition is active. site.page1 or site.page2 TIA, Christian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Client Side Caching
Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Sub-apps using Tiles/SecureRequestProcessor
Hi, Tiles doesn't require that all your subapps use them. But, you need to use the TilesRequestProcessor, or a subclass of it, for each subapps using tiles. The TilesRequestProcessor is set by the tiles plug-in. So, if you want to use tiles and SecureRequestProcessor in the same subapps, you need to provide a compatible RequestProcessor. I don't know if SecureRequestProcessor is compatible with subapps. Let us know if you success or not in your approach. This can help other users ! Cedric Greg Hess wrote: Hi All, I am currently preparing to migrate one of my Struts apps to separate modules as it is currently developed in modules and I would love to simplify the integration of the modules. My application consists of two modules. The main application module is using the SecureRequestProcessor plug-in to handle http/https switching and the Struts template tags for view layout. The second module is the administrative module and it has recently incorporated the use of Tiles. As far as I can see from the archives the Tiles distribution from jakarta is compatible with sub-apps. I am wondering if all the sub-apps must use Tiles and if the SecureRequestProcessor supports sub-apps as I have experienced some errors with some quick tests with the SecureRequestProcessor as a sub-app? The following error occurred with the SecureRequestProcessor being used as a plug in in the sub-app and parent app. 500 Servlet Exception java.lang.ClassCastException: org.apache.struts.action.ActionMapping at org.apache.struts.action.SecureRequestProcessor.processPreprocess(D:/CvsProj ects/StrutsExtTry11/src/org/apache/struts/action/SecureRequestProcessor.java :42) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:227) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452) at javax.servlet.http.HttpServlet.service(HttpServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9 6) at com.caucho.server.http.Invocation.service(Invocation.java:311) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:536) When I removed SecureRequestProcessor plugin from the sub-app all worked fine except for my http/https switching. I am looking for a some wisdom that might help me in this module integration. Many Thanks, Greg -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: when the validate retrun null,then the excute in action will not call?
The execute-method is entered and the result is a system-output: begin to process as the execute is started. The field is still not equal to wqh (it would have been invalidate otherwise!), so next output is not equal. So of course the execute is called! Where is your problem with this behaviour? But when I populate the field with string wqh1, there is no message show in the console,if execute function is called,it must print begin to process but really it does not! Fabian -Original Message- From: wu qihua [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: when the validate retrun null,then the excute in action will not call? when the field is wqh ,there isn't any message print in the console,but if the field is wqh,then it will print begin to process not equal and if the excute run ,print the sentence begin to process is a must,but really it did not,that means the function of excute never run when validate return null, if I want it to run ,and do not add any error message,what should it return? public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); return err; } return null; } public ActionForward execute(..) throws Exception { LongonForm longonForm = (LongonForm) form; ///* this print sentence must run if the excute is called **/ System.out.println( begin to process; if (longonForm.getNam().equals(wqh)){ System.out.println(equal to wqh); throw new UnsupportedOperationException(Easy Struts : i); } else { System.out.println(not equal); return (mapping.getInputForward()); } } _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
Thanks, Chuck! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: when the validate retrun null,then the excute in action will not call?
The execute-method is entered and the result is a system-output: begin to process as the execute is started. The field is still not equal to wqh (it would have been invalidate otherwise!), so next output is not equal. So of course the execute is called! Where is your problem with this behaviour? But when I populate the field with string wqh1, there is no message show in the console,if execute function is called,it must print begin to process but really it does not! Fabian -Original Message- From: wu qihua [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: when the validate retrun null,then the excute in action will not call? when the field is wqh ,there isn't any message print in the console,but if the field is wqh,then it will print begin to process not equal and if the excute run ,print the sentence begin to process is a must,but really it did not,that means the function of excute never run when validate return null, if I want it to run ,and do not add any error message,what should it return? public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); return err; } return null; } public ActionForward execute(..) throws Exception { LongonForm longonForm = (LongonForm) form; ///* this print sentence must run if the excute is called **/ System.out.println( begin to process; if (longonForm.getNam().equals(wqh)){ System.out.println(equal to wqh); throw new UnsupportedOperationException(Easy Struts : i); } else { System.out.println(not equal); return (mapping.getInputForward()); } } _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Try to load Tiles factory
Hi, Do you try to use namespace in you tiles config file ? Check it to see if there is no namespace use. Cedric Xinhong Luo, NY wrote: Hi, I tried to run the tomcat with tile example tiles-blank.war from tile.zip download and got the following error: Start Tiles initialization Try to load Tiles factory javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXPa rser at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60) at com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactory Impl.java:57) at org.apache.commons.digester.Digester.getParser(Digester.java:569) at org.apache.commons.digester.Digester.getXMLReader(Digester.java:607) at org.apache.commons.digester.Digester.parse(Digester.java:1302) at org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java: 341) . I am using tomcat 3.2.3 and newest tile version. Can anyone help me? By the way, I can run struts example. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Newbie] Where to put Model Access whenever Action class is not an option?
A general strategy would be to have a set up action which populates your form or retrieves data and places it in the appropriate scope and then forwards to the page. For example: If I want to display a page which allows a user to edit their account, I would have a showEdit action to prepare the page (retrieve existing user account info, populate the form) and then an edit action to save any changes. HTH, robert -Original Message- From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 1:15 AM To: '[EMAIL PROTECTED]' Subject: [Newbie] Where to put Model Access whenever Action class is not an option? Hi Folks, first of all I'm a newbie to Struts. As far as I can see it's a great framework. Thx for that a lot. My Problem is that my JSP-Views needs some inital data from the models. Consider some select-boxes given the user a chance make their choices Where can I init the FromBeans that are use to share data between Action class/View? The constructor of the class? As far as I understand the Struts delegates form View to Action using the FormBean and ActionMappings. So Action is always the end of the request chain (view ---o-action(controler)-o-model). Correct? So I need something like that: model -O controler O- view. As far as I can see the Struts HTML/Logic TLs offering java.util.Collection processing. So my idea is build an Taglib that can access the Model (EJB's with finder methods returning collection or Local interfaces). Is this okay, or is there a better solution? Any help is appreciated. :-) Gruß Toby -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
Hey Chuck - Love page 8 of your presentation! Wish I had been there. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Newbie] Where to put Model Access whenever Action class is not an option?
I tend to make use of the dispatch action so that I can bundle the pre and post action code in the same class. (Along with some other associated code). This is useful in that both often need to make use of the same methods, and it helps me keep my code organised (by reducing the number of classes to something approaching what a mortal human such as my self can handle). A thing to remember if you use the dispatch action for this is that you need to submit the method parameter in your request so it knows which method to call (though there is nothing stopping you from tacking this onto the end of the url in your mappings in struts-config which is something I do a lot). -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 19:26 To: Struts Users Mailing List Subject: RE: [Newbie] Where to put Model Access whenever Action class is not an option? A general strategy would be to have a set up action which populates your form or retrieves data and places it in the appropriate scope and then forwards to the page. For example: If I want to display a page which allows a user to edit their account, I would have a showEdit action to prepare the page (retrieve existing user account info, populate the form) and then an edit action to save any changes. HTH, robert -Original Message- From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 1:15 AM To: '[EMAIL PROTECTED]' Subject: [Newbie] Where to put Model Access whenever Action class is not an option? Hi Folks, first of all I'm a newbie to Struts. As far as I can see it's a great framework. Thx for that a lot. My Problem is that my JSP-Views needs some inital data from the models. Consider some select-boxes given the user a chance make their choices Where can I init the FromBeans that are use to share data between Action class/View? The constructor of the class? As far as I understand the Struts delegates form View to Action using the FormBean and ActionMappings. So Action is always the end of the request chain (view ---o-action(controler)-o-model). Correct? So I need something like that: model -O controler O- view. As far as I can see the Struts HTML/Logic TLs offering java.util.Collection processing. So my idea is build an Taglib that can access the Model (EJB's with finder methods returning collection or Local interfaces). Is this okay, or is there a better solution? Any help is appreciated. :-) Gruß Toby -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Mapping troubles with a dynamically generated template include
Hi, Check Tiles. They are compatible with templates, and accept an action has content. Also, you can associate a controller to a tile. This controller will populate your tile. Hope this help, Cedric Chip Paul wrote: My site features a news sidebar that is present on every page. It is pulled from a database. My files use the templates and set news.jsp as a content spot. template:insert template='template.jsp' template:put name='news' content='news.jsp' / /template:insert My question is: How can I have my NewsAction called and the results populated into the news.jsp file, and all this work in a templated mode so it appears on every page. I tried using /news.do as the template, but that causes an exception when the forward gets processed after the JSPWriter has begun writing. I remapped news.jsp in my struts config to auto-call the action and forward to a different jsp file, but I still get the exception: java.lang.IllegalStateException: Cannot forward after response has been committed I'm sure this has been done since it's common in Blogger type apps, but I can't find a reference to how to do it correctly. Thanks, Chip __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: template:insert to an Action
Use Tiles instead of Templates. Cedric Miguel Angel Mulero Martinez wrote: If I put in a JSP the tag: template:insert template=page.jsp/ the thing works perfectly, but if I do: template:insert template=action.do/ the thing don't work. Is there a similar way to do this? Thanks!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tiles Struts Form
You can declare an attribute action=anAction and try something like the following in you jsp: tiles:useAttribute name=action/ html:form action=%=action% ... / Hope this help, Cedric Elderclei R Reami wrote: Hi again, SecurityFilter is going pretty well, Max. Thank you for the great work. Right now, I am refactoring my app to use some more features from struts like tiles and DynaForms. I am thinking of creating a tile definition for admin pages. It would be composed of grid of data (discussion on large resultsets was very useful on this) at the top, and an edition area at the bottom. In the grid there would be View, Delete, Remove links for every line that would bring data to the form in the edition area. My idea is to have the html:form in the admin template surrounding the edition area, and the other form tags would be inserted in the using tiles:insert... I´d like to know if there´s an elegant way to have the value of the action attribute of html:form tag being passed by a tiles attribute. Do you have any suggestions to this... Thanks for all the help Elderclei R Reami Vertis Tecnologia +55 11 3887-0835 www.vertisnet.com.br -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client Side Caching
As far as I know, you (as a person writing server code) have no control over this. The best you can hope for is that the browser is smart enough to cache the image. One thing I can think of, though, is to make sure that the browser believes that the images are static. Make sure that references to them do not have parameters (for generated images, epecially). E.g. img src=/myapp/images/image1234.gif [GOOD] as opposed to img src=/myapp/imageGenerator?imagenum=1234 [BAD]. I just hypothesizing, though. You could set up a an accelerator between your web server and the outside world, as well. That still won't force browsers to cache images. But, if your images are (infrequently) generated, then an accelerator will cache them and prevent your application/image server from having to generate them constantly for every web hit. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: August 29, 2002 7:21 AM To: [EMAIL PROTECTED] Subject: Client Side Caching Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
Hi, Really cool presentation ! Just two question, How time take this presentation at AJUG ? And when www.beer4all.com will be open ? Thanx a lot, -Emmanuel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
The length of the presentation at AJUG was a little over two hours. It should have lasted longer, but I had to spend up at the end because I realized how long I had been going. It was a fun presentation, I tried to keep it light and humorous. Marc Fleury actually interrupted me half way through to bring me a beer on a serving tray like a waitress. Everyone laughed hysterically at that. It was a good time. I hope to do it again soon. As far as Beer4All.com, as soon as we find some sucker, er I mean some VC, then we off we go :) Chuck Hi, Really cool presentation ! Just two question, How time take this presentation at AJUG ? And when www.beer4all.com will be open ? Thanx a lot, -Emmanuel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
I was thinking of your beer stories as I was putting it together :) Chuck Hey Chuck - Love page 8 of your presentation! Wish I had been there. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Memory Leak[OT]
No problem. I have no problem with some OT posts as long as someone thinks it may be struts(like this memory leak). As soon as they find out it's not, they should redirect appropriately. I asked a security question here a week ago or so that I thought was related to struts but wasn't. A very nice man known as Craig McClanahan (?whos that? hehe) answered my question (there was NO information I could find out there on it) even though it wasn't exactly struts (I didn't know that). I have no problem helping newbs out when I can if they think it's struts. We're all newbs to something. Michael Lee Architect/Developer/J2ee Architect/Configuration Manager/yadayadyada Afterbot [EMAIL PROTECTED] just remove nospam_ to email - Original Message - From: Billy Ng [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 6:31 PM Subject: RE: Memory Leak Thanks everybody! I found where my app caused the memory leaks already. Somebody is right (sorry, I forget your name)! It is from a singleton call. I will be very careful for the static calls next time. This mailing lists is great! Thanks! Billy Ng _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
I think a filter is good...the best filter being [OT] My 5 c add... [APPSVR-WLS] [APPSVR-JBOSS] [WEBSVR-TOMCAT] [WEBSVR-JRUN] etc... Michael Lee - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 9:28 AM Subject: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
While Tomcat and JRun include a webserver to run in stand-alone mode, they are not webservers; they are app servers as well. I like your idea, though. Mark -Original Message- From: Michael Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 9:40 AM To: Struts Users Mailing List Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) I think a filter is good...the best filter being [OT] My 5 c add... [APPSVR-WLS] [APPSVR-JBOSS] [WEBSVR-TOMCAT] [WEBSVR-JRUN] etc... Michael Lee - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 9:28 AM Subject: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
+1 /\/\ark - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 8:28 AM Subject: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client Side Caching
You could look at using a tablib like OSCache: http://www.opensymphony.com/oscache/ You can cache a whole page or just a part of a page by putting the taglib round the part of the page you want to cache. Works for images and dynamic content. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 12:21 To: [EMAIL PROTECTED] Subject: Client Side Caching Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
It's a good idea, but in practice I think it's going to be a hassle, especially if this list grows. Those who are filtering will have to go through the rigmarole of setting them up again should they have to reinstall their client. And new users will also have to start filtering, and I can foresee lots of posts in the future informing people of the use of filters etc. I think it would be a whole lot less hassle to keep a core struts mailing list, and move off-topic discussions to another list - 'struts-related' or something. It doesn't seem fair to force those not interested in the other stuff to take measures to filter it when they're not even a part of it in the first place :) On Thu, 2002-08-29 at 14:40, Michael Lee wrote: I think a filter is good...the best filter being [OT] My 5 c add... [APPSVR-WLS] [APPSVR-JBOSS] [WEBSVR-TOMCAT] [WEBSVR-JRUN] etc... Michael Lee - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 9:28 AM Subject: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client Side Caching
Oops - I just actually read the question. :) OSCache won't do client side caching, but it will stop you actually reloading stuff from the db to serve to people if it hasn't changed. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 12:21 To: [EMAIL PROTECTED] Subject: Client Side Caching Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff thetopic)
My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim Cliff Rowley cliff@onsea. net 08/29/2002 08:55 AM To: Struts Users Mailing List [EMAIL PROTECTED] Pleasecc: respond to Struts Users Mailing List Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic) Caterpillar: Confidential Green Retain Until: 09/28/2002 Retention Category: G90 - Information and Reports It's a good idea, but in practice I think it's going to be a hassle, especially if this list grows. Those who are filtering will have to go through the rigmarole of setting them up again should they have to reinstall their client. And new users will also have to start filtering, and I can foresee lots of posts in the future informing people of the use of filters etc. I think it would be a whole lot less hassle to keep a core struts mailing list, and move off-topic discussions to another list - 'struts-related' or something. It doesn't seem fair to force those not interested in the other stuff to take measures to filter it when they're not even a part of it in the first place :) On Thu, 2002-08-29 at 14:40, Michael Lee wrote: I think a filter is good...the best filter being [OT] My 5 c add... [APPSVR-WLS] [APPSVR-JBOSS] [WEBSVR-TOMCAT] [WEBSVR-JRUN] etc... Michael Lee - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 9:28 AM Subject: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this
Re: [Proposal] Thread Topic Identification (was [BS] Are wegettingo ff the topic)
I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Where is the Tiles Tutorial
In the Struts 1.1b2 distribution, the Tiles tutorial is missing. I submitted a bug to Bugzilla, but I'm still stuck trying to learn Tiles. There is no tutorial or User Guide. I found an old tutorial with Google, but it's dated 9 Sep 2001. Is there a current tutorial or user guide I can use?? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client Side Caching
Lisa, I've only glanced at OSCache, but this would be server-side caching, no? -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: August 29, 2002 9:50 AM To: 'Struts Users Mailing List' Subject: RE: Client Side Caching You could look at using a tablib like OSCache: http://www.opensymphony.com/oscache/ You can cache a whole page or just a part of a page by putting the taglib round the part of the page you want to cache. Works for images and dynamic content. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 12:21 To: [EMAIL PROTECTED] Subject: Client Side Caching Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Client Side Caching
Dittooops! Sorry :-) -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: August 29, 2002 9:56 AM To: 'Struts Users Mailing List' Subject: RE: Client Side Caching Oops - I just actually read the question. :) OSCache won't do client side caching, but it will stop you actually reloading stuff from the db to serve to people if it hasn't changed. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 12:21 To: [EMAIL PROTECTED] Subject: Client Side Caching Is there a possibility to use Client Side Caching? For example to Save a picture and reload it from the browsers cache, when nothing has changed. or A Page which contains contents from a Database and when nothing has changed on the DB reload the old page from the cache. Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:+49-841-9014-300 Marie-Curie-Strasse 6 Fax:+49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 15:08 To: Struts Users Mailing List Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic) I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
True, I hadn't though of that. On Thu, 2002-08-29 at 15:10, Kidd, Polly wrote: bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 15:08 To: Struts Users Mailing List Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic) I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Where is the Tiles Tutorial
I read about tiles from Struts book on ServerSide, http://www.serverside.com/. It is chapter 14th. kamal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: Where is the Tiles Tutorial In the Struts 1.1b2 distribution, the Tiles tutorial is missing. I submitted a bug to Bugzilla, but I'm still stuck trying to learn Tiles. There is no tutorial or User Guide. I found an old tutorial with Google, but it's dated 9 Sep 2001. Is there a current tutorial or user guide I can use?? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getti ngoff the topic)
Are filters really _that_ hard to set up? ... I've got probably 30 of them going to sift and sort my mail -- continually having to edit them as projects evolve (ie there is tomcat5 stuff floating around now, and I had to edit my tc-dev filter). I don't see it as much of a problem -- and most (reasonable) clients can be configured to actually just delete messages off the server if they meet certain criteria, so there's not even any need to download them. +1 for tags -1 for a seperate list +1 for more fridays in the week :-P I think the tags would really help us all zone-in on what is most important to us. As such, I think it would be helpful to everyone - devs *and* users. Think of this example (I'm going to pick on Cedric, because he comes to mind): Cedric downloads his mail - there are about 150 struts-user mailings, but he's really busy and really just cares to see the ones for tiles right now. without tags: Cedric probably has to read all the subjects, and he might still miss something that speaks of a tiles issue but doesn't mention it in the topic. with tags: Cedric knows immediately which threads need his expert assistance, and can even filter them to a (sub-)folder for easy-access. Yes, when he has time he can go through the others too (if he wants), but right now he's quite busy (probably is but I'm speaking hypothetically, of course) so he can just cut to the chase and take care of those people most in need of his help. ... but I'm sure you all have your own view on why it would be a good/bad thing. Regards, Eddie Cliff Rowley wrote: True, I hadn't though of that. On Thu, 2002-08-29 at 15:10, Kidd, Polly wrote: bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Where is the Tiles Tutorial
And don't forget you can order it now too! [EMAIL PROTECTED] wrote: I read about tiles from Struts book on ServerSide, http://www.serverside.com/. It is chapter 14th. kamal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: Where is the Tiles Tutorial In the Struts 1.1b2 distribution, the Tiles tutorial is missing. I submitted a bug to Bugzilla, but I'm still stuck trying to learn Tiles. There is no tutorial or User Guide. I found an old tutorial with Google, but it's dated 9 Sep 2001. Is there a current tutorial or user guide I can use?? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ApplicationResources.properties to DB?
Has anybody given any thought to (much less actually done it) placing properties files into the database and having the app server load/methods call a persistent bean containing the keys/values? We are developing for different clients using basically the same framework and I am thinking that rather than maintain separate properties files in various physical locations, to put the properties into the database, write a Java interface defining the extraction methods, and implement concrete classes for each app to load that app's properties. Thoughts? Mark If only I had known this ( T = ( - ? ))!
Question About Multiple Struts-Config Files In 1.1 (B2)
I'm trying split our large web application into several sub-applications using the multiple struts-config files functionality added in 1.1 (beta 2) . There is no documentation on how to do this on the Jakarta Struts 1.1 website. It's simply says To Do. Therefore, I've basically followed Craig's instructions in the following message: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg38442.html However, my WebLogic application server is blowing up at startup time due to a null pointer exception. It looks like it's still looking for a file called struts-config.xml. I don't have a file like this anymore. Instead, I have several other config files with a module suffix (e.g. struts-config-customer.xml, struts-config-quote.xml, etc.). Is there some type of flag I need to set to indicate whether I'm using mulitple config files? I've declared each sub-application's config file in my web.xml as recommended by Craig. Below is my web.xml file and stack trace. Thanks! JOHN ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app display-nameTraining Exercise/display-name descriptionTraining Exercise Usings Struts/description !-- ActionServlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classcom.abc.training.strutsx.TrainingServlet/servlet-class init-param param-nameapplication/param-name param-valuecom.abc.training.Messages/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param init-param param-namevalidate/param-name param-valuetrue/param-value /init-param init-param param-namelogin-required/param-name param-valuetrue/param-value /init-param init-param param-namelogin-path/param-name param-value/login/param-value /init-param init-param param-namesecurity-app-name/param-name param-valueEDGE/param-value /init-param init-param param-namenocache/param-name param-valuetrue/param-value /init-param init-param param-nameconfig/login/param-name param-value/WEB-INF/struts-config-customer.xml/param-value /init-param init-param param-nameconfig/training/param-name param-value/WEB-INF/struts-config-quote.xml/param-value /init-param load-on-startup2/load-on-startup /servlet servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- Log4J Servlet mapping -- servlet servlet-namelog4j_config/servlet-name servlet-classcom.abc.arch.inf.common.log.Log4jHttpConfigServlet/servlet -class /servlet servlet-mapping servlet-namelog4j_config/servlet-name url-patternlog4j/url-pattern /servlet-mapping !-- Default Welcome Page -- welcome-file-list welcome-file/jsp/login.jsp/welcome-file /welcome-file-list !-- Struts Tag Library Descriptors -- taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-tiles.tld/taglib-uri taglib-location/WEB-INF/struts-tiles.tld/taglib-location /taglib /web-app == [java] java.lang.NullPointerException [java] at org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet .java:8 57) [java] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455) [java] at com.erac.training.strutsx.TrainingServlet.init(TrainingServlet.java:1 08) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:258) [java] at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.ja va:700) [java] at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl. java:64 3) [java] at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.j ava:588 ) [java] at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServle tContex t.java:2221) [java] at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServl etConte
Re: ApplicationResources.properties to DB?
James and I bandied about this topic some time ago (I think you were either out-of-country or on vacation) in response to someone else wanting to do exactly the same thing. I think the suggestion Craig put forth was to extend MessageResources (ie build JDBCMessageResources). Oh, and, if you choose to implement it, you should talk to James (Mitchell). He has some very fascinating ideas you may want to consider ... HTH, Eddie Galbreath, Mark wrote: Has anybody given any thought to (much less actually done it) placing properties files into the database and having the app server load/methods call a persistent bean containing the keys/values? We are developing for different clients using basically the same framework and I am thinking that rather than maintain separate properties files in various physical locations, to put the properties into the database, write a Java interface defining the extraction methods, and implement concrete classes for each app to load that app's properties. Thoughts? Mark If only I had known this ( T = ( - ? ))! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV from:Jerry Jalenak [EMAIL PROTECTED] date:Thu, 29 Aug 2002 14:28:01 to: [EMAIL PROTECTED] subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21placement=home_multi.gifsite=amazon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: ApplicationResources.properties to DB?
Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -Ursprüngliche Nachricht- Von: Tero P Paananen [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 29. August 2002 16:41 An: Struts Users Mailing List Betreff: RE: ApplicationResources.properties to DB? Has anybody given any thought to (much less actually done it) placing properties files into the database and having the app server load/methods call a persistent bean containing the keys/values? We are developing for different clients using basically the same framework and I am thinking that rather than maintain separate properties files in various physical locations, to put the properties into the database, write a Java interface defining the extraction methods, and implement concrete classes for each app to load that app's properties. This was discussed, briefly, a few months ago. It would be very easy to extend the MessageResources classes in Struts to read from a database instead of properties file. All you need to do is extent PropertyMessageResources and overload the loadLocale() method. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: ApplicationResources.properties to DB?
I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Setup globals per new session
Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which will be listening on several different hostnames) I need to detect which host they are connecting to a store this in a session variable. How can store this data _before_ the user sees anything, i.e. before the response is created? The key is that this should occur for every new session, regardless of what actual resource was requested. I need this mechanism in order to serve up context specific (per hostname) content. Any help is much appreciated. Regards, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ApplicationResources.properties to DB?
Outstanding...thanx! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:46 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties to DB? James and I bandied about this topic some time ago (I think you were either out-of-country or on vacation) in response to someone else wanting to do exactly the same thing. I think the suggestion Craig put forth was to extend MessageResources (ie build JDBCMessageResources). Oh, and, if you choose to implement it, you should talk to James (Mitchell). He has some very fascinating ideas you may want to consider ... HTH, Eddie Galbreath, Mark wrote: Has anybody given any thought to (much less actually done it) placing properties files into the database and having the app server load/methods call a persistent bean containing the keys/values? We are developing for different clients using basically the same framework and I am thinking that rather than maintain separate properties files in various physical locations, to put the properties into the database, write a Java interface defining the extraction methods, and implement concrete classes for each app to load that app's properties. Thoughts? Mark If only I had known this ( T = ( - ? ))! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Setup globals per new session
Hello, You could have an index page that automatically redirects to a struts action. This action could retrieve the information you require and then decide which way to direct the user. Regards. Stephen. -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 15:51 To: Struts Users Mailing List Subject: Setup globals per new session Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which will be listening on several different hostnames) I need to detect which host they are connecting to a store this in a session variable. How can store this data _before_ the user sees anything, i.e. before the response is created? The key is that this should occur for every new session, regardless of what actual resource was requested. I need this mechanism in order to serve up context specific (per hostname) content. Any help is much appreciated. Regards, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
Well, I'm gonna try it...James? Your thoughts? -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Newbie] Where to put Model Access whenever Action class is not an option?
-Original Message- From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 10:15 PM To: '[EMAIL PROTECTED]' Subject: [Newbie] Where to put Model Access whenever Action class is not an option? Hi Folks, first of all I'm a newbie to Struts. As far as I can see it's a great framework. Thx for that a lot. My Problem is that my JSP-Views needs some inital data from the models. Consider some select-boxes given the user a chance make their choices Where can I init the FromBeans that are use to share data between Action class/View? The constructor of the class? As far as I understand the Struts delegates form View to Action using the FormBean and ActionMappings. So Action is always the end of the request chain (view The answer is pretty simple. You make sure an Action is set up to populate a view. The one page you can't directly do this for is the initial page of the application. To alleviate this, your initial page always looks something like this: index.jsp- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN %@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic % logic:forward name=main/ index.jsp- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Setup globals per new session
-Original Message- From: [EMAIL PROTECTED] You could have an index page that automatically redirects to a struts action. This action could retrieve the information you require and then decide which way to direct the user. I had thought of this option. But that wouldn't work if the user has bookmarked a page and went in via the 'back door' if you get my meaning. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
On Thu, 29 Aug 2002, Galbreath, Mark wrote: Date: Thu, 29 Aug 2002 11:01:29 -0400 From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? Well, I'm gonna try it...James? Your thoughts? If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution Craig -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getting off the topic)
Maybe we could sweet-talk Craig into getting something put on the site about using them? I don't know if he'd be willing/able to permit it (or get it permitted), but we could ... do something like has been done with the commons, at least. There is a little blurb up listed with their list info that says: *Important* Since there are multiple projects in commons, please add [/projectname/ ] at the beginning of the subject. ... and I can vouch for the fact that people use the [name] tags pretty regularly. You most certainly could filter on it. The thing to do would be to shun those who do not follow the convention. If someone isn't willing to take the time to learn a communities standards/conventions, are they really worthy of help? Of course, thats a bit more coarse-grained than was proposed, and I rather like the tags proposed, but maybe it's a suitable compromise. So we'd have something like: * [core] * [validator] * [tiles] That's nowhere near as exhaustive, and wouldn't provide as fine-grained control, but I think _anyone_ could manage to remember them ... It could still be useful, I think. Any more exhaustive of a list would (IMHO) need to be posted somewhere folks would see (and read!) when they sign up for the list, if you want to hold them accountable for it to the point you would shun them. I suppose a person could just email them a list of tags and suggest (nicely) that they use them if they want answers to questions ... but ... My $0.02 Eddie [EMAIL PROTECTED] wrote: Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic)
I would agree with putting the tags on. I don't think there needs to be an official list of tags, just having them there will be easy enough. Hopefully, if everyone starts doing it, new people would notice that every time there is a question of something about tiles (for example) it seems to always start with [tiles]... -1 for new list -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:35 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) Are filters really _that_ hard to set up? ... I've got probably 30 of them going to sift and sort my mail -- continually having to edit them as projects evolve (ie there is tomcat5 stuff floating around now, and I had to edit my tc-dev filter). I don't see it as much of a problem -- and most (reasonable) clients can be configured to actually just delete messages off the server if they meet certain criteria, so there's not even any need to download them. +1 for tags -1 for a seperate list +1 for more fridays in the week :-P I think the tags would really help us all zone-in on what is most important to us. As such, I think it would be helpful to everyone - devs *and* users. Think of this example (I'm going to pick on Cedric, because he comes to mind): Cedric downloads his mail - there are about 150 struts-user mailings, but he's really busy and really just cares to see the ones for tiles right now. without tags: Cedric probably has to read all the subjects, and he might still miss something that speaks of a tiles issue but doesn't mention it in the topic. with tags: Cedric knows immediately which threads need his expert assistance, and can even filter them to a (sub-)folder for easy-access. Yes, when he has time he can go through the others too (if he wants), but right now he's quite busy (probably is but I'm speaking hypothetically, of course) so he can just cut to the chase and take care of those people most in need of his help. ... but I'm sure you all have your own view on why it would be a good/bad thing. Regards, Eddie Cliff Rowley wrote: True, I hadn't though of that. On Thu, 2002-08-29 at 15:10, Kidd, Polly wrote: bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
Even if they come close like: [tiles] [tiles problem] [tiles help] They would still be useful and sortable and to a degree filterable . -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:14 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Maybe we could sweet-talk Craig into getting something put on the site about using them? I don't know if he'd be willing/able to permit it (or get it permitted), but we could ... do something like has been done with the commons, at least. There is a little blurb up listed with their list info that says: *Important* Since there are multiple projects in commons, please add [/projectname/ ] at the beginning of the subject. ... and I can vouch for the fact that people use the [name] tags pretty regularly. You most certainly could filter on it. The thing to do would be to shun those who do not follow the convention. If someone isn't willing to take the time to learn a communities standards/conventions, are they really worthy of help? Of course, thats a bit more coarse-grained than was proposed, and I rather like the tags proposed, but maybe it's a suitable compromise. So we'd have something like: * [core] * [validator] * [tiles] That's nowhere near as exhaustive, and wouldn't provide as fine-grained control, but I think _anyone_ could manage to remember them ... It could still be useful, I think. Any more exhaustive of a list would (IMHO) need to be posted somewhere folks would see (and read!) when they sign up for the list, if you want to hold them accountable for it to the point you would shun them. I suppose a person could just email them a list of tags and suggest (nicely) that they use them if they want answers to questions ... but ... My $0.02 Eddie [EMAIL PROTECTED] wrote: Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Setup globals per new session
I would possible embed a flag in the session and have each action check for it's existence. if it doesn't exist, redirect them to the index page. I always have an action before I go into a page and one to exit a page. Regards, Stephen. -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 16:01 To: Struts Users Mailing List Subject: RE: Setup globals per new session -Original Message- From: [EMAIL PROTECTED] You could have an index page that automatically redirects to a struts action. This action could retrieve the information you require and then decide which way to direct the user. I had thought of this option. But that wouldn't work if the user has bookmarked a page and went in via the 'back door' if you get my meaning. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
wouldn´t it be nice if there was a convention of how filtering rules have to look like? That way one could just import them in to any mail program *sigh* . Regards, Michael - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 5:32 PM Subject: RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Even if they come close like: [tiles] [tiles problem] [tiles help] They would still be useful and sortable and to a degree filterable . -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:14 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Maybe we could sweet-talk Craig into getting something put on the site about using them? I don't know if he'd be willing/able to permit it (or get it permitted), but we could ... do something like has been done with the commons, at least. There is a little blurb up listed with their list info that says: *Important* Since there are multiple projects in commons, please add [/projectname/ ] at the beginning of the subject. ... and I can vouch for the fact that people use the [name] tags pretty regularly. You most certainly could filter on it. The thing to do would be to shun those who do not follow the convention. If someone isn't willing to take the time to learn a communities standards/conventions, are they really worthy of help? Of course, thats a bit more coarse-grained than was proposed, and I rather like the tags proposed, but maybe it's a suitable compromise. So we'd have something like: * [core] * [validator] * [tiles] That's nowhere near as exhaustive, and wouldn't provide as fine-grained control, but I think _anyone_ could manage to remember them ... It could still be useful, I think. Any more exhaustive of a list would (IMHO) need to be posted somewhere folks would see (and read!) when they sign up for the list, if you want to hold them accountable for it to the point you would shun them. I suppose a person could just email them a list of tags and suggest (nicely) that they use them if they want answers to questions ... but ... My $0.02 Eddie [EMAIL PROTECTED] wrote: Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
Heck I would just be happy if Outlook rules worked consistently and applied to server store... -Original Message- From: home [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:47 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) wouldn´t it be nice if there was a convention of how filtering rules have to look like? That way one could just import them in to any mail program *sigh* . Regards, Michael - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 5:32 PM Subject: RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Even if they come close like: [tiles] [tiles problem] [tiles help] They would still be useful and sortable and to a degree filterable . -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:14 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Maybe we could sweet-talk Craig into getting something put on the site about using them? I don't know if he'd be willing/able to permit it (or get it permitted), but we could ... do something like has been done with the commons, at least. There is a little blurb up listed with their list info that says: *Important* Since there are multiple projects in commons, please add [/projectname/ ] at the beginning of the subject. ... and I can vouch for the fact that people use the [name] tags pretty regularly. You most certainly could filter on it. The thing to do would be to shun those who do not follow the convention. If someone isn't willing to take the time to learn a communities standards/conventions, are they really worthy of help? Of course, thats a bit more coarse-grained than was proposed, and I rather like the tags proposed, but maybe it's a suitable compromise. So we'd have something like: * [core] * [validator] * [tiles] That's nowhere near as exhaustive, and wouldn't provide as fine-grained control, but I think _anyone_ could manage to remember them ... It could still be useful, I think. Any more exhaustive of a list would (IMHO) need to be posted somewhere folks would see (and read!) when they sign up for the list, if you want to hold them accountable for it to the point you would shun them. I suppose a person could just email them a list of tags and suggest (nicely) that they use them if they want answers to questions ... but ... My $0.02 Eddie [EMAIL PROTECTED] wrote: Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: ApplicationResources.properties to DB?
Mark Kaye wrote: -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? Yes, it is. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)
I agree, I just can't see tagging like this ever working all that well. If there is an easily identifiable (esp. to non-Struts gurus) topic that seems to generate a fair amount of traffic, then I think a separate mailing list is a better idea. Tiles is a good example, I think. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: August 29, 2002 10:45 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV from:Jerry Jalenak [EMAIL PROTECTED] date:Thu, 29 Aug 2002 14:28:01 to: [EMAIL PROTECTED] subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic) comment Still chuckling about the Veggie Tales thread from yesterday. Thanks to everyone for lightening up the afternoon! /comment James Mitchell had a suggestion yesterday about using a [topic] prefix in the subject line that can be used to filter threads. I know that I would use this as I don't really care about how to configure WebSphere or JBuilder (no offense intended) to use Struts. James had a pretty good start on a list (see below); I vote that we ALL begin trying to use these and expand on them as needed. It would be nice to be able to limit the number of e-mails that we all have to deal with from this list (and all of the others) that we belong to. James List: [DynaForms] [Validator] [Logging] [DTD] [EJB] [i18n] [IDE] - maybe include the name of the IDE? i.e [IDE-JBuilder] [JSTL] [Modules] or [Sub-Apps] [Struts-Example] [Tiles] [SOAP] [Taglib] [UML] I would like to add [Struts-Config] [Tiles-Config] [Validator-Config] etc. or is this getting to fine-grained? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21placement=home_multi.gifsite=amazon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts Presentation at AJUG
Hey Chuck, if you want to point that domain to my server, I'll gladly setup the beer4all app and host it for you using MySQL, SQL Server, or Oracle. Sorry, can't help with VC. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 8:33 AM To: Struts Users Mailing List Subject: RE: Struts Presentation at AJUG Hi, Really cool presentation ! Just two question, How time take this presentation at AJUG ? And when www.beer4all.com will be open ? Thanx a lot, -Emmanuel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL PROTECTED] Subject: Struts Presentation at AJUG For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the file called readme.first included with the ZIP file. There's some setup that you'll need to do for OJB and HyperSonic. The presentation is available at: http://www.ajug.org/meetings/download/struts.pdf and the demo app is at: http://www.ajug.org/meetings/download/struts_demo.zip I'm not sure how long the links will be there, so grab them fast. BTW, there were over 200 people at the presentation, which is the biggest yet. Just another indicator how popular the framework has become. Enjoy, Chuck Cavaness -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getting off the topic)
It really *can* work quite well. You must not be subscribed to commons-dev, or you'd know how well it can (and does!) work. Galbraith, Paul wrote: I agree, I just can't see tagging like this ever working all that well. If there is an easily identifiable (esp. to non-Struts gurus) topic that seems to generate a fair amount of traffic, then I think a separate mailing list is a better idea. Tiles is a good example, I think. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . . . .etc) To me it would be nice if everyone done this, but chances are it's not going to happen. The few people who try to do it are going to get annoyed that no one else does etc. Getting people to put half decent headers on the emails would be a start. How many time have you seen things like help or struts problem? Why else are these people posting to the group? These headers might help with these problems, but I doubt it would ever be enough to filter your emails. Totally agree that making 2 list will just encourage double posting too! Regards IV -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Setup globals per new session
Implement the HttpSessionListener -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 7:56 AM To: [EMAIL PROTECTED] Subject: RE: Setup globals per new session Hello, You could have an index page that automatically redirects to a struts action. This action could retrieve the information you require and then decide which way to direct the user. Regards. Stephen. -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: 29 August 2002 15:51 To: Struts Users Mailing List Subject: Setup globals per new session Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which will be listening on several different hostnames) I need to detect which host they are connecting to a store this in a session variable. How can store this data _before_ the user sees anything, i.e. before the response is created? The key is that this should occur for every new session, regardless of what actual resource was requested. I need this mechanism in order to serve up context specific (per hostname) content. Any help is much appreciated. Regards, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Struts and Many Buttons on Single page
Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
RE: AW: ApplicationResources.properties to DB?
On Thu, 29 Aug 2002, Mark Kaye wrote: Date: Thu, 29 Aug 2002 16:09:24 +0100 From: Mark Kaye [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this would be an ideal solution for my work too. I wonder what the differences would be between parsing a very large ApplicationResources.properties and a database table with the appropriate entries. I assume that all this stuff is cached at startup by Struts. Is this the case? star-wars-reference Use the Source, Luke ... /star-wars-reference In particular, the sources to the following org.apache.struts.util classes will be very useful to you: - MessageResources - MessageResourcesFactory - PropertyMessageResources - PropertyMessageResourcesFactory The default implementation (PropertyMessageResources) caches the resources in memory the first time you access a particular file. The proposed JDBCMessageResources would have to make its own decisions about whether to cache or not -- perhaps as a configuration option. You would probably also want to be flexible about how the database connection is established, what the table and column names are, and so on -- for some ideas about configuration, take a look at how JDBCRealm is configured in Tomcat. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we gettingo ff the topic)
On Thu, 29 Aug 2002 [EMAIL PROTECTED] wrote: Date: Thu, 29 Aug 2002 11:25:01 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) I would agree with putting the tags on. I don't think there needs to be an official list of tags, just having them there will be easy enough. I will put them on the description of the STRUTS-USER mailing list, but only as a recommended convention -- not as a requirement. Personally, I leave my mail reader in sort-by-thread mode with a different folder per subscribed list -- and the first menu option I learned was the mark thread as read command ... it works wonders. Hopefully, if everyone starts doing it, new people would notice that every time there is a question of something about tiles (for example) it seems to always start with [tiles]... People do learn by watching -- but I'm going to absolutely *stomp* on anybody who yells at newbies for not following the convention. -1 for new list I'm already maxed on the number of lists that *I* am willing to subscribe to ... Craig -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:35 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) Are filters really _that_ hard to set up? ... I've got probably 30 of them going to sift and sort my mail -- continually having to edit them as projects evolve (ie there is tomcat5 stuff floating around now, and I had to edit my tc-dev filter). I don't see it as much of a problem -- and most (reasonable) clients can be configured to actually just delete messages off the server if they meet certain criteria, so there's not even any need to download them. +1 for tags -1 for a seperate list +1 for more fridays in the week :-P I think the tags would really help us all zone-in on what is most important to us. As such, I think it would be helpful to everyone - devs *and* users. Think of this example (I'm going to pick on Cedric, because he comes to mind): Cedric downloads his mail - there are about 150 struts-user mailings, but he's really busy and really just cares to see the ones for tiles right now. without tags: Cedric probably has to read all the subjects, and he might still miss something that speaks of a tiles issue but doesn't mention it in the topic. with tags: Cedric knows immediately which threads need his expert assistance, and can even filter them to a (sub-)folder for easy-access. Yes, when he has time he can go through the others too (if he wants), but right now he's quite busy (probably is but I'm speaking hypothetically, of course) so he can just cut to the chase and take care of those people most in need of his help. ... but I'm sure you all have your own view on why it would be a good/bad thing. Regards, Eddie Cliff Rowley wrote: True, I hadn't though of that. On Thu, 2002-08-29 at 15:10, Kidd, Polly wrote: bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Proposal] Thread Topic Identification (was [BS] Are we getti ngoff the topic)
Craig R. McClanahan wrote: I will put them on the description of the STRUTS-USER mailing list, but only as a recommended convention -- not as a requirement. Personally, I leave my mail reader in sort-by-thread mode with a different folder per subscribed list -- and the first menu option I learned was the mark thread as read command ... it works wonders. That's pretty much what I do - that, combined with setting your view to Threads w/unread messages works quite well. Hopefully, if everyone starts doing it, new people would notice that every time there is a question of something about tiles (for example) it seems to always start with [tiles]... People do learn by watching -- but I'm going to absolutely *stomp* on anybody who yells at newbies for not following the convention. D'oh! Ok, my idea was (partially) bad - I get the hint. I guess, in a way, to do so would be rather anti-struts in itself (gouging newbies for not following convention). I have no desire to have Craig R. McClannahan ticked off at me! (I'm not being facetious either!) -1 for new list I'm already maxed on the number of lists that *I* am willing to subscribe to ... Craig Regards, Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are wegetti ngo ff the topic)
Craig, Thanks for offering to put this on the description for the mailing list - I agree that they should be a recommended convention, not a requirement. I also applaude you for offering to 'stomp' on anyone who takes a newbie to task for not following the recommendation - after all, we were all newbies at one point also. I think if the regular contributors begin using the convention, everyone will, over time, begin to use it also. Newbies in particular will pick up on this also. There will still be the occassional post without a topic prefix, but I really think that eventually we'll see a complete adoption of this convention. Jerry -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:03 AM To: Struts Users Mailing List Subject: RE: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) On Thu, 29 Aug 2002 [EMAIL PROTECTED] wrote: Date: Thu, 29 Aug 2002 11:25:01 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) I would agree with putting the tags on. I don't think there needs to be an official list of tags, just having them there will be easy enough. I will put them on the description of the STRUTS-USER mailing list, but only as a recommended convention -- not as a requirement. Personally, I leave my mail reader in sort-by-thread mode with a different folder per subscribed list -- and the first menu option I learned was the mark thread as read command ... it works wonders. Hopefully, if everyone starts doing it, new people would notice that every time there is a question of something about tiles (for example) it seems to always start with [tiles]... People do learn by watching -- but I'm going to absolutely *stomp* on anybody who yells at newbies for not following the convention. -1 for new list I'm already maxed on the number of lists that *I* am willing to subscribe to ... Craig -Original Message- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:35 AM To: struts-user Subject: Re: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic) Are filters really _that_ hard to set up? ... I've got probably 30 of them going to sift and sort my mail -- continually having to edit them as projects evolve (ie there is tomcat5 stuff floating around now, and I had to edit my tc-dev filter). I don't see it as much of a problem -- and most (reasonable) clients can be configured to actually just delete messages off the server if they meet certain criteria, so there's not even any need to download them. +1 for tags -1 for a seperate list +1 for more fridays in the week :-P I think the tags would really help us all zone-in on what is most important to us. As such, I think it would be helpful to everyone - devs *and* users. Think of this example (I'm going to pick on Cedric, because he comes to mind): Cedric downloads his mail - there are about 150 struts-user mailings, but he's really busy and really just cares to see the ones for tiles right now. without tags: Cedric probably has to read all the subjects, and he might still miss something that speaks of a tiles issue but doesn't mention it in the topic. with tags: Cedric knows immediately which threads need his expert assistance, and can even filter them to a (sub-)folder for easy-access. Yes, when he has time he can go through the others too (if he wants), but right now he's quite busy (probably is but I'm speaking hypothetically, of course) so he can just cut to the chase and take care of those people most in need of his help. ... but I'm sure you all have your own view on why it would be a good/bad thing. Regards, Eddie Cliff Rowley wrote: True, I hadn't though of that. On Thu, 2002-08-29 at 15:10, Kidd, Polly wrote: bound to be... if someone isn't sure which category their problem falls into, they will probably mail to both... -Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] I guess the question is, filter one list or two. Is the volume of two separate lists going to be more than the same information in one list? On Thu, 2002-08-29 at 15:04, Tim T. Young wrote: My fear with another list is that good information will be available in both, and I will have to process 300+ emails a day (2 lists x 150 a list). Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:
Logging in struts-example
I have managed to get the Log4j package logging to a log file, when Jetty starts, for the struts-example application. I expected to see the log messages from the log.info() entries in the MemoryDatabasePlugin class but they do not show up in the log files. Are there additional configurations to get these messages. I get quite a few message from the digrester and when the ApplicationProperties file is parsed but nothing from the application code. Thanks for any help, Mike Karrys PRC Public Sector Inc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Struts and Many Buttons on Single page
Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: script language=JavaScript function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } /script html:form name=consult type=ActionForm action=/save.do input type=button class=simpletext value=Valider onClick=doSubmit(1);return false; input type=button value=Delete class=simpletext onClick=if (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; /html:form Hope it will help, Renato - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: ApplicationResources.properties to DB?
Well, I've convinced the team to let me give it a shot, so I'll let you know; It should only take a couple of days, since I can devote all my attention to it (well, all that's not spent on [OT] threads here!). Mark -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 11:08 AM To: Struts Users Mailing List Subject: RE: AW: ApplicationResources.properties to DB? On Thu, 29 Aug 2002, Galbreath, Mark wrote: Date: Thu, 29 Aug 2002 11:01:29 -0400 From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: AW: ApplicationResources.properties to DB? Well, I'm gonna try it...James? Your thoughts? If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution Craig -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:54 AM To: Struts Users Mailing List Subject: Re: AW: ApplicationResources.properties to DB? I was seriously lookint at doing JDBCMessageResources back when we talked about it. Unfortunately, my time constraints don't give me much mobility right now ... Feel free to build it and contribute it! As I said to Mark, talk to James Mitchell before you get along too far in building it - he has some very good ideas for substantially increasing the functionality. Regards, Eddie Juraj Lenharcik wrote: Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
First time penatly
Hi folks, Everytime I start or restart the app, the user will experience the slowness becuase the jsp pages have to be compiled. Long time ago, I read a book saying there is a way to pre-compile the jsp files to avoid this first time penatly, but I can't make it work. Would anybody tell me how to do pre-compile, thanks! Billy Ng _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [JavaScript] Struts and Many Buttons on Single page
Just testing the tag protocol :-) -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:32 AM To: Struts Users Mailing List Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Proposal] Thread Topic Identification (was [BS] Are we getti ngo ff the topic)
No kidding! I'm on servlet-interest, j2ee-interest, struts-user, and hash-l. Ad to that all the spam crap I get and I'm up to around 300 msgs/day. I want to join an Oracle list but the volume already is bordering on the unmanageable. Mark -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:03 PM -1 for new list I'm already maxed on the number of lists that *I* am willing to subscribe to ... Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: confusion about view part!!!
Amit, I've been using Struts/Tiles for quite sometime. They works well together. My only advice is stay away from frame and JavaScript that control the lookfeel as much as possible(this doesn't mean you have to avoid using it). danny -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 10:18 PM To: Struts Users Mailing List Subject: confusion about view part!!! Hi All, I am working on very large scale b2b portal containing Jsp pages which usus javascripts and style sheets in bulk. So, I am confused that view pages should be made directly using struts tag or it should be easy to make in html and then convert into struts. In my company designers are not aware with struts so we are going to get html pages. do any one has idea that how difficult it is going to be if we converts html pages(with bulky javascript and stylesheets) into struts? Also, designers are used to make pages using frames, so is there any problem using frames in struts or templates (or tiles) is better option? Please help me to sort out. Thanks in reading the mail. Amit Badheka. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts and Many Buttons on Single page
in ur action handler u can do a getParameters(request) into a hashtable and then do a request.getParameterValues(name) for each of them. Once u have the name of the button which have pressed then u can do something lik given below if (parameters.containsKey(submit)) { submitValues = (HashSet)parameters.get(submit); Iterator it = submitValues.iterator(); String option =; while (it.hasNext()) { option = (String)it.next(); } if (option.equalsIgnoreCase(add)) { return mapping.findForward(addsuccessful); } } And then in ur struts config file there has to be an entry for the actionhandler which wud then redirect to a jsp . Let me know if i have been clear enuf. cheers susmita -Original Message- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:22 PM To: Struts Users Mailing List Subject: Re: Struts and Many Buttons on Single page Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: script language=JavaScript function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } /script html:form name=consult type=ActionForm action=/save.do input type=button class=simpletext value=Valider onClick=doSubmit(1);return false; input type=button value=Delete class=simpletext onClick=if (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; /html:form Hope it will help, Renato - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts and Many Buttons on Single page
If the multiple buttons are part of the same form, then give them different names. When the form submits you will see a name/value pair submit=buttonname. Get this value out of the request, then use the value to take your processing in the right direction. For development, set your form method=GET. Then you will see these values in the URL. -Original Message- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:22 AM To: Struts Users Mailing List Subject: Re: Struts and Many Buttons on Single page Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: script language=JavaScript function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } /script html:form name=consult type=ActionForm action=/save.do input type=button class=simpletext value=Valider onClick=doSubmit(1);return false; input type=button value=Delete class=simpletext onClick=if (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; /html:form Hope it will help, Renato - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ApplicationResources.properties to DB?
If you decide to start developing a DB MessageResouces implementation, I would like to contribute - this is functionality I need as well and have thought about taking on. Let me know if you need/want any help. Jason -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 8:00 AM To: 'Struts Users Mailing List' Subject: RE: ApplicationResources.properties to DB? Outstanding...thanx! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:46 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties to DB? James and I bandied about this topic some time ago (I think you were either out-of-country or on vacation) in response to someone else wanting to do exactly the same thing. I think the suggestion Craig put forth was to extend MessageResources (ie build JDBCMessageResources). Oh, and, if you choose to implement it, you should talk to James (Mitchell). He has some very fascinating ideas you may want to consider ... HTH, Eddie Galbreath, Mark wrote: Has anybody given any thought to (much less actually done it) placing properties files into the database and having the app server load/methods call a persistent bean containing the keys/values? We are developing for different clients using basically the same framework and I am thinking that rather than maintain separate properties files in various physical locations, to put the properties into the database, write a Java interface defining the extraction methods, and implement concrete classes for each app to load that app's properties. Thoughts? Mark If only I had known this ( T = ( - ? ))! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [JSP-Compile] First time penatly
RTFM that you downloaded with your servlet container and all will be revealed. Mark -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: First time penatly Hi folks, Everytime I start or restart the app, the user will experience the slowness becuase the jsp pages have to be compiled. Long time ago, I read a book saying there is a way to pre-compile the jsp files to avoid this first time penatly, but I can't make it work. Would anybody tell me how to do pre-compile, thanks! Billy Ng _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [JavaScript-cool] Struts and Many Buttons on Single page
thats pretty cool I have a suggestion here...In the footer of the mail ( where we have the subscribe and unsubscribe info) why dont we add in very few words ... something abt the tag protocol so that new bees dont have to be reminded by it thanks susmita -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:43 PM To: 'Struts Users Mailing List' Subject: RE: [JavaScript] Struts and Many Buttons on Single page Just testing the tag protocol :-) -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 10:32 AM To: Struts Users Mailing List Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]