Re: Using Frames in Struts
Hello Jacob, Yes I am not sure in how 2 sessions will be initiated. Can u please elobrate on the point Alok - Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:24 PM Subject: Re: Using Frames in Struts Are you sure that with frames, you don't have 2 sessions running? Usually you have a single page that initiates the session, then forwards to the frames pages. - Original Message - From: Alok Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:43 AM Subject: Re: Using Frames in Struts Hello Corneil , Thanx for teh reply its in the Session. Alok - Original Message - From: du Plessis, Corneil C [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 11:49 AM Subject: RE: Using Frames in Struts Sounds like your hastable is in your request and not the session Corneil du Plessis Technical Specialist Internet Development Retail Channels Standard Bank Direct +27 (11) 636-2210 Mobile +27 (83) 442-9221 ICQ# 66747137 -Original Message- From: Alok Garg [mailto:alok;direct2s.com] Sent: 01 November, 2002 06:17 To: Struts Users Mailing List Subject: Using Frames in Struts Has anybody have used frames in Struts 1.1b2 with weblogic61 then please guide me with a problem that I am facing. I have a main Frame with 2 frames in it. From one frame1 I am calling an action class from where I am setting a hashtable, and I am forwarding it to the main frame. I want to access this hashtable in my second frame which I am unable to do it. I can get the hashtable in the first frame but not in the second frame. Now, when I press refresh I get the hashtable in the secondframe. Please help me with this, and if u can provide me with an example it would be of greate help. Alok __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. __ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Using Frames in Struts
I remember the issue coming up before where if two requests were made at the same time to the server, you would somehow end up with two sessions. The recommendation of that thread, if I remember correctly, was to have a login page or an action that initializes a session, then forwards to the frames page once that single session is set. - Original Message - From: Alok Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 2:03 AM Subject: Re: Using Frames in Struts Hello Jacob, Yes I am not sure in how 2 sessions will be initiated. Can u please elobrate on the point Alok - Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:24 PM Subject: Re: Using Frames in Struts Are you sure that with frames, you don't have 2 sessions running? Usually you have a single page that initiates the session, then forwards to the frames pages. - Original Message - From: Alok Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:43 AM Subject: Re: Using Frames in Struts Hello Corneil , Thanx for teh reply its in the Session. Alok - Original Message - From: du Plessis, Corneil C [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 11:49 AM Subject: RE: Using Frames in Struts Sounds like your hastable is in your request and not the session Corneil du Plessis Technical Specialist Internet Development Retail Channels Standard Bank Direct +27 (11) 636-2210 Mobile +27 (83) 442-9221 ICQ# 66747137 -Original Message- From: Alok Garg [mailto:alok;direct2s.com] Sent: 01 November, 2002 06:17 To: Struts Users Mailing List Subject: Using Frames in Struts Has anybody have used frames in Struts 1.1b2 with weblogic61 then please guide me with a problem that I am facing. I have a main Frame with 2 frames in it. From one frame1 I am calling an action class from where I am setting a hashtable, and I am forwarding it to the main frame. I want to access this hashtable in my second frame which I am unable to do it. I can get the hashtable in the first frame but not in the second frame. Now, when I press refresh I get the hashtable in the secondframe. Please help me with this, and if u can provide me with an example it would be of greate help. Alok __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. __ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Using Frames in Struts
Hello Jacob, Thanx for the reply. I will explain you the whole app. flow 1) The user selects an option on a page from where the request is forwarded to a action class. 2) In the action class a hashtable of Categories is loaded and is forwarded to the a Frameset that contains 2 frames one which shows 2 select box and the 2 frame displays the result on selecting a item in the second select box. 3) Now the user is asked to select a category on selecting a category a the request is forwarded via a javascript to a categoryAction class. 4) In CategoryAction class all the assortments for the selected Category are loaded and the request is forwarded to a the same main frame which contains the 2 frames. 5) On selection of the assortment the request is forwarded to AssortmentAction via javascript where all the sub Assortments are selected and the result have to be displayed in the second frame. Please Guide me with it. the javascript code:: unction ChangeCategory() { document.categoriesForm.submit(); } function ChangeAssortment() { assortmentForm.target=main; document.assortmentForm.submit(); } - Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 1:37 PM Subject: Re: Using Frames in Struts I remember the issue coming up before where if two requests were made at the same time to the server, you would somehow end up with two sessions. The recommendation of that thread, if I remember correctly, was to have a login page or an action that initializes a session, then forwards to the frames page once that single session is set. - Original Message - From: Alok Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 2:03 AM Subject: Re: Using Frames in Struts Hello Jacob, Yes I am not sure in how 2 sessions will be initiated. Can u please elobrate on the point Alok - Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:24 PM Subject: Re: Using Frames in Struts Are you sure that with frames, you don't have 2 sessions running? Usually you have a single page that initiates the session, then forwards to the frames pages. - Original Message - From: Alok Garg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 12:43 AM Subject: Re: Using Frames in Struts Hello Corneil , Thanx for teh reply its in the Session. Alok - Original Message - From: du Plessis, Corneil C [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 11:49 AM Subject: RE: Using Frames in Struts Sounds like your hastable is in your request and not the session Corneil du Plessis Technical Specialist Internet Development Retail Channels Standard Bank Direct +27 (11) 636-2210 Mobile +27 (83) 442-9221 ICQ# 66747137 -Original Message- From: Alok Garg [mailto:alok;direct2s.com] Sent: 01 November, 2002 06:17 To: Struts Users Mailing List Subject: Using Frames in Struts Has anybody have used frames in Struts 1.1b2 with weblogic61 then please guide me with a problem that I am facing. I have a main Frame with 2 frames in it. From one frame1 I am calling an action class from where I am setting a hashtable, and I am forwarding it to the main frame. I want to access this hashtable in my second frame which I am unable to do it. I can get the hashtable in the first frame but not in the second frame. Now, when I press refresh I get the hashtable in the secondframe. Please help me with this, and if u can provide me with an example it would be of greate help. Alok __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.
page uri changes
I am trying to call a jsp from a jsp using html:link. My flow is like - jsp -- jsp -- action -- jsp(same page from where started) original uri is /ECatalogAdminApp/jsp/currency.jsp but when it comes to that page again uri becomes, /ECatalogAdminApp/currency.jsp please help.
Strange JasperException when using the nightly build 20021031
Hi, when I use the build 20021031 I get a strange jasper exception (attached at the end) with 1.1-b2 I don't get this exception. Any ideas how to fix it? Zsolt % taglib uri=/struts-tiles.tld prefix=tiles % html head LINK href=css/CB-Style.css rel=stylesheet type=text/css /head BODY bgcolor=white link=#00 vlink=#00 alink=#00 topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 table width=100% border='0' cellspacing=0 cellpadding=0 tr td tiles:insert page='/test/templates/leftColSepRightCol.jsp' flush=true /tiles:insert /td /tr /table /body /html Trace: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:497) at org.apache.jsp.index_jsp._jspService(index_jsp.java:76) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at
Problem in submitting form in Struts 1.0.2
Hi, I would appreciate if someone can help me out in the following problem. The problem is that initially I was using javascript functions function go(){ document.form.action = /TrialServlet; document.form.parameter.value = go; document.form.submit(); } and calling the above function in html as shown below a href=javascript:go()img src=/image1.gif border=0/a Note that value is a hidden parameter in the html. Which helps me to identify what action to take. In the above case I am submitting my form to same TrialServletand in the servlet I am checking for request.getParameter(value) if it go then some action is performed else (say save) different action is performed. Now i want to do the same thing in struts 1.0.2 and without using javascript. I have used the DispatchAction class so I also have to specify the method parameter. Currently I have used, a href=/trial.do?method=processOpenAsmthtml:image src=/image1.gif property=value value=go//a the above tags are not working and form does not get submitted to that servlet mentioned in the action attribute of the form tag. Due to this all the form parameters are not available in the Action class. I also tried using the below given 3 methods: - html:link href==/trial.do?method=processOpenAsmt html:img src=/image1.gif property=value value=go//html:link html:link forward==/trial.do?method=processOpenAsmt html:img src=/image2.gif property=value value=go//html:link html:image src=/image1.gif property=value value=go/ Can anyone help me out..I would appreciate the help. Regards, Paresh.P.Mondkar -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
URGENT: page uri changes
There are few things I would like to include is that the path for images are also changing same way as describe below. I am using relative path for all. Please help. - Original Message - From: Amit Badheka To: Struts Users Mailing List Sent: Friday, November 01, 2002 2:13 PM Subject: page uri changes I am trying to call a jsp from a jsp using html:link. My flow is like - jsp -- jsp -- action -- jsp(same page from where started) original uri is /ECatalogAdminApp/jsp/currency.jsp but when it comes to that page again uri becomes, /ECatalogAdminApp/currency.jsp please help.
Re: tiles:put / in ActionForward.perform()
Hi again! I think I have got some progress in the subject. I found the org.apache.struts.webapp.tiles.template.DynTemplateAction and with that as model i added a page looking like this: /layout6/page2.jsp-- % taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert beanName=test.page /tiles:insert --- So now my action looks like this: -- action path=/layout6/page type=layout.BodyChangeAction forward name=success path=/layout6/page2.jsp / forward name=error path=/layout6/error.jsp / /action - I get the following exception: javax.servlet.ServletException: Error - Tag Insert : No value defined for bean 'test.page' with property 'null' in scope 'null'. - I also tried to request.getAttribute(test.page); but it returns null so to me it seems like request.setAttribute(test.page, defintion); doesn't reach page2.jsp?? Other info: --/layout6/page-defintion- definition name=/layout6/page page=/layout6/layout.jsp put name=header value=/layout6/header.jsp/ put name=footer value=/layout6/footer.jsp/ put name=menu value=/layout6/menu.jsp/ put name=body value=/layout6/body1.jsp/ /definition --Source of my action - String forward = success; String path = request.getParameter(body); // Change nothing if(path == null || path.equals()){ // do nothing }else{ // Try to change body-page ServletContext context = this.getServlet().getServletContext(); ComponentDefinition cd = null; try{ // Get the name of the defintion from the URI String definition = request.getRequestURI(); definition = definition.substring(0, definition.lastIndexOf('.')); // Create new definition from and existing cd = new ComponentDefinition(DefinitionsUtil.getDefinition(definition, request, context)) ; // Alter the definition cd.putAttribute(body, path); // Put the definition where the page can find it DefinitionsUtil.setActionDefinition( request, cd) ; request.setAttribute(test.page, cd); // if something is wrong }catch(Exception e){ e.printStackTrace(); forward = error; } } return mapping.findForward(forward); Thanks in advance Roland Carlsson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: URGENT: page uri changes
If you posted relevant parts of struts-config and your jsp-code it would be simpler to say what's wrong. Now one can guess that your action doesn't have the same path as your jsp:s? Regards Roland Carlsson - Original Message - From: Amit Badheka [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 10:26 AM Subject: URGENT: page uri changes There are few things I would like to include is that the path for images are also changing same way as describe below. I am using relative path for all. Please help. - Original Message - From: Amit Badheka To: Struts Users Mailing List Sent: Friday, November 01, 2002 2:13 PM Subject: page uri changes I am trying to call a jsp from a jsp using html:link. My flow is like - jsp -- jsp -- action -- jsp(same page from where started) original uri is /ECatalogAdminApp/jsp/currency.jsp but when it comes to that page again uri becomes, /ECatalogAdminApp/currency.jsp please help. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: null pointer exception in tiles-documentation/examples/summariesTabs.jsp
It was the 21/10/2002 nightly build that we used. Hue. -Original Message- From: Zsolt Koppany [mailto:zk;intland.com] Sent: 01 November 2002 09:18 To: Struts Users Mailing List; Hue Holleran Subject: Re: null pointer exception in tiles-documentation/examples/summariesTabs.jsp Hi Hue, I do have problems with the latest nightly builds. Which one did took? Zsolt On Thursday 31 October 2002 21:43, Hue Holleran wrote: Hi Zsolt, If it's the version of tiles-documentation.war that came with 1.1b2 then it did not work for us - we tried to identify the issues but did not get very far - probably due to tiles being very new to us. The tiles-documentation.war from the nightly build worked immediately for us ... in fact it was on the tabs examples that we had the problems with the one from 1.1b2 - the rest of the examples did appear to work. The nightly build version sorted all of these - so I'd recommend you try this first! Hue. -Original Message- From: Zsolt Koppany [mailto:zkoppany;web.de] Sent: 31 October 2002 20:18 To: [EMAIL PROTECTED] Subject: null pointer exception in tiles-documentation/examples/summariesTabs.jsp Hi, I get a null pointer exception in tiles-documentation/examples/summariesTabs.jsp I using struts-1.1-b2 with tomcat-4.12 when enablePooling=true in web.xml. Do you know any fix? Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Str. 16 70565 Stuttgart Tel: +49-711-7221873 Fax: +49-1212-5168-29527 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Problem in submitting form in Struts 1.0.2
I do not think it is possible to submit a form from an href without using javascript. Either use a button or javascript. - Original Message - From: Mondkar,Paresh [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, November 01, 2002 11:03 AM Subject: Problem in submitting form in Struts 1.0.2 Hi, I would appreciate if someone can help me out in the following problem. The problem is that initially I was using javascript functions function go(){ document.form.action = /TrialServlet; document.form.parameter.value = go; document.form.submit(); } and calling the above function in html as shown below a href=javascript:go()img src=/image1.gif border=0/a Note that value is a hidden parameter in the html. Which helps me to identify what action to take. In the above case I am submitting my form to same TrialServletand in the servlet I am checking for request.getParameter(value) if it go then some action is performed else (say save) different action is performed. Now i want to do the same thing in struts 1.0.2 and without using javascript. I have used the DispatchAction class so I also have to specify the method parameter. Currently I have used, a href=/trial.do?method=processOpenAsmthtml:image src=/image1.gif property=value value=go//a the above tags are not working and form does not get submitted to that servlet mentioned in the action attribute of the form tag. Due to this all the form parameters are not available in the Action class. I also tried using the below given 3 methods: - html:link href==/trial.do?method=processOpenAsmt html:img src=/image1.gif property=value value=go//html:link html:link forward==/trial.do?method=processOpenAsmt html:img src=/image2.gif property=value value=go//html:link html:image src=/image1.gif property=value value=go/ Can anyone help me out..I would appreciate the help. Regards, Paresh.P.Mondkar -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Strange JasperException when using the nightly build 20021031
Now I know what the reason is. The log4j.jar must be in the tomcat/server/lib directory because the common.logging package needs it. First I would say this is a bug and I run tomcat under 1.4.1_01 and I think the common.logging package should use the logging package of jdk-1.4.1_01 shouldn't it? Zsolt On Friday 01 November 2002 10:11, Zsolt Koppany wrote: Hi, when I use the build 20021031 I get a strange jasper exception (attached at the end) with 1.1-b2 I don't get this exception. Any ideas how to fix it? Zsolt % taglib uri=/struts-tiles.tld prefix=tiles % html head LINK href=css/CB-Style.css rel=stylesheet type=text/css /head BODY bgcolor=white link=#00 vlink=#00 alink=#00 topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 table width=100% border='0' cellspacing=0 cellpadding=0 tr td tiles:insert page='/test/templates/leftColSepRightCol.jsp' flush=true /tiles:insert /td /tr /table /body /html Trace: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: 248) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18 0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve .java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17 2) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn ection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja va:533) at java.lang.Thread.run(Thread.java:536) root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextIm pl.java:497) at org.apache.jsp.index_jsp._jspService(index_jsp.java:76) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: 204) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:247) at
Reroute to login page
Hi, Does html:link need an action class? html:link page=/logoff.action/html:link I want to show the login page again when the user logs off. I am thinking that it is not possible without associating an action. !-- Process a user logoff -- actionpath=/logoff type=com.hcl.smartmanage.web.LogoutAction name=noDataForm scope=request /action If I use a normal html href( no tags, just html ) instead of html:link then the context doesn't get prefixed to the action. html:link -- http://localhost/SmartManage/logoff.action href -- http://localhost/logoff.action What is the best way to re-route to the login page when the user logs off? Thanks, Mohan -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[FRIDAY] Kill the popups
http://b3ta.com/realistic-internet-simulator/ :) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Reroute to login page
Hi, I solved my problem by using an action and forwarding to the login page. html:link page=/logoff.action . html:img imageName=x src=images/x.gif width=38 height=34 border=0 alt= /html:img /html:link/td Thanks, Mohan -Original Message- From: Mohan Radhakrishnan Sent: Friday, November 01, 2002 4:05 PM To: 'Struts Users Mailing List' Subject: Reroute to login page Hi, Does html:link need an action class? html:link page=/logoff.action/html:link I want to show the login page again when the user logs off. I am thinking that it is not possible without associating an action. !-- Process a user logoff -- actionpath=/logoff type=com.hcl.smartmanage.web.LogoutAction name=noDataForm scope=request /action If I use a normal html href( no tags, just html ) instead of html:link then the context doesn't get prefixed to the action. html:link -- http://localhost/SmartManage/logoff.action href -- http://localhost/logoff.action What is the best way to re-route to the login page when the user logs off? Thanks, Mohan -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Reroute to login page
You could also use the inbuilt ForwardAction. Details are in the javadocs of Struts. Regards, Vikram - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, November 01, 2002 9:42 PM Subject: RE: Reroute to login page Hi, I solved my problem by using an action and forwarding to the login page. html:link page=/logoff.action . html:img imageName=x src=images/x.gif width=38 height=34 border=0 alt= /html:img /html:link/td Thanks, Mohan -Original Message- From: Mohan Radhakrishnan Sent: Friday, November 01, 2002 4:05 PM To: 'Struts Users Mailing List' Subject: Reroute to login page Hi, Does html:link need an action class? html:link page=/logoff.action/html:link I want to show the login page again when the user logs off. I am thinking that it is not possible without associating an action. !-- Process a user logoff -- actionpath=/logoff type=com.hcl.smartmanage.web.LogoutAction name=noDataForm scope=request /action If I use a normal html href( no tags, just html ) instead of html:link then the context doesn't get prefixed to the action. html:link -- http://localhost/SmartManage/logoff.action href -- http://localhost/logoff.action What is the best way to re-route to the login page when the user logs off? Thanks, Mohan -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Reroute to login page
You should know that preferred way is to use Container Managed Autethincation, as per servelt 2.2 spec. .V Mohan Radhakrishnan wrote: Hi, Does html:link need an action class? html:link page=/logoff.action/html:link I want to show the login page again when the user logs off. I am thinking that it is not possible without associating an action. !-- Process a user logoff -- actionpath=/logoff type=com.hcl.smartmanage.web.LogoutAction name=noDataForm scope=request /action If I use a normal html href( no tags, just html ) instead of html:link then the context doesn't get prefixed to the action. html:link -- http://localhost/SmartManage/logoff.action href -- http://localhost/logoff.action What is the best way to re-route to the login page when the user logs off? Thanks, Mohan -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[Possible bug?] Struts Console v3.0
I don't know if this is about Struts-Console or if this behavior is specified into the XML-standard. The problem is that SC doesn't find a DTD local to the XML-file. Sun ONE Studio and Tomcat do find the DTD with out complaining. -- ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN struts-config_1_1.dtd --- /WEB-INF/struts-config_1.1.dtd /WEB-INF/struts-config.xml --- Regards Roland Carlsson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [Possible bug?] Struts Console v3.0
Struts Console requires that your DTDs are fully qualified and won't be able to validate your config files otherwise. Here is the DOCTYPE for 1.1 config files: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; -james --- Roland Carlsson [EMAIL PROTECTED] wrote: I don't know if this is about Struts-Console or if this behavior is specified into the XML-standard. The problem is that SC doesn't find a DTD local to the XML-file. Sun ONE Studio and Tomcat do find the DTD with out complaining. -- ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN struts-config_1_1.dtd --- /WEB-INF/struts-config_1.1.dtd /WEB-INF/struts-config.xml --- Regards Roland Carlsson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Nested properties of form bean not being updated !
You have a clear description of what you are trying to accomplish but I don't know *how* you are going about it. Need a look-see at your code. In particular, how are your struts-config and JSP set up? Show the pertinent form-bean and action mapping from your config and a portion (at least) or your html:form in the JSP. Sri -Original Message- From: Parnell, Giles (AU - Sydney) [mailto:g.parnell;eclipsegroup.com.au] Sent: Friday, November 01, 2002 12:04 AM To: '[EMAIL PROTECTED]' Subject: Nested properties of form bean not being updated ! Hi I'm having problems updating the nested properties of an action form bean can anyone help ? I have a nested bean, say Address that lives within another bean, say Person. Both are value objects, which extend action form bean. I have the correct getters and setters set-up for both these beans. When I retrieve these values from the server, and populate my value objects I get all the fields displaying as should be i.e. both the Person and Address VOs contain and display my expected data. However, when I try and do an update on Person and do a submit, the form attribute in my action contains only the updated values of Person, and not the updated values of the nested bean - Address. I'm using struts1.0.2 and have looked at the nested tag of the beta version of struts 1.1-b2 From what I can gather the beta doesn't really provide any additional functionality for my needs other than providing a cleaner and more manageable interface. (I can't use the beta as it's not production yet, and my company won't take that step.) Can anyone shed some light??? Regards Giles Giles Parnell |ECLIPSEGROUP | 02 9322 5124 | Mobile 0403 768656 Level 9, 190 George Street, Sydney, NSW 2000, Fax: 02 9322 5121 INTERACTIVE STRATEGY + DESIGN + INTEGRATION The Eclipse Group is a wholly owned subsidiary of Deloitte Touche Tohmatsu www.eclipsegroup.com.au This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this email, you must not disseminate, copy or otherwise use this information. If you have received this email in error, please notify Eclipse Group immediately. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [Possible bug?] Struts Console v3.0
Ok, as a note I would suggest to make it work with local-adresses to. It it quite useful when developing. Don't have to wait for an server on the other side of the world to act and no problem with being offline. Thanks Roland Carlsson - Original Message - From: James Holmes [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 2:40 PM Subject: Re: [Possible bug?] Struts Console v3.0 Struts Console requires that your DTDs are fully qualified and won't be able to validate your config files otherwise. Here is the DOCTYPE for 1.1 config files: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; -james --- Roland Carlsson [EMAIL PROTECTED] wrote: I don't know if this is about Struts-Console or if this behavior is specified into the XML-standard. The problem is that SC doesn't find a DTD local to the XML-file. Sun ONE Studio and Tomcat do find the DTD with out complaining. -- ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN struts-config_1_1.dtd --- /WEB-INF/struts-config_1.1.dtd /WEB-INF/struts-config.xml --- Regards Roland Carlsson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [Possible bug?] Struts Console v3.0
Struts Console keeps a copy of the DTD locally and uses it, thus you shouldn't be having to wait for a server somewhere else. -james --- Roland Carlsson [EMAIL PROTECTED] wrote: Ok, as a note I would suggest to make it work with local-adresses to. It it quite useful when developing. Don't have to wait for an server on the other side of the world to act and no problem with being offline. Thanks Roland Carlsson - Original Message - From: James Holmes [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 01, 2002 2:40 PM Subject: Re: [Possible bug?] Struts Console v3.0 Struts Console requires that your DTDs are fully qualified and won't be able to validate your config files otherwise. Here is the DOCTYPE for 1.1 config files: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; -james --- Roland Carlsson [EMAIL PROTECTED] wrote: I don't know if this is about Struts-Console or if this behavior is specified into the XML-standard. The problem is that SC doesn't find a DTD local to the XML-file. Sun ONE Studio and Tomcat do find the DTD with out complaining. -- ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN struts-config_1_1.dtd --- /WEB-INF/struts-config_1.1.dtd /WEB-INF/struts-config.xml --- Regards Roland Carlsson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Requests and the stop button / links / etc...
Just want to confirm an assumption: When a user submits a form , or initiates a request, and then while that request is being processed hits the stop button, or clicks a link, will the first request continue to be processed (my current assumption is yes). The browser doesnt send some kind of 'stop' signal to the server does it? I presume that the response to the first request is sent to the same place as lost pens and odd socks? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Requests and the stop button / links / etc...
You are correct, 'Stop'ping is purely a client-side action. Sri -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, November 01, 2002 8:50 AM To: Struts Users Mailing List Subject: Requests and the stop button / links / etc... Just want to confirm an assumption: When a user submits a form , or initiates a request, and then while that request is being processed hits the stop button, or clicks a link, will the first request continue to be processed (my current assumption is yes). The browser doesnt send some kind of 'stop' signal to the server does it? I presume that the response to the first request is sent to the same place as lost pens and odd socks? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Requests and the stop button / links / etc...
Great. Thanks. :-) -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Friday, November 01, 2002 21:52 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Requests and the stop button / links / etc... You are correct, 'Stop'ping is purely a client-side action. Sri -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, November 01, 2002 8:50 AM To: Struts Users Mailing List Subject: Requests and the stop button / links / etc... Just want to confirm an assumption: When a user submits a form , or initiates a request, and then while that request is being processed hits the stop button, or clicks a link, will the first request continue to be processed (my current assumption is yes). The browser doesnt send some kind of 'stop' signal to the server does it? I presume that the response to the first request is sent to the same place as lost pens and odd socks? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Upgrading to Struts 1.1b2
I'm attempting to move from release 1.0.2 to 1.1 beta 2. However I'm having two errors. On one page struts reports that No action instance for path /login could be created, and another (where a form is used) a NoClassDefFound exception is thrown as ActionMessages cannot be found. Before installation of the newer release, both these pages could be viewed without a problem. Has anyone else had these or similar problems when moving between versions of struts, or can point me in the right direction? Thanks Ian -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Executive Level Blurb on why to use Struts on a new project
Can anyone point me at an article that explains at an executive level why to use struts? I am also looking for reasons everyone out there would tell their CIO why Struts is such a good framework to develop a web site in. Thanks, jb -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [FRIDAY] Kill the popups
Now that's funny. Thanks for sharing. Simon -Original Message- From: Ian Crossfield [mailto:ian.xfield;dsl.pipex.com] Sent: Friday, November 01, 2002 5:27 AM To: [EMAIL PROTECTED] Subject: [FRIDAY] Kill the popups http://b3ta.com/realistic-internet-simulator/ :) -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;-)
I used to cycle to work when I was in Chicago. Thank goodness I was never considered a security risk! Simon -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 31, 2002 8:34 PM To: Struts Users Mailing List Subject: [FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;-) Hehe, the struts mailing list isn't the only one that has a tendency to go off topic: (The following being from Parliament house email lists (on the subject of the security threat posed by bicycles...)) http://www.crikey.com.au/politics/2002/10/30/20021030bicylcleth reat.html -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Executive Level Blurb on why to use Struts on a new project
Can't help you. I just started using it and said sorry alot when they discovered what I'd done. I'm at the top of the technical track here and I don't want to be a manager, so it wasn't going to hurt my promotion chances! :-) And the system is working very well and the users are happy! :-) Simon -Original Message- From: Jeff Born [mailto:jborn;gr.com] Sent: Friday, November 01, 2002 8:03 AM To: Struts Users Mailing List (E-mail) Subject: Executive Level Blurb on why to use Struts on a new project Can anyone point me at an article that explains at an executive level why to use struts? I am also looking for reasons everyone out there would tell their CIO why Struts is such a good framework to develop a web site in. Thanks, jb -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Executive Level Blurb on why to use Struts on a new project
Hi, You can visit this link for the reqd. information: - http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.view Regds, Paresh. -- From: Jeff Born[SMTP:[EMAIL PROTECTED]] Reply To: Struts Users Mailing List Sent: Friday, November 01, 2002 7:33 PM To: Struts Users Mailing List (E-mail) Subject: Executive Level Blurb on why to use Struts on a new project Can anyone point me at an article that explains at an executive level why to use struts? I am also looking for reasons everyone out there would tell their CIO why Struts is such a good framework to develop a web site in. Thanks, jb -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
url problem when 2 mapping redirect to struts
I have a container security constraints for all my actions (*.do ). Now I have the first 3 or 4 actions that do not require authentication. I added another servlet mapping entry *.go to redirect to the struts controller. Now all forms submitted. Even if they have an action with the *.do, submit a request with a *.go. How come the extension of my url is changed? Thank you. Stephan
RE: Executive Level Blurb on why to use Struts on a new project
In addition, I put together this Struts presentation for AJUG two months ago. There are several slides in here geared towards convincing managers why you should use Struts. Take a look at it and feel free to use it however you need to. Chuck http://www.ajug.org/meetings/download/struts.pdf Hi, You can visit this link for the reqd. information: - http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.view Regds, Paresh. -- From: Jeff Born[SMTP:[EMAIL PROTECTED]] Reply To: Struts Users Mailing List Sent: Friday, November 01, 2002 7:33 PM To: Struts Users Mailing List (E-mail) Subject:Executive Level Blurb on why to use Struts on a new project Can anyone point me at an article that explains at an executive level why to use struts? I am also looking for reasons everyone out there would tell their CIO why Struts is such a good framework to develop a web site in. Thanks, jb -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
New Struts Article posted on OnJava
Sorry for the self promotion, but I thought this article might help some on thes list. I wrote a Struts lessons learned article for O'Reilly that contains information that is discussed here on the list frequently, but never hurts to be explained in more detail. Here's the link to the article: http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.htm l Enjoy, chuck -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;-)
When I was in Amsterdam last July, bicyclists were tantamount to terrorists! They would run you over if you didn't get out of their way. -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 31, 2002 9:34 PM (The following being from Parliament house email lists (on the subject of the security threat posed by bicycles...)) http://www.crikey.com.au/politics/2002/10/30/20021030bicylclethreat.html -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE : url problem when 2 mapping redirect to struts
Ok, my mistake, I missed the warnings when I RTFM. Now, any ideas on how to put container security on some action without specifying them all. I don't want to put a pattern like securX.do everywhere I need security. I know there is the struts-config action attribute «roles» but I really prefer a container managed security plus my exploitation group requires it. Thank you Stephan -Message d'origine- De : Eddie Bush [mailto:ekbush;swbell.net] Envoyé : vendredi 1 novembre 2002 11:38 À : Struts Users Mailing List Objet : Re: url problem when 2 mapping redirect to struts *See... 4.7.2 Configure the Action Servlet Mapping at ... * http://jakarta.apache.org/struts/userGuide/building_controller.html#config ... sometimes it pays to RTFM :-) [EMAIL PROTECTED] wrote: I have a container security constraints for all my actions (*.do ). Now I have the first 3 or 4 actions that do not require authentication. I added another servlet mapping entry *.go to redirect to the struts controller. Now all forms submitted. Even if they have an action with the *.do, submit a request with a *.go. How come the extension of my url is changed? Thank you. Stephan -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Executive Level Blurb on why to use Struts on a new project
My team implemented Struts without bothering to ask, too. It's worked out great with the exception of upgrading from 1.0 to 1.1 - that was a PITA! But there's really no reason a CIO should be concerned with such implementation details. It's open-source and it's Java, so there is no maintenance issue other than wanting to keep up with the latest release (and that's not necessary - there are many projects out there using 1.0). If you don't like the code, change it. Nevertheless, the real beauty of Struts is standardization of an MVC framework that permits others coming after you who have experience with Struts to quick ascertain the program flow of your app and cut resource committal costs. And then there's this wonderful list! Mark -Original Message- From: Chappell, Simon P [mailto:Simon.Chappell;landsend.com] Sent: Friday, November 01, 2002 9:05 AM Can't help you. I just started using it and said sorry alot when they discovered what I'd done. I'm at the top of the technical track here and I don't want to be a manager, so it wasn't going to hurt my promotion chances! :-) And the system is working very well and the users are happy! :-) Simon -Original Message- From: Jeff Born [mailto:jborn;gr.com] Sent: Friday, November 01, 2002 8:03 AM Can anyone point me at an article that explains at an executive level why to use struts? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [FRIDAY] Kill the popups
ditto - hysterical! -Original Message- From: Chappell, Simon P [mailto:Simon.Chappell;landsend.com] Sent: Friday, November 01, 2002 9:01 AM To: Struts Users Mailing List Subject: RE: [FRIDAY] Kill the popups Now that's funny. Thanks for sharing. Simon -Original Message- From: Ian Crossfield [mailto:ian.xfield;dsl.pipex.com] Sent: Friday, November 01, 2002 5:27 AM To: [EMAIL PROTECTED] Subject: [FRIDAY] Kill the popups http://b3ta.com/realistic-internet-simulator/ :) -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: RE : url problem when 2 mapping redirect to struts
Well ... you use URL mappings to specify them, right? If you can't change the ending perhaps you should change something else? ... say: instead of: *.do use: /secure/* ... or something along those lines. If I understand right, you probably won't like that solution. Sorry! You can add multiple constraints, so, what you might do is just maybe ... specify something like: /module/secure/* ... for each module. You then have a secure area inside of every module. Now, so far as actually implementing this in your configuration goes, the path of the action does not have to have anything whatsoever to do with the physical on-disk structure of your files. Because of this, you can *easily* specify an action with 'path=/secure/someAction' - and *boom* it's secure. That makes it really easy to make something secure down the road too - just change the path of the action and restart (and, if Ted gets his reference actions by name proposal in for 1.1 final, you'll be able to [assuming you use the action name for linking!] rest assured there is nothing else to change!) You could also have ... say a /pub area vs a /private or /secure or /whateveryouwant area. Again, you have several options. [EMAIL PROTECTED] wrote: Ok, my mistake, I missed the warnings when I RTFM. Now, any ideas on how to put container security on some action without specifying them all. I don't want to put a pattern like securX.do everywhere I need security. I know there is the struts-config action attribute «roles» but I really prefer a container managed security plus my exploitation group requires it. Thank you Stephan -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Validation for Map-backed Forms
Hi. I'm currently using Map-backed forms (as described in the Building Controller Components section of the Struts user guide) to manage forms that are dynamically created from a database, where the number of fields, their names, their types are not necessarily known at deployment (so no DynaActionForm). I'm wondering if it's still possible to use the (Commons) Validator to validate the form fields. I understand that the normal usage requires form elements in the validator-rules file to match that of a form-bean element in the Struts config file. That's not really possible in my case because I don't know ahead of time what the fields will be (by name or type, in number, etc.). Would it be possible to programmatically create the formset and form elements Validator requires but still use them in conjunction with the validations file (where the validator elements are stored), which would be commonly shared between forms? Any pointers on how I can accomplish this? Or, is there a better way to handle dynamic (i.e., on-the-fly or real-time) form creation with Struts? Thanks. -Darren __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: New Struts Article posted on OnJava
to anyone trying to reach this page, make surethat you pick up the l in html. My email program has it on the next line. Jim Berg Sr. Software Specialist PSCI 610-270-4158 [EMAIL PROTECTED] [EMAIL PROTECTED] 01-Nov-2002 10:53 Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: struts-user cc: Subject:New Struts Article posted on OnJava Sorry for the self promotion, but I thought this article might help some on thes list. I wrote a Struts lessons learned article for O'Reilly that contains information that is discussed here on the list frequently, but never hurts to be explained in more detail. Here's the link to the article: http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.htm l Enjoy, chuck -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Struts and JRun advice
I've built 4 struts apps under Tomcat 4 and am about to start a 5th. I'm pretty happy with Tomcat but am considering using Macromedia's JRun in the future. I work at an advertising agency so we do a lot of Flash microsites and Flash elements in our sites and I would like to take advantage of some of JRun's Flash integration. I know that java supposed to run everywhere but I see many posts about problems with struts under WebSphere and iPlanet. Anyone have advice or recommendations about JRun? Is anything gained besides the Flash integration? Thanks, John Nicholas -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Re: [New To Struts]
Hello Maya, a little bit outdatet but... http://www-106.ibm.com/developerworks/library/j-struts/index.html http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=66 and (registration required): https://www6.software.ibm.com/developerworks/education/x-iextreme19/? The focus of this tutorial is Struts development using Application Developer. Greetings mattes -- Mattes Balser | [EMAIL PROTECTED] High-End Services GmbH | www.h-e-s.de the Nervmich.net Company | http://www.nervmich.net Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: New Struts Article posted on OnJava
I think that was my crappy web-mail app that did it. Sorry about that. chuck to anyone trying to reach this page, make surethat you pick up the l in html. My email program has it on the next line. Jim Berg Sr. Software Specialist PSCI 610-270-4158 [EMAIL PROTECTED] [EMAIL PROTECTED] 01-Nov-2002 10:53 Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: struts-user cc: Subject:New Struts Article posted on OnJava Sorry for the self promotion, but I thought this article might help some on thes list. I wrote a Struts lessons learned article for O'Reilly that contains information that is discussed here on the list frequently, but never hurts to be explained in more detail. Here's the link to the article: http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.htm l Enjoy, chuck -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[NESTING] help appreciated- first collection is populating the others
I'm stumped here what I'm screwing up and would appreciate any help. I'm playing around using nested tags and for this simple example I have: Form Bean ArrayList people people is populated with Person beans Each Person bean has the field String name; ArrayList carList carList is a list of CarBeans CarBean just has String carName In my first action that brings me to the form everything gets prepopulated and the display is fine: Ex output: = John Enter Favorite Cars: MustangPorsche BMW Bill Enter Favorite Cars: Corvette Mercedes Viper Fred Enter Favorite Cars: A B C == The problem is when you change the name of any of the cars, after the form submits and returns you to this page, it populates all the rows with whatever the first row has (In this case if you did nothing and hit submit all 3 rows would look like John's row). I'm sure it's something simple I'm screwing up and would appreciate any help. Here's the basics of the jsp nested tag page: nested:form action=myAction nested:iterate property=people nested:write property=name/brR Enter in Cars:br nested:iterate property=carList nested:text property=carName/ /nested:iterate brbrbr /nested:iterate nested:hidden property=dispatch value=getResults/ brbr html:submit styleClass=field value=GET RESULTS/ /nested:form //reminder: people = ArrayList in form bean of Person beans name = String in Person Bean carList = ArrayList of CarBean beans carName = String field in CarBean -- Rick mailto:maillist;reumann.net -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Executive Level Blurb on why to use Struts on a new project
Paresh and Chuck, Thank you both for your time and insight. What follows is a very rough listing of Executive level reasons for adopting struts: Blurb Industry experts have developed Struts to solve the MVC problem that almost every web based project must tackle. Struts is an open source framework that implements the model view control (MVC) pattern for developing dynamic websites. Struts has several other features that will help speed the development process. The following list some of the features that will be used to speed up and standardize development: · It has a built in, extendable, validation framework that works the same on both the browser and the server. This allows the developers to write their validation logic once and be confidant that the validation will work even if a browser doesn't support JavaScript. This works because the same validation will occur on the server. This removes a great deal of browser specific code that a developer would otherwise be force to write. · Strut provides a rich library of tags that aids developers in implementing the clients Interface, which is as called the view · Pre-built components for recording and displaying errors · Components that simplifies the task of managing the layouts of JavaServer Pages (JSPs). The layout is configured through XML · Struts also has a large and active developer community that has vigorously tested the framework. · The documentation that comes with Struts in excellent, every class and every method is documented. This once again allows us to focus on creation of the site, not documented the framework that we used to create the site. · Using Struts will also remove all Java code from the presentation layer, which allows web designers to completely create a web page without having to learn to code. · It also provides a Servlet based implementation of a controller. This class works with a XML configuration file to control the flow of the application. Summary something about struts allowing us to focus on the project at hand and not the framework. /Summary /Blurb What would take out/modify/put it? Thanks, jb -Original Message- From: [EMAIL PROTECTED] [mailto:chuckcavaness;attbi.com] Sent: Friday, November 01, 2002 9:45 AM To: Struts Users Mailing List Subject: RE: Executive Level Blurb on why to use Struts on a new project In addition, I put together this Struts presentation for AJUG two months ago. There are several slides in here geared towards convincing managers why you should use Struts. Take a look at it and feel free to use it however you need to. Chuck http://www.ajug.org/meetings/download/struts.pdf Hi, You can visit this link for the reqd. information: - http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.view Regds, Paresh. -- From: Jeff Born[SMTP:[EMAIL PROTECTED]] Reply To: Struts Users Mailing List Sent: Friday, November 01, 2002 7:33 PM To: Struts Users Mailing List (E-mail) Subject:Executive Level Blurb on why to use Struts on a new project Can anyone point me at an article that explains at an executive level why to use struts? I am also looking for reasons everyone out there would tell their CIO why Struts is such a good framework to develop a web site in. Thanks, jb -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Re: [New To Struts]
Thanks Mattes [EMAIL PROTECTED] wrote:Hello Maya, a little bit outdatet but... http://www-106.ibm.com/developerworks/library/j-struts/index.html http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=66 and (registration required): https://www6.software.ibm.com/developerworks/education/x-iextreme19/? The focus of this tutorial is Struts development using Application Developer. Greetings mattes -- Mattes Balser | [EMAIL PROTECTED] High-End Services GmbH | www.h-e-s.de the Nervmich.net Company | http://www.nervmich.net Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911 -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? HotJobs - Search new jobs daily now
Re: Using Frames in Struts
On Fri, 1 Nov 2002, Jacob Hookom wrote: Date: Fri, 1 Nov 2002 00:54:25 -0600 From: Jacob Hookom [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Using Frames in Struts Are you sure that with frames, you don't have 2 sessions running? Usually you have a single page that initiates the session, then forwards to the frames pages. In every case I've experienced, all of the frames in a frameset are part of the same session, because they all live in the same window. You do, however, need to be more cognizant of simultaneous requests to the same session if you're using frames. It's quite common for the browser to send multiple simultaneous requests. Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [OT] Memory Footprint of DynaX vs. BO
On Thu, 31 Oct 2002, Jacob Hookom wrote: Date: Thu, 31 Oct 2002 22:51:32 -0600 From: Jacob Hookom [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [OT] Memory Footprint of DynaX vs. BO By implementation, I'm assuming that DynaX uses an underlying Map to store properties. I'm wondering how using a Map to store attribute data differs from storing the same data in BO's along the lines of memory consumption? In Struts, DynaActionForm does indeed store its property values in a Map, which makes the memory occupancy pretty similar to using Maps directly, and are a little larger than using JavaBeans with properties (though not a lot, because there's a few bytes of overhead per bean instance as well). My personal advice, though, is to not stress over this kind of detail unless you're building an incredibly high-transaction-rate app. Use the development technique that takes you the least amount of time -- and use the time you save to tune your database queries instead. You'll get orders of magnitude more impact on improving response time doing this than you would saving a few bytes of temporary memory occupancy here and there. You can always go back later and tune things up if this does turn out to matter. (Or just spend a couple hundred bucks on some more memory ...). Regards, Jacob Hookom Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Best Practices] Use of Map as ValueObject
First, my thanks to David, Derek, Craig, and Vic. Based on the comments I've started revising my approach to passing data elements around. I think I've settled on the use of a disconnected RowSet (maybe CachedRowSet?) to pass data between my business logic and DAO levels. I'm not sure if the use of the ResultSetDynaClass will buy me anything as I'm only sending a few data elements back and forth. The question I have now is where to instantiate / destroy these objects so everything gets cleaned up correctly. Thinking it through, I think the following approach is correct - Business Logic instantiate the RowSet object call the DAO with the RowSet object populate a ValueObject with data from the RowSet destroy the RowSet DAO instantiate a ResultSet obect get data from the database into the ResultSet populate the RowSet object close the ResultSet I'm still not sure of how to pass data into the DAO - i.e. data that ends up in a where clause. I don't think I can pre-populate the RowSet since I don't have any meta-data; short of creating yet another ValueObject and passing it over, I'm not sure of a 'best' way of doing this... Any comments / ideas ? Jerry -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Thursday, October 31, 2002 4:05 PM To: Struts Users Mailing List Subject: Re: [Best Practices] Use of Map as ValueObject On Thu, 31 Oct 2002, Jerry Jalenak wrote: Date: Thu, 31 Oct 2002 15:12:22 -0600 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [Best Practices] Use of Map as ValueObject During a conversation with one of my programmers today, I mentioned that I had begun using Maps instead of a ValueObject bean to pass basic data elements between my Action, Business Logic, and DAO levels. Coming back up from a DAO I've tended to pass the ResultSet (or void) back to my Business Logic. In my Business Logic I instantiate a bean, populate it with the data from the ResultSet, and pass it back to my Action. The Action can then store it in the request/session (as needed), and then forward to the appropriate JSP. I was asked what the advantages were to this approach, and aside from not having to write ValueObject beans, I can't come up with a good answer. My question to the list then is this - Is this an appropriate approach to passing simple data elements between application layers? Is it better to write ValueObject beans? If so, why? I'm open to comments on this, as we are trying to standardize on how we pass data around One consideration about Maps is that you give up type safety, because the values in the Map can be anything. The availability of the DynaBean APIs (as opposed to the specific way Struts uses them in DynaActionForms) gives you an opportunity to have type safety without having to create value object classes. An example of this technique can be found in the nightly builds of commons-beanutils (which is also in any recent nightly build of Struts). Check out the ResultSetDynaClass class, which (as the name implies) wraps dynabean access around a result set, with the data types of the properties being determined based on the JDBC metadata about the result set or row set. Javadocs are at: http://jakarta.apache.org/commons/beanutils/api/ I would share the same concern about passing result sets from your DAOs back up to the business logic, because you have to keep the result set (and therefore the current statement) open while you're processing it. In many scenarios, there is no good time to clean up. You could still use something like ResultSetDynaClass around a disconnected RowSet implementation, though. Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org 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:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Requests and the stop button / links / etc...
On Fri, 1 Nov 2002, Andrew Hill wrote: Date: Fri, 1 Nov 2002 21:50:20 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Requests and the stop button / links / etc... Just want to confirm an assumption: When a user submits a form , or initiates a request, and then while that request is being processed hits the stop button, or clicks a link, will the first request continue to be processed (my current assumption is yes). Yes. The browser doesnt send some kind of 'stop' signal to the server does it? Maybe, although it doesn't help much. At most, it will close the TCP/IP socket on which it established the connection and sent the request. The server will never see this if there is a proxy or load balancer in between it and the client. Even without that, the server probably won't detect it until it tries to write the response -- and, even then, it's quite common for your *application* to never find out because the response page is buffered, and the I/O error occurs only after your servlet returns, and the server tries to flush the buffer. I presume that the response to the first request is sent to the same place as lost pens and odd socks? Once in a while, you'll see socket closed type error messages in your server's log files, but most containers have been modified to swallow this sort of error message because it happens so often. Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Best Practices] Use of Map as ValueObject
On Fri, 1 Nov 2002, Jerry Jalenak wrote: Date: Fri, 1 Nov 2002 11:14:55 -0600 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [Best Practices] Use of Map as ValueObject First, my thanks to David, Derek, Craig, and Vic. Based on the comments I've started revising my approach to passing data elements around. I think I've settled on the use of a disconnected RowSet (maybe CachedRowSet?) to pass data between my business logic and DAO levels. I'm not sure if the use of the ResultSetDynaClass will buy me anything as I'm only sending a few data elements back and forth. The question I have now is where to instantiate / destroy these objects so everything gets cleaned up correctly. Thinking it through, I think the following approach is correct - Business Logic instantiate the RowSet object call the DAO with the RowSet object populate a ValueObject with data from the RowSet destroy the RowSet DAO instantiate a ResultSet obect get data from the database into the ResultSet populate the RowSet object close the ResultSet I'm still not sure of how to pass data into the DAO - i.e. data that ends up in a where clause. I don't think I can pre-populate the RowSet since I don't have any meta-data; short of creating yet another ValueObject and passing it over, I'm not sure of a 'best' way of doing this... Any comments / ideas ? You could always write a method that takes an entire WHERE clause, but that is pretty fragile - your business logic would have to be aware of the database structure in order to know how to construct this clause, and that's not a good thing. For my DAOs, I like to copy a design pattern from EJB entity beans (even when not using EJBs) -- finder methods. Just create a set of methods that accept parameters for the things that vary (here assuming that you've implemented your idea of returning RowSet): public RowSet findCustomersById(String customerId); public RowSet findCustomersByName(String name); public RowSet findCustomersByCreditStatus(...); for the logical lookup criteria that your application needs. Inside the finder methods you'll do the grunt work to construct the appropriate SQL query (if you're accessing the database directly), or whatever else is appropriate. You can even replace the underlying implementation of your persistence tier without affecting how your business logic operates, because it's all hidden away in the DAOs. Jerry Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Best Practices] Use of Map as ValueObject
What does everyone think about CachedRowSet? It appears that it can provide a type of native persistence mechanism in the sense that you can set a command, username, password, etc. directly in the CachedRowSet, then call the appropriate method(s) to retrieve/update data in the database. Is this something reasonable to do in a web app? Are there potential problems with doing this? Jerry -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Friday, November 01, 2002 11:29 AM To: Struts Users Mailing List Subject: RE: [Best Practices] Use of Map as ValueObject On Fri, 1 Nov 2002, Jerry Jalenak wrote: Date: Fri, 1 Nov 2002 11:14:55 -0600 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [Best Practices] Use of Map as ValueObject First, my thanks to David, Derek, Craig, and Vic. Based on the comments I've started revising my approach to passing data elements around. I think I've settled on the use of a disconnected RowSet (maybe CachedRowSet?) to pass data between my business logic and DAO levels. I'm not sure if the use of the ResultSetDynaClass will buy me anything as I'm only sending a few data elements back and forth. The question I have now is where to instantiate / destroy these objects so everything gets cleaned up correctly. Thinking it through, I think the following approach is correct - Business Logic instantiate the RowSet object call the DAO with the RowSet object populate a ValueObject with data from the RowSet destroy the RowSet DAO instantiate a ResultSet obect get data from the database into the ResultSet populate the RowSet object close the ResultSet I'm still not sure of how to pass data into the DAO - i.e. data that ends up in a where clause. I don't think I can pre-populate the RowSet since I don't have any meta-data; short of creating yet another ValueObject and passing it over, I'm not sure of a 'best' way of doing this... Any comments / ideas ? You could always write a method that takes an entire WHERE clause, but that is pretty fragile - your business logic would have to be aware of the database structure in order to know how to construct this clause, and that's not a good thing. For my DAOs, I like to copy a design pattern from EJB entity beans (even when not using EJBs) -- finder methods. Just create a set of methods that accept parameters for the things that vary (here assuming that you've implemented your idea of returning RowSet): public RowSet findCustomersById(String customerId); public RowSet findCustomersByName(String name); public RowSet findCustomersByCreditStatus(...); for the logical lookup criteria that your application needs. Inside the finder methods you'll do the grunt work to construct the appropriate SQL query (if you're accessing the database directly), or whatever else is appropriate. You can even replace the underlying implementation of your persistence tier without affecting how your business logic operates, because it's all hidden away in the DAOs. Jerry Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org 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:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Struts and JRun advice
John, We've been using JRUN 3.1 for the past year or so, and are looking into JRUN 4.0 sometime later next year. Struts 1.02 works fine in JRUN 3.1, but 1.1b2 does not. I did finally get it working in JRUN 3.1, and hope to post some notes on what I had to do to get it working on both the Struts and JRUN boards next week. But bottom line, if you need to use Struts 1.1b2, go to JRUN 4.0. Personally, I like Flash, but I hate working with it from a developer standpoint. Since I'm more of a backend coder, I leave the animated graphics stuff to some of our other people who are more graphic arts types and love playing with images. Give me code over animated images to work with every day! Having said that, JRUN 4.0 does use a new feature called Flash Remoting. By using 12 GUI Flash components, you can pass data from your HTML/JSP forms to your server. Check out JRUN's Flash remoting version of the Sun Java Pet store to get an idea of how you can use these new GUI components. I would caution you though to do some testing first to see how long it takes to load the Flash GUI components. We still have users using 28.8 baud modems, and Flash takes too long to download on a 28.8 modem. Good luck, and make sure that you use both the Struts listserver and the JRUN forum listsever if you run into problems. Celeste Haseltine, PE MTL, Inc Dallas, TX -Original Message- From: John Nicholas [mailto:jakarta;mobosplash.com] Sent: Friday, November 01, 2002 10:26 AM To: Struts Users Mailing List Subject: Struts and JRun advice I've built 4 struts apps under Tomcat 4 and am about to start a 5th. I'm pretty happy with Tomcat but am considering using Macromedia's JRun in the future. I work at an advertising agency so we do a lot of Flash microsites and Flash elements in our sites and I would like to take advantage of some of JRun's Flash integration. I know that java supposed to run everywhere but I see many posts about problems with struts under WebSphere and iPlanet. Anyone have advice or recommendations about JRun? Is anything gained besides the Flash integration? Thanks, John Nicholas -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Ted's book..
On Thursday 31 October 2002 10:14 am, [EMAIL PROTECTED] wrote: http://www.manning.com/ebook_buy.html?project=husted Has anyone ever bought any of the Manning ebooks? How are they? A lot of pdf files can be mighty annoying to navigate. Just trying to decide if I should go for the instant gratification or wait a couple of weeks and get the paperback for 9 bucks more. Of course, I'd probably end up buying the paperback regardless . . . :) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
[OT] What's funner? Was RE: Struts and JRun advice
Wow, this message really struck me. Thanks Celeste. So now I'm wondering... Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? -Dan -Original Message- From: Haseltine, Celeste [mailto:CHaseltine;magticket.com] Sent: Friday, November 01, 2002 9:42 AM To: 'Struts Users Mailing List' Subject: RE: Struts and JRun advice John, We've been using JRUN 3.1 for the past year or so, and are looking into JRUN 4.0 sometime later next year. Struts 1.02 works fine in JRUN 3.1, but 1.1b2 does not. I did finally get it working in JRUN 3.1, and hope to post some notes on what I had to do to get it working on both the Struts and JRUN boards next week. But bottom line, if you need to use Struts 1.1b2, go to JRUN 4.0. Personally, I like Flash, but I hate working with it from a developer standpoint. Since I'm more of a backend coder, I leave the animated graphics stuff to some of our other people who are more graphic arts types and love playing with images. Give me code over animated images to work with every day! Having said that, JRUN 4.0 does use a new feature called Flash Remoting. By using 12 GUI Flash components, you can pass data from your HTML/JSP forms to your server. Check out JRUN's Flash remoting version of the Sun Java Pet store to get an idea of how you can use these new GUI components. I would caution you though to do some testing first to see how long it takes to load the Flash GUI components. We still have users using 28.8 baud modems, and Flash takes too long to download on a 28.8 modem. Good luck, and make sure that you use both the Struts listserver and the JRUN forum listsever if you run into problems. Celeste Haseltine, PE MTL, Inc Dallas, TX -Original Message- From: John Nicholas [mailto:jakarta;mobosplash.com] Sent: Friday, November 01, 2002 10:26 AM To: Struts Users Mailing List Subject: Struts and JRun advice I've built 4 struts apps under Tomcat 4 and am about to start a 5th. I'm pretty happy with Tomcat but am considering using Macromedia's JRun in the future. I work at an advertising agency so we do a lot of Flash microsites and Flash elements in our sites and I would like to take advantage of some of JRun's Flash integration. I know that java supposed to run everywhere but I see many posts about problems with struts under WebSphere and iPlanet. Anyone have advice or recommendations about JRun? Is anything gained besides the Flash integration? Thanks, John Nicholas -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [OT] What's funner? Was RE: Struts and JRun advice
On Fri, 1 Nov 2002, Dan Cancro wrote: Date: Fri, 1 Nov 2002 10:16:04 -0800 From: Dan Cancro [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: [OT] What's funner? Was RE: Struts and JRun advice Wow, this message really struck me. Thanks Celeste. So now I'm wondering... Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? I wrote the struts-example webapp (including it's high quality user interface :-). Does that tell you which camp I'm in? :-) -Dan Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Ted's book..
I have several Manning books and they are fine. It is, after all, the quality of the author that determines the quality of the book (though a good editor is indispensable). I would share the titles and authors but all my books are in boxes since the flood. Mark -Original Message- From: Steve Gass [mailto:sgass;gass.com] Sent: Friday, November 01, 2002 1:06 PM On Thursday 31 October 2002 10:14 am, [EMAIL PROTECTED] wrote: http://www.manning.com/ebook_buy.html?project=husted Has anyone ever bought any of the Manning ebooks? How are they? A lot of pdf files can be mighty annoying to navigate. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.solareclipse.web.ui_0.2.0.zip (which happens to be the mirror closest to me). Sri -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:20 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Vote] Wouldn't it be nice to have a testing framework like Strut sTestCase as part of the Struts distribution?
JUnit? -Original Message- From: Trieu, Danny [mailto:DTrieu;downeysavings.com] Sent: Thursday, October 31, 2002 12:57 PM I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
FW: [ANNOUNCEMENT] Commons Validator 1.0 Released
-Original Message- From: James Turner [mailto:turner;blackbear.com] Sent: Friday, November 01, 2002 1:02 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Commons Validator 1.0 Released The few but proud members of the Commons Validator team are pleased to announce the release of Validator 1.0. This represents a first stable release that should allow develops to start using Validator for their projects, while we take a moment to reflect and begin development on 1.1 (or dare we say it, even 2.0) features. The binary and/or source distributions are available at: http://jakarta.apache.org/builds/jakarta-commons/release/commons-validator/v 1.0/ The Validator homepage is located at: http://jakarta.apache.org/commons/validator/ Big thanks go out to Martin Cooper for handling the nuts-and-bolts aspects of this release! James Turner -- To unsubscribe, e-mail: mailto:commons-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:commons-dev-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
Thank you, sir. -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Friday, November 01, 2002 1:22 PM To: Struts Users Mailing List Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.solar eclipse.web.ui_0.2.0.zip (which happens to be the mirror closest to me). Sri -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:20 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: [OT] What's funner? Was RE: Struts and JRun advice
It is a tossup, Craig. If poetry counts as much as the visual arts, you used those snappy names like Action and Form. VERY gaudy! Bordering on wild! Tom Robbinsesque! At 10:11 AM 11/1/2002 -0800, you wrote: I wrote the struts-example webapp (including it's high quality user interface :-). Does that tell you which camp I'm in? :-) -Dan Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org Micael --- This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
click on the project summary link. From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Date: Fri, 1 Nov 2002 13:20:26 -0500 Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Get a speedy connection with MSN Broadband. Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
you downloaded the wrong version. click on the project summary link. From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Date: Fri, 1 Nov 2002 13:21:54 -0500 With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.solareclipse.web.ui_0.2.0.zip (which happens to be the mirror closest to me). Sri -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:20 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] What's funner?
Dan wrote: Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? Put me down for the invisible stuff! I'm not artistically inclined in the slightest, and in general I don't enjoy doing things I'm not good at. But nothing makes *me* smile like an elegant solution to a complex problem. -- Wendy Smoak http://sourceforge.net/projects/unidbtags
RE: Ted's book..
Manning books really stress quality authors. I love Manning books. They tend to have people who just plain know what they are doing write their books. The Editor in Chief is a techie who really cares about quality work. At 01:24 PM 11/1/2002 -0500, you wrote: I have several Manning books and they are fine. It is, after all, the quality of the author that determines the quality of the book (though a good editor is indispensable). I would share the titles and authors but all my books are in boxes since the flood. Mark -Original Message- From: Steve Gass [mailto:sgass;gass.com] Sent: Friday, November 01, 2002 1:06 PM On Thursday 31 October 2002 10:14 am, [EMAIL PROTECTED] wrote: http://www.manning.com/ebook_buy.html?project=husted Has anyone ever bought any of the Manning ebooks? How are they? A lot of pdf files can be mighty annoying to navigate. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org Micael --- This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
Okay, I got it - I was clicking on the Host link instead of the Download link. Duh. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 1:26 PM To: [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] you downloaded the wrong version. click on the project summary link. From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Date: Fri, 1 Nov 2002 13:21:54 -0500 With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.sola reclipse.web.ui_0.2.0.zip (which happens to be the mirror closest to me). Sri -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:20 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] What's funner?
Nothing eh? Not even this: http://www.zefrank.com/invite/swfs/index2.html :) -Original Message- From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu] Sent: Friday, November 01, 2002 10:26 AM To: 'Struts Users Mailing List' Subject: RE: [OT] What's funner? Dan wrote: Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? Put me down for the invisible stuff! I'm not artistically inclined in the slightest, and in general I don't enjoy doing things I'm not good at. But nothing makes *me* smile like an elegant solution to a complex problem. -- Wendy Smoak http://sourceforge.net/projects/unidbtags -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] What's funner?
I like programming funny viruses. -Original Message- From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu] Sent: Friday, November 01, 2002 1:26 PM To: 'Struts Users Mailing List' Subject: RE: [OT] What's funner? Dan wrote: Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? Put me down for the invisible stuff! I'm not artistically inclined in the slightest, and in general I don't enjoy doing things I'm not good at. But nothing makes *me* smile like an elegant solution to a complex problem. -- Wendy Smoak http://sourceforge.net/projects/unidbtags -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] What's funner?
LMAO! -Original Message- From: Dan Cancro [mailto:DCancro;bridgespan.com] Sent: Friday, November 01, 2002 1:42 PM To: 'Struts Users Mailing List' Subject: RE: [OT] What's funner? Nothing eh? Not even this: http://www.zefrank.com/invite/swfs/index2.html :) -Original Message- From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu] Sent: Friday, November 01, 2002 10:26 AM To: 'Struts Users Mailing List' Subject: RE: [OT] What's funner? Dan wrote: Do more developers on this list enjoy programming animated, lively, stuff that make users smile, or invisible, algorithms that can elegantly interchange bits of data between abstract representations? Put me down for the invisible stuff! I'm not artistically inclined in the slightest, and in general I don't enjoy doing things I'm not good at. But nothing makes *me* smile like an elegant solution to a complex problem. -- Wendy Smoak http://sourceforge.net/projects/unidbtags -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
How do I enable debug logging for struts
Hi Does anyone know how to enable debug level logging for the struts framework? i.e. log.isDebugEnabled() returns true Thanks John Prout -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [Vote] Wouldn't it be nice to have a testing framework like S trut sTestCase as part of the Struts distribution?
Yes, both framework are Junit. -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 10:25 AM To: 'Struts Users Mailing List' Subject: RE: [Vote] Wouldn't it be nice to have a testing framework like S trut sTestCase as part of the Struts distribution? JUnit? -Original Message- From: Trieu, Danny [mailto:DTrieu;downeysavings.com] Sent: Thursday, October 31, 2002 12:57 PM I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How do I enable debug logging for struts
Which logging implementation, if any, are you using with commons-logging? Or are you just using commons-logging alone? John Prout wrote: Hi Does anyone know how to enable debug level logging for the struts framework? i.e. log.isDebugEnabled() returns true Thanks John Prout -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Ted's book..
On Friday 01 November 2002 01:25 pm, micael wrote: Manning books really stress quality authors. I love Manning books. They tend to have people who just plain know what they are doing write their books. The Editor in Chief is a techie who really cares about quality work. At 01:24 PM 11/1/2002 -0500, you wrote: I have several Manning books and they are fine. It is, after all, the quality of the author that determines the quality of the book (though a good editor is indispensable). I would share the titles and authors but all my books are in boxes since the flood. Thanks guys, but I'm not questioning the content, just the pdf files. I KNOW the book is good, but I don't want to, for instance, scroll through the entire file to get to page 437. Do Manning's ebooks have hypertext navigation? Wouldn't be an issue if I had more money. ;) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] What's funner?
Nothing eh? Not even this: http://www.zefrank.com/invite/swfs/index2.html :) Nahhh... more like: http://www.deadtroll.com ;) -- Wendy Smoak http://sourceforge.net/projects/unidbtags
RE: How do I enable debug logging for struts
I'm using the default struts install - just commons-logging alone I think -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 11:52 AM To: Struts Users Mailing List Subject: Re: How do I enable debug logging for struts Which logging implementation, if any, are you using with commons-logging? Or are you just using commons-logging alone? John Prout wrote: Hi Does anyone know how to enable debug level logging for the struts framework? i.e. log.isDebugEnabled() returns true Thanks John Prout -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Ted's book..
Along with the PDF Bookmarks in the navigation pane, Ted's book has a hyperlinked contents and index. Quoting Steve Gass [EMAIL PROTECTED]: On Friday 01 November 2002 01:25 pm, micael wrote: Manning books really stress quality authors. I love Manning books. They tend to have people who just plain know what they are doing write their books. The Editor in Chief is a techie who really cares about quality work. At 01:24 PM 11/1/2002 -0500, you wrote: I have several Manning books and they are fine. It is, after all, the quality of the author that determines the quality of the book (though a good editor is indispensable). I would share the titles and authors but all my books are in boxes since the flood. Thanks guys, but I'm not questioning the content, just the pdf files. I KNOW the book is good, but I don't want to, for instance, scroll through the entire file to get to page 437. Do Manning's ebooks have hypertext navigation? Wouldn't be an issue if I had more money. ;) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- Kris Schneider mailto:kris;dotech.com D.O.Tech http://www.dotech.com/ -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Ted's book..
On Friday 01 November 2002 01:56 pm, Kris Schneider wrote: Along with the PDF Bookmarks in the navigation pane, Ted's book has a hyperlinked contents and index. Cool, thank you. Ahh, nothing like instant gratification. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Can forward action point to tiles definition?
Hi, In struts 1.1 can I do the following? // --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- parameter=site.default.page is not getting resolved. Thanks, Mark. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]
You're right Eddie, lack of caffeine :) James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:35 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Okay, I got it - I was clicking on the Host link instead of the Download link. Duh. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 1:26 PM To: [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] you downloaded the wrong version. click on the project summary link. From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Date: Fri, 1 Nov 2002 13:21:54 -0500 With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.source forge.sola reclipse.web.ui_0.2.0.zip (which happens to be the mirror closest to me). Sri -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Friday, November 01, 2002 1:20 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Nope...try it yourself. It brings you through a series of pages to a mirrors page that links to generic websites. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 12:55 PM To: Struts Users Mailing List Subject: Re: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] Did you miss the download link at the top-left? .oO( Someone suffering a caffine deficiency this morning? ) :-) Galbreath, Mark wrote: This link is not very helpful; do you have a URL to the download? All this gives you are links to generic mirrors that are in turn no help in locating the file. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Thursday, October 31, 2002 11:55 AM This is one area Eclipse is lacking in. I wish they would include web development tools (like jsp highlighting) in the standard release. I use the SolarEclipse plugin for jsp and xml stuff. It's not the best but it's better than a simple text editor. http://solareclipse.sourceforge.net/ David -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Can forward action point to tiles definition?
In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- parameter=site.default.page is not getting resolved. Thanks, Mark. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How do I enable debug logging for struts
The short answer is to examine the javadoc for commons-logging. The top-level package (commons.logging) is a good read. You'll also be interested looking over the javadoc for SimpleLog. The long answer is to create a simplelog.properties file and place within it things like: |org.apache.commons.logging.simplelog.log.|org.apache.struts=debug You can also specify: |org.apache.commons.logging.simplelog.defaultlog=debug | All of that came straight from javadoc, so it should be right. I know many of us are used to having nice user guides etc to go along with the excellent software provided by Jakarta. The fact of the matter, however, is that some projects are primarily used uder the covers of other jakarta projects. As such, it seems the only documentation they have on them is contained in their javadocs. If you're not reading the javadocs for the commons packages you're trying to use, you're really doing yourself a disservice - and adding unnecessary complication to your life :-) John Prout wrote: I'm using the default struts install - just commons-logging alone I think -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, November 01, 2002 11:52 AM To: Struts Users Mailing List Subject: Re: How do I enable debug logging for struts Which logging implementation, if any, are you using with commons-logging? Or are you just using commons-logging alone? -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
I believe that might work, but I know that the following works: action path=/welcome type=org.apache.struts.tiles.actions.NoOpAction scope=request validate=false forward name=success path=tiles.welcome/ /action -Original Message- From: Zeltser, Mark To: '[EMAIL PROTECTED]' Sent: 11/1/02 2:11 PM Subject: Can forward action point to tiles definition? Hi, In struts 1.1 can I do the following? // --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- parameter=site.default.page is not getting resolved. Thanks, Mark. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How do I enable debug logging for struts
Ignore the pipes - I don't know how they got in there. Copy/paste error I'd say. Don't include the | chars in your properties file. org.apache.commons.logging.simplelog.defaultlog=debug org.apache.commons.logging.simplelog.log.org.apache.struts=debug Those pipes weren't in the message that I sent. They sure showed up once it got sent though! Eddie Bush wrote: The short answer is to examine the javadoc for commons-logging. The top-level package (commons.logging) is a good read. You'll also be interested looking over the javadoc for SimpleLog. The long answer is to create a simplelog.properties file and place within it things like: |org.apache.commons.logging.simplelog.log.|org.apache.struts=debug You can also specify: |org.apache.commons.logging.simplelog.defaultlog=debug | All of that came straight from javadoc, so it should be right. I know many of us are used to having nice user guides etc to go along with the excellent software provided by Jakarta. The fact of the matter, however, is that some projects are primarily used uder the covers of other jakarta projects. As such, it seems the only documentation they have on them is contained in their javadocs. If you're not reading the javadocs for the commons packages you're trying to use, you're really doing yourself a disservice - and adding unnecessary complication to your life :-) -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
NoOpAction has been deprecated in favor of using ForwardAction now that ForwardAction can handle tiles. David From: Madel,Kurt [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: ''[EMAIL PROTECTED]' ' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:00:25 -0500 I believe that might work, but I know that the following works: action path=/welcome type=org.apache.struts.tiles.actions.NoOpAction scope=request validate=false forward name=success path=tiles.welcome/ /action -Original Message- From: Zeltser, Mark To: '[EMAIL PROTECTED]' Sent: 11/1/02 2:11 PM Subject: Can forward action point to tiles definition? Hi, In struts 1.1 can I do the following? // --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- parameter=site.default.page is not getting resolved. Thanks, Mark. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
Thanks Dave, It worked. Should this one work as well? global-forwards forward name=default path=site.default.page/ /global-forwards Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Can forward action point to tiles definition? In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- - --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- - --- parameter=site.default.page is not getting resolved. Thanks, Mark. --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
I assume so, I'm not sure I've tried it though. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:31:57 -0500 Thanks Dave, It worked. Should this one work as well? global-forwards forward name=default path=site.default.page/ /global-forwards Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Can forward action point to tiles definition? In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- - --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- - --- parameter=site.default.page is not getting resolved. Thanks, Mark. --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
It doesn't with the latest build. Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 3:37 PM To: [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? I assume so, I'm not sure I've tried it though. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:31:57 -0500 Thanks Dave, It worked. Should this one work as well? global-forwards forward name=default path=site.default.page/ /global-forwards Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Can forward action point to tiles definition? In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- - --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- - --- parameter=site.default.page is not getting resolved. Thanks, Mark. --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- This message is intended
WebLogic/Struts/JSP performance woes...
Greetings all... I'd like to try to find out if anyone else out there is using WebLogic (We're using version 6.1 SP2) with Struts and/or just JSPs that might have some performance tips that they might be able to share... Here's what's happening: I have a page that, for test purposes, is generating a 1760 row table (Not a gigantic table by any stretch of the imagination). Although I don't expect our data sets to be this big all the time, I need to make the application responsive (i.e. If it starts displaying rows immediately - while its still spitting out other rows - that's fine. What's unacceptable is if the application takes a while to do whatever its doing, and doesn't generate any output until its done, leaving the user with a blank page while they wait). I started out using Struts on the page, and found that the performance wasn't good enough. So I converted the portion of the page that loops through the contents of a collection of objects and creates the output to a scriptlet - the reasoning being that I could perform the relatively simple processing more directly/with less overhead if I just did it directly). Performance improved somewhat, but I'm still faced with the problem related to the fact that I don't get any output immediately (regardless of how long the whole page takes to generate). I've tried what seems like an endless combination of alternatives, with mixed results (And that's one of the problems... I seem to get wildly different results even with exactly the same code!). Here's what I've tried: - I've set the buffer page directive to none - I've tried to remove any Struts tags from the page in different combinations (with mixed results) - Since the page originally used templates (We're using Struts 1.0.2), I tried to remove those, and have just one page (Again, with mixed results) - I've added out.flush() at the end of each loop iteration (The intention being that the server should spit out the row as soon as its done with it). I've also added logging to the JSP to see how long each step is taking, and as I've said, I keep getting mixed results (Both when I use our real data, and, say, a loop that prints out Hello one million times). Sometimes rows seem to start to display before the server is done, and sometimes they don't. Sometimes the loop takes a long time to process, and sometimes it doesn't... Here's some sample log output for the loop: %%%: Done with initialization... Starting loop... Fri Nov 01 13:17:49 MST 2002 1557934 [11-01 13:17:49:512] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 0 1559871 [11-01 13:17:51:449] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 500 1561934 [11-01 13:17:53:512] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 1000 1564527 [11-01 13:17:56:105] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 1500 1566074 [11-01 13:17:57:652] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:336) - % %%%: Done with loop... Fri Nov 01 13:17:57 MST 2002 So I know that the server is able to process 500 rows of output in 63 milliseconds (See the difference between row 0 and row 500). However, I'm still getting this lag time before I start to see any output. If I'm doing something wrong with regard to Struts, and can get the rows to display as soon as they're available, I'm perfectly willing to use Struts (or whatever other approach works). Does anyone have any experience in this area? Any help would be greatly appreciated... Cheers... Davide Bruzzone -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Time out in tomcat
Dear Mdm/Sir, I have a web-application that ask the user to login first and then keep track of their activities while they are using the system. However, if they stop using it for a while, the tomcat server will time out them. My question: Is there any way that I can call a method to remove the user from the system during(or right before) the time out event? Can we received that event notification in Struts? I would appreciate a lot if anybody can give me some helpful advice. Thanks in advance for your help. Have a nice weekend. Best regards, Brandon -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
Does it work for you on 1.1b2? I just checked and it does work but I haven't tried a nightly. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:38:57 -0500 It doesn't with the latest build. Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 3:37 PM To: [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? I assume so, I'm not sure I've tried it though. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:31:57 -0500 Thanks Dave, It worked. Should this one work as well? global-forwards forward name=default path=site.default.page/ /global-forwards Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Can forward action point to tiles definition? In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- - --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- - --- parameter=site.default.page is not getting resolved. Thanks, Mark. --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan
Re: WebLogic/Struts/JSP performance woes...
I've not experienced this but 1760 rows seems like a lot to me. Will your users be able to view and process all this info? David From: Davide Bruzzone [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: WebLogic/Struts/JSP performance woes... Date: Fri, 1 Nov 2002 13:43:26 -0700 Greetings all... I'd like to try to find out if anyone else out there is using WebLogic (We're using version 6.1 SP2) with Struts and/or just JSPs that might have some performance tips that they might be able to share... Here's what's happening: I have a page that, for test purposes, is generating a 1760 row table (Not a gigantic table by any stretch of the imagination). Although I don't expect our data sets to be this big all the time, I need to make the application responsive (i.e. If it starts displaying rows immediately - while its still spitting out other rows - that's fine. What's unacceptable is if the application takes a while to do whatever its doing, and doesn't generate any output until its done, leaving the user with a blank page while they wait). I started out using Struts on the page, and found that the performance wasn't good enough. So I converted the portion of the page that loops through the contents of a collection of objects and creates the output to a scriptlet - the reasoning being that I could perform the relatively simple processing more directly/with less overhead if I just did it directly). Performance improved somewhat, but I'm still faced with the problem related to the fact that I don't get any output immediately (regardless of how long the whole page takes to generate). I've tried what seems like an endless combination of alternatives, with mixed results (And that's one of the problems... I seem to get wildly different results even with exactly the same code!). Here's what I've tried: - I've set the buffer page directive to none - I've tried to remove any Struts tags from the page in different combinations (with mixed results) - Since the page originally used templates (We're using Struts 1.0.2), I tried to remove those, and have just one page (Again, with mixed results) - I've added out.flush() at the end of each loop iteration (The intention being that the server should spit out the row as soon as its done with it). I've also added logging to the JSP to see how long each step is taking, and as I've said, I keep getting mixed results (Both when I use our real data, and, say, a loop that prints out Hello one million times). Sometimes rows seem to start to display before the server is done, and sometimes they don't. Sometimes the loop takes a long time to process, and sometimes it doesn't... Here's some sample log output for the loop: %%%: Done with initialization... Starting loop... Fri Nov 01 13:17:49 MST 2002 1557934 [11-01 13:17:49:512] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 0 1559871 [11-01 13:17:51:449] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 500 1561934 [11-01 13:17:53:512] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 1000 1564527 [11-01 13:17:56:105] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:332) - # ###: Flushed... 1500 1566074 [11-01 13:17:57:652] INFO [ExecuteThread: '11' for queue: 'default'] (__surveillancepanel.java:336) - % %%%: Done with loop... Fri Nov 01 13:17:57 MST 2002 So I know that the server is able to process 500 rows of output in 63 milliseconds (See the difference between row 0 and row 500). However, I'm still getting this lag time before I start to see any output. If I'm doing something wrong with regard to Struts, and can get the rows to display as soon as they're available, I'm perfectly willing to use Struts (or whatever other approach works). Does anyone have any experience in this area? Any help would be greatly appreciated... Cheers... Davide Bruzzone -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Unlimited Internet access for only $21.95/month. Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Time out in tomcat
see the javadoc for classes in javax.servlet.http David From: Brandon Chee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Subject: Time out in tomcat Date: Fri, 1 Nov 2002 12:44:09 -0800 Dear Mdm/Sir, I have a web-application that ask the user to login first and then keep track of their activities while they are using the system. However, if they stop using it for a while, the tomcat server will time out them. My question: Is there any way that I can call a method to remove the user from the system during(or right before) the time out event? Can we received that event notification in Struts? I would appreciate a lot if anybody can give me some helpful advice. Thanks in advance for your help. Have a nice weekend. Best regards, Brandon -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Time out in tomcat
If you're using a Servlet 2.3 container, you can configure an HttpSessionListener in your web.xml. This class will be notified when a session is invalidated. -Original Message- From: Brandon Chee [mailto:brandon_chee;imedia-tech.com] Sent: Friday, November 01, 2002 12:44 PM To: struts-user Subject: Time out in tomcat Dear Mdm/Sir, I have a web-application that ask the user to login first and then keep track of their activities while they are using the system. However, if they stop using it for a while, the tomcat server will time out them. My question: Is there any way that I can call a method to remove the user from the system during(or right before) the time out event? Can we received that event notification in Struts? I would appreciate a lot if anybody can give me some helpful advice. Thanks in advance for your help. Have a nice weekend. Best regards, Brandon -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: Can forward action point to tiles definition?
html:link forward=default / doesn't work with latest or 1.1b2 href is translated to URI/site.default.page and i get the following message from tomcat: *** Invalid path /site.default.page was requested *** Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 3:46 PM To: [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Does it work for you on 1.1b2? I just checked and it does work but I haven't tried a nightly. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:38:57 -0500 It doesn't with the latest build. Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 3:37 PM To: [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? I assume so, I'm not sure I've tried it though. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 15:31:57 -0500 Thanks Dave, It worked. Should this one work as well? global-forwards forward name=default path=site.default.page/ /global-forwards Mark. -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 01, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Re: Can forward action point to tiles definition? In the nightlies it can. This was added after beta 2. David From: Zeltser, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Can forward action point to tiles definition? Date: Fri, 1 Nov 2002 14:11:15 -0500 Hi, In struts 1.1 can I do the following? // --- - --- struts-config.xml !-- Points to default page -- action path=/home type=org.apache.struts.actions.ForwardAction parameter=site.default.page / tiles-definition.xml definition name=site.default.page path=/WEB-INF/jsp/common/classicLayout.jsp put name=title value=Price Search / put name=menu value=/WEB-INF/jsp/common/menu.jsp / put name=body value=/WEB-INF/jsp/common/main.jsp / /definition // --- - --- parameter=site.default.page is not getting resolved. Thanks, Mark. --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org --- --- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an
RE: WebLogic/Struts/JSP performance woes...
Also, are you using tables to display? You know table tr tdinserting data here.. Are you aware that these tables won't be displayed until all text required for this table have been downloaded? (This is true for IE and most others I'm sure) James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent: Friday, November 01, 2002 3:49 PM To: Struts Users Mailing List Subject: RE: WebLogic/Struts/JSP performance woes... Is your page precompiled? Are you doing the timing test on your second display of the page? The first display of a non-precompiled JSP will take much longer, as it has to generate and compile the servlet class. -Original Message- From: Davide Bruzzone [mailto:Davide.Bruzzone;ngt.com] Sent: Friday, November 01, 2002 12:43 PM I have a page that, for test purposes, is generating a 1760 row table (Not a gigantic table by any stretch of the imagination). Although I don't expect our data sets to be this big all the time, I need to make the application responsive (i.e. If it starts displaying rows immediately - while its still spitting out other rows - that's fine. What's unacceptable is if the application takes a while to do whatever its doing, and doesn't generate any output until its done, leaving the user with a blank page while they wait). -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org