Re: AJAX query
thanks ..it was the previous case only . "Frank W. Zammetti" <[EMAIL PROTECTED]> 05/16/2007 07:11 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: AJAX query When you say your "updating it using AJAX", do you mean you are making an AJAX request and putting the results into oamHeaderDateTimeInfo? Or do you mean you are making an AJAX request who's response is generated by this JSP? If the former, then it makes perfect sense: userData() is a server-side function and would absolutely not be executed again... if the later, we may need further details to know because it certainly appears that it should be working as you expect. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! Kavita Mehta wrote: > I have a code in JSP file > <%= userDate() %> > > and I'm updating it using AJAX . but surprisingly, the control doesnt go > to this userDate() function again ..due to which my date time is not > gettingupdated . > Pls help. > > > Thanks > Kavita > > > > > *DISCLAIMER* > > This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. > Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is > addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, > print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, > please notify the sender immediately and delete the message. > > > > > > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007 10:47 AM -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *DISCLAIMER* This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately and delete the message.
URL question
Hey all Can I somehow hide the action name in a URL to make it more search engine friendly? I am specifically talking about the index page (in for example http://www.myapp.com/index.action ). Cheers -- View this message in context: http://www.nabble.com/URL-question-tf3776809.html#a10679563 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Populate two fields with one value
how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: Search Account I tried this. This is not working. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
2007/5/18, Mansour <[EMAIL PROTECTED]>: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: try this: Search Account -- Guillaume Carré - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Is there a way to turn of formatting of controls with ajax theme?
Just to confirm what Dave said, in 2.0.x you will have to modify the template to remove the layout tags. In 2.1 the submit button will have the layout tags only if it is inside a form, for which the theme is either "css_xhtml"(divs) or "xhtml"(trs) (to keep backward compatibility). musachy On 5/17/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Martin Gainty <[EMAIL PROTECTED]> wrote: > 1)first instinct says to change the 'theme' as soap > themes typically interact with tag I think he means ajax. I don't know which bits of the ajax are rendered by the tag template. The idea is correct; if you don't want the extra decorations you'll probably (for now) need to either tweak the template, or examine the output of the ajax theme and do a bit of manual work. I know that in 2.1 the ajax stuff is being moved in to a plugin, so hopefully using the ajax functionality in arbitrary layout themes will be easier :/ > http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/JspContext.html > 2)override the setContext with a new context > (JspContext) where Honestly, I have no idea what that has to do with this issue, but maybe it does. I've had a few extra Guinness this evening. > From: "Jason Wyatt" <[EMAIL PROTECTED]> >> I want to use ajax submit buttons to refresh tabs, >> but when ajax theme is set, the buttons are wrapped >> in additional and tags. This is doing >> interesting and unhelpful things to our page layout. Yeah, but you got to say that last sentence, and that's worth something right there. See the following link for a bit more info on themes and templates. http://struts.apache.org/2.x/docs/themes-and-templates.html d. Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Hey you! Would you help me to carry the stone?" Pink Floyd
[OT] mathematical algorithm in java
Hi Are there any mathematical algorithm in java, for example CPM, or branch and bound algorithm Open source is good, but not a requirement, anything in C or C++ is also okay, can try to call them from java Can anyone provide some links for them Ashish
Re: [OT] mathematical algorithm in java
2007/5/18, Ashish Kulkarni <[EMAIL PROTECTED]>: Hi Are there any mathematical algorithm in java, for example CPM, or branch and bound algorithm I think that you did not use the correct words when googling :-) CPM and branch-and-bound are arguments of Operational Research. I googled "Operational Research Java" and found this as first result: http://opsresearch.com/OR-Objects/index.html HTH Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] mathematical algorithm in java
--- Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Are there any mathematical algorithm in java, for > example CPM, or branch and bound algorithm Just out of curiosity, did you try using Google and searching for, say, something along the lines of "branch and bound +java" or something? I could be wrong, but it seems like it might be quicker to do that than to wait for a mailing list response. d. Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of Tiles without Struts
2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: Could somebody who's in the know here explain what the status of this project is, and how I can get it up and running in a simple way? Me! Me! :-) http://tiles.apache.org/ Antonio
Status of Tiles without Struts
What’s the status of Tiles without Struts? I see all sorts of outdated and conflicting information on where to get it from, how to configure it, what dependencies it has, etc. Websites, blog posts, and mailing list postings all seem to tell me somewhat different things… Could somebody who’s in the know here explain what the status of this project is, and how I can get it up and running in a simple way? Thanks. -- View this message in context: http://www.nabble.com/Status-of-Tiles-without-Struts-tf3778187.html#a10683700 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
I tried it. It's not working either. Guillaume Carré wrote: 2007/5/18, Mansour <[EMAIL PROTECTED]>: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: try this: Search Account - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
--- Mansour <[EMAIL PROTECTED]> wrote: > I tried it. It's not working either. What do you mean, populate two values in your action with one value? Under what circumstances would that population happen? Are you filling out a search form and attempting to search based on what was actually filled out on the form? d. > > > Guillaume Carré wrote: > > 2007/5/18, Mansour <[EMAIL PROTECTED]>: > >> how to populate 2 fields in my action with one > value ? > >> for example I need to populate the first name and > last name with one > >> value for searching: > > > > try this: > > > > theme="xhtml" > > > Search Account > > > > name="acc.firstName" id="fn" /> > > value="%{acc.firstName}" /> > > > > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
Do you have the approptriate getters and setters? eg action.getAcc().setFirstName() action.getAcc().setLastName() Mansour wrote: I tried it. It's not working either. Guillaume Carré wrote: 2007/5/18, Mansour <[EMAIL PROTECTED]>: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: try this: Search Account id="fn" /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
You should probably be doing this in your action class, not your JSP. If it should always be set to acc.firstName, then you could just hardcode a hidden field: On 5/18/07, Mansour <[EMAIL PROTECTED]> wrote: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: Search Account I tried this. This is not working. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[s2]checkboxlist problem
Hi there, I'm having problem with checkboxlist in Struts 2. Here is my jsp fragment: Now "attributes" is a list of Attribute objects. Attribute class look like: class Attribute { private Integer id; private String name; ... (getters & setters) } The "test" property is a list of String and this is the problem. Because Attribute.getId() is of type Integer which isn't equal to String for obvious reason, the checkboxlist is not auto-selected. There are some constraints that prevent me from changing "test" to a list of Integers in the action itself. Is there a way actually on the fly convert Attribute.getId() to String so that the checkboxlist will be autoselected. Thanks. -- View this message in context: http://www.nabble.com/-s2-checkboxlist-problem-tf3778745.html#a10685611 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
Yes, I do have the correct setters for the Account object. Lance wrote: Do you have the approptriate getters and setters? eg action.getAcc().setFirstName() action.getAcc().setLastName() Mansour wrote: I tried it. It's not working either. Guillaume Carré wrote: 2007/5/18, Mansour <[EMAIL PROTECTED]>: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: try this: Search Account id="fn" /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts menu
Hi Can anyone please help me to know to get the sub menu under main menu. I am using struts 1.3.8. I am not using struts menu. when a menu is clicked I should get a submenu opened under it. example: mainmenu: menu1 menu2 menu3 when i click menu1 it should open menu1 submenu1 submenu2 submenu3 Any sort of suggestion will be a great help for me. -- Regards Archer
Tiles fragment as XML
How can I use the Tiles page shown below from the Tiles distribution example WAR in an editor that expects XML? What would the root XML element of this fragment be? <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %> -- View this message in context: http://www.nabble.com/Tiles-fragment-as-XML-tf3778935.html#a10686183 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of Tiles without Struts
I have used sitemesh in the past http://www.opensymphony.com/sitemesh/ This is a filter that intercepts the html on the way out, parses it then decorates it with a header, menu etc. etc. lightbulb432 wrote: Great, thanks! Out of curiosity, what are the alternatives to Tiles for JSP templating? Assuming I'd like to use JSP for the view, what ways of making a maintainable website are there? Of course I could use the JSP include action and directive, but that wouldn't be maintainable (or would it in practice - what's your experience?) What alternatives are there, and how do they compare to Tiles? Thanks. Antonio Petrelli-3 wrote: 2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: Could somebody who's in the know here explain what the status of this project is, and how I can get it up and running in a simple way? Me! Me! :-) http://tiles.apache.org/ Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of Tiles without Struts
Great, thanks! Out of curiosity, what are the alternatives to Tiles for JSP templating? Assuming I'd like to use JSP for the view, what ways of making a maintainable website are there? Of course I could use the JSP include action and directive, but that wouldn't be maintainable (or would it in practice - what's your experience?) What alternatives are there, and how do they compare to Tiles? Thanks. Antonio Petrelli-3 wrote: > > 2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: >> >> Could somebody who's in the know here explain what the status of this >> project is, and how I can get it up and running in a simple way? > > > > Me! Me! :-) > > http://tiles.apache.org/ > > Antonio > > -- View this message in context: http://www.nabble.com/Status-of-Tiles-without-Struts-tf3778187.html#a10686178 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Status of Tiles without Struts
Hi, A question I see in documentation [1] : container.render("myapp.homepage", request, response); But in last version 2.0.3 : this method doesn't exists anymore ? What is the new one ? Thanks, -- Olivier [1] : http://tiles.apache.org/tutorial/basic/pages.html -Message d'origine- De : Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 16:48 À : Struts Users Mailing List Objet : Re: Status of Tiles without Struts 2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: > > Could somebody who's in the know here explain what the status of this > project is, and how I can get it up and running in a simple way? Me! Me! :-) http://tiles.apache.org/ Antonio This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
I have to ask... why don't you just set it in the action? public String execute() throws Exception { this.lastName = this.firstName; ... } Mansour wrote: Yes, I do have the correct setters for the Account object. Lance wrote: Do you have the approptriate getters and setters? eg action.getAcc().setFirstName() action.getAcc().setLastName() Mansour wrote: I tried it. It's not working either. Guillaume Carré wrote: 2007/5/18, Mansour <[EMAIL PROTECTED]>: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: try this: Search Account id="fn" /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Status of Tiles without Struts
Ok. See in sources. If someone interested : HttpServletRequest request = ServletActionContext.getRequest(); HttpServletResponse response = ServletActionContext.getResponse(); container.render( location, new Object[] { request, response } ); -- Olivier -Message d'origine- De : LAMY Olivier [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 19:31 À : Struts Users Mailing List Objet : RE: Status of Tiles without Struts Hi, A question I see in documentation [1] : container.render("myapp.homepage", request, response); But in last version 2.0.3 : this method doesn't exists anymore ? What is the new one ? Thanks, -- Olivier [1] : http://tiles.apache.org/tutorial/basic/pages.html -Message d'origine- De : Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 16:48 À : Struts Users Mailing List Objet : Re: Status of Tiles without Struts 2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: > > Could somebody who's in the know here explain what the status of this > project is, and how I can get it up and running in a simple way? Me! Me! :-) http://tiles.apache.org/ Antonio This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2 providing injection
Struts2, or more precisely XWork, uses an early version of Guice. I was wondering about doing the same thing on a current project, and my initial thought was that you would need to define the beans being injected via the struts.xml configuration file or to provide a way to supply the managed beans in to the Guice container. I'm not sure that it will automatically find annotation on application code. Bob? /Ian Will Smith wrote: Hi, I have an action that I've been injecting with Guice. I just noticed that there is an @Inject annotation defined in com.opensymphony.xwork2.inject. I'm assuming that this allows you to use struts 2 as the di provider. So I tried removing my com.google.inject.*imports that bring in the @Inject annotation, to see if struts would pick this up. It didn't, and I get an error in my netbeans tomcat window. I was unable to find any @Singleton type annotation so that I could apply the correct scope to my class being injected, so I left the Guice one. Am I correct in assuming that the @Inject annotation provided by struts2 is to allow struts to do the di? If so, is there any documentation on this? Also, while troubleshooting, I tried both specifiying Guice as the objectFactory, and not specifying it. It didn't matter either way. Thanks, Will This is the error: 1) Error at com.bugnthecode.blog.actions.BlogService.(BlogService.java :32): Could not find a suitable constructor in com.bugnthecode.blog.actions.BlogService. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor. 1 error[s] at com.google.inject.BinderImpl.createInjector(BinderImpl.java:277) at com.google.inject.Guice.createInjector(Guice.java:79) at com.google.inject.Guice.createInjector(Guice.java:53) at com.google.inject.Guice.createInjector(Guice.java:43) at com.google.inject.struts2.GuiceObjectFactory.buildBean( GuiceObjectFactory.java:101) at com.opensymphony.xwork2.ObjectFactory.buildBean( ObjectFactory.java:152) at com.opensymphony.xwork2.ObjectFactory.buildBean( ObjectFactory.java:141) at com.opensymphony.xwork2.ObjectFactory.buildAction( ObjectFactory.java:111) at com.opensymphony.xwork2.DefaultActionInvocation.createAction( DefaultActionInvocation.java:270) at com.opensymphony.xwork2.DefaultActionInvocation.init( DefaultActionInvocation.java:360) at com.opensymphony.xwork2.DefaultActionInvocation.access$000( DefaultActionInvocation.java:38) at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling( DefaultActionInvocation.java:78) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile( UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.( DefaultActionInvocation.java:70) at com.opensymphony.xwork2.DefaultActionInvocation.( DefaultActionInvocation.java:66) at com.opensymphony.xwork2.DefaultActionProxy.prepare( DefaultActionProxy.java:189) at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy( StrutsActionProxyFactory.java:41) at org.apache.struts2.dispatcher.Dispatcher.serviceAction( Dispatcher.java:497) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter( FilterDispatcher.java:421) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter( MonitorFilter.java:368) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619)
Re: Tiles fragment as XML
2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: How can I use the Tiles page shown below from the Tiles distribution example WAR in an editor that expects XML? Please ask this question, regarding Tiles 2, in Tiles Users mailing list: http://tiles.apache.org/mail-lists.html Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of Tiles without Struts
HEY ALL!!! For questions regarding Tiles 2 ask the Tiles 2 Users mailing list, please: http://tiles.apache.org/mail-lists.html Antonio 2007/5/18, LAMY Olivier <[EMAIL PROTECTED]>: Ok. See in sources. If someone interested : HttpServletRequest request = ServletActionContext.getRequest(); HttpServletResponse response = ServletActionContext.getResponse(); container.render( location, new Object[] { request, response } ); -- Olivier -Message d'origine- De : LAMY Olivier [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 19:31 À : Struts Users Mailing List Objet : RE: Status of Tiles without Struts Hi, A question I see in documentation [1] : container.render("myapp.homepage", request, response); But in last version 2.0.3 : this method doesn't exists anymore ? What is the new one ? Thanks, -- Olivier [1] : http://tiles.apache.org/tutorial/basic/pages.html -Message d'origine- De : Antonio Petrelli [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 16:48 À : Struts Users Mailing List Objet : Re: Status of Tiles without Struts 2007/5/18, lightbulb432 <[EMAIL PROTECTED]>: > > Could somebody who's in the know here explain what the status of this > project is, and how I can get it up and running in a simple way? Me! Me! :-) http://tiles.apache.org/ Antonio This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Re: Tiles fragment as XML
--- lightbulb432 <[EMAIL PROTECTED]> wrote: > How can I use the Tiles page shown below from the > Tiles distribution example > WAR in an editor that expects XML? > > What would the root XML element of this fragment be? It's JSP. d. You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 2 providing injection
Hi, I have an action that I've been injecting with Guice. I just noticed that there is an @Inject annotation defined in com.opensymphony.xwork2.inject. I'm assuming that this allows you to use struts 2 as the di provider. So I tried removing my com.google.inject.*imports that bring in the @Inject annotation, to see if struts would pick this up. It didn't, and I get an error in my netbeans tomcat window. I was unable to find any @Singleton type annotation so that I could apply the correct scope to my class being injected, so I left the Guice one. Am I correct in assuming that the @Inject annotation provided by struts2 is to allow struts to do the di? If so, is there any documentation on this? Also, while troubleshooting, I tried both specifiying Guice as the objectFactory, and not specifying it. It didn't matter either way. Thanks, Will This is the error: 1) Error at com.bugnthecode.blog.actions.BlogService.(BlogService.java :32): Could not find a suitable constructor in com.bugnthecode.blog.actions.BlogService. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor. 1 error[s] at com.google.inject.BinderImpl.createInjector(BinderImpl.java:277) at com.google.inject.Guice.createInjector(Guice.java:79) at com.google.inject.Guice.createInjector(Guice.java:53) at com.google.inject.Guice.createInjector(Guice.java:43) at com.google.inject.struts2.GuiceObjectFactory.buildBean( GuiceObjectFactory.java:101) at com.opensymphony.xwork2.ObjectFactory.buildBean( ObjectFactory.java:152) at com.opensymphony.xwork2.ObjectFactory.buildBean( ObjectFactory.java:141) at com.opensymphony.xwork2.ObjectFactory.buildAction( ObjectFactory.java:111) at com.opensymphony.xwork2.DefaultActionInvocation.createAction( DefaultActionInvocation.java:270) at com.opensymphony.xwork2.DefaultActionInvocation.init( DefaultActionInvocation.java:360) at com.opensymphony.xwork2.DefaultActionInvocation.access$000( DefaultActionInvocation.java:38) at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling( DefaultActionInvocation.java:78) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile( UtilTimerStack.java:455) at com.opensymphony.xwork2.DefaultActionInvocation.( DefaultActionInvocation.java:70) at com.opensymphony.xwork2.DefaultActionInvocation.( DefaultActionInvocation.java:66) at com.opensymphony.xwork2.DefaultActionProxy.prepare( DefaultActionProxy.java:189) at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy( StrutsActionProxyFactory.java:41) at org.apache.struts2.dispatcher.Dispatcher.serviceAction( Dispatcher.java:497) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter( FilterDispatcher.java:421) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter( MonitorFilter.java:368) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619)
Map Backed Property problem
I am trying to use a map-backed property but my form values are not getting into the Map. When I debug the code I see the "descriptor" being returned by PropertyUtils is a MappedPropertyDescriptor, but the mappedWriteMethod is null. The mappedReadMethod looks good though (name=getHostInfo). My action form contains: private HashMap hostInfo = new HashMap(); public void setHostInfo(String key, Object value) { hostInfo.put(key, value); } public String getHostInfo(String key) { return (String)hostInfo.get(key); } My jsp form field has a name of hostInfo(commonHost01). Anybody have any ideas on why my write method is not being found? Thanks for any help you can provide Scott Mulligan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[S2] – No result defined for action ERROR
I’m attempting to put a tutorial together that does NOT use Spring. My goal is to compare Spring and Spring MVC with Struts 2 and Guice. The issue I’m having is probably simple, but I can’t seem to find any good non-Spring examples of passing a selection parameter into the Action to retrieve a specific record for display on another JSP. I’m sure the errors is associated with the struts.xml, just don’t know what. JSP code: list_depts.jsp "> Part of struts.xml: jsps/list_depts.jsp jsps/edit_dept.jsp listDepts The Action is as follows: public class DepartmentAction extends ActionSupport implements Preparable, ParameterAware { private Integer id; private Department dept; private List depts; private DaoManager daoManager = null; private HashMap paramsMap = null; @SuppressWarnings("unchecked") public void prepare() throws Exception { if (this.paramsMap.size() > 0) { if (this.paramsMap.containsKey("id")) { String idStr = CommonUtils.StrArr2Str((String[]) this.paramsMap.get("id")); this.id = new Integer(idStr); } } @SuppressWarnings("unchecked") public void setParameters(Map params) { this.paramsMap = new HashMap(params); } public String findById () throws Exception { System.out.println("I'm into dept.findbyid."); Short val = this.getId().shortValue(); dept = getDaoManager().getDeptDao().findById(val); return SUCCESS; } I get this error message: No result defined for action com.att.etpi.eval.struts2.actions.DepartmentAction and result input. Here’s the partial stack dump: No result defined for action com.att.etpi.eval.struts2.actions.DepartmentAction and result input - action - file:/C:/my_projects/workspace_3.2.2/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/Struts2test1/WEB-INF/classes/struts2test1.xml:36:106 com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:345) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) com.google.inject.struts2.GuiceObjectFactory$ProvidedInterceptor.intercept(GuiceObjectFactory.java:222) com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:218) com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) Sorry for the length: Any ideas what I’m doing wrong? shadman -- View this message in context: http://www.nabble.com/-S2--%E2%80%93-No-result-defined-for-action-ERROR-tf3779469.html#a10687943 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] – No result defined for action ERROR
--- shadman <[EMAIL PROTECTED]> wrote: > but I canât seem to find any good non-Spring > examples of passing a selection parameter into the > Action to retrieve a specific record for display on > another JSP. I'm not sure what Spring has to do with this except that the DAO/service would be injected in a different way, yes? > if (this.paramsMap.size() > 0) { > if (this.paramsMap.containsKey("id")) { > String idStr = > CommonUtils.StrArr2Str((String[]) > this.paramsMap.get("id")); > this.id = new Integer(idStr); > } > } Just out of curiosity, why not use the type conversion stuff and skip all this? > I get this error message: > > No result defined for action > com.att.etpi.eval.struts2.actions.DepartmentAction > and result input. Do you have a result defined for "input"? I didn't see one. It would appear as though some validation somewhere is failing hence it's trying to take you back to the input result. d. Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?
A form of approximately 1800 form elements is causing "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements are used, no such error. The environment: - JBoss 4.0.5 - Struts 1.1 - A jsp page using struts tags to start and end the form block. Then inside the form, xslt is used to parse a 300 element xml document into 6 input tags per element. What seems to be happening, the reset method for the form bean is called. Then before any set methods are called, the OOME is thrown. Any help would be appreciated. Mike Forsberg Software Engineer II APM - APC T 512.602.0220 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Forsberg, Mike wrote: > A form of approximately 1800 form elements is causing > "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements > are used, no such error. > > [Am I doing something wrong?] Yes, you are using 1800 form elements. :( Seriously, you might want to think about splitting that up into multiple pages. There was a team at one of my old jobs where they had a bunch of fields on a single page (not anywhere near 1800.. probably in the 200 range or so) and they had a problem where it was possible to submit the form before it had loaded entirely, and their testers were able to actually lose data since the form was being submitted before all the form data was available to submit. 1800 form elements on a single page sounds like a risky UI move. I'd recommend far fewer. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGTf2X9CaO5/Lv0PARAoX7AJ9V+uATItL9xrP/tgBTnq3pqTxPiwCdHRu4 H7m+UJfs7TuR0XdH1DV9rXI= =LqYN -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] â No result defined for action ERROR
Dave Newton-4 wrote: > > --- shadman <[EMAIL PROTECTED]> wrote: >> but I canât seem to find any good non-Spring >> examples of passing a selection parameter into the >> Action to retrieve a specific record for display on >> another JSP. > > I'm not sure what Spring has to do with this except > that the DAO/service would be injected in a different > way, yes? > > Correct, Spring is not issue - just trying to explain what and why, is > all. Like a said, for comparison only. But, most S2 examples use Spring. > >> if (this.paramsMap.size() > 0) { >> if (this.paramsMap.containsKey("id")) { >> String idStr = >> CommonUtils.StrArr2Str((String[]) >> this.paramsMap.get("id")); >> this.id = new Integer(idStr); >> } >> } > > Just out of curiosity, why not use the type conversion > stuff and skip all this? > > I'm a newbie to S2, didn't know I could do that yet. Would rather, I'm > sure. > >> I get this error message: >> >> No result defined for action >> com.att.etpi.eval.struts2.actions.DepartmentAction >> and result input. > > Do you have a result defined for "input"? I didn't see > one. It would appear as though some validation > somewhere is failing hence it's trying to take you > back to the input result. > > d. > > 1st, thanks for the reply: > This is what I understood from another post, must have a result input > specified. I didn't have any validation, and earlier testing the > result-input didn't work for me (meaning I must have had a problem). I > cleaned and retested in Eclipse 3x, still failed. I did seem to stumble > upon the right thing to do by accident. Added " name="input">jsps/errors.jsp". So, my assumption is that its > required in case some error occurs; and not used if no error occurs. > > Thanks, Dave. > > shadman > > > Don't pick lemons. > See all the new 2007 cars at Yahoo! Autos. > http://autos.yahoo.com/new_cars.html > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--%E2%80%93-No-result-defined-for-action-ERROR-tf3779469.html#a10688896 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
Yes, I am going to do this in my action. But out of curiosity, I would like to know how to do this. I tried what you did (in my original post) and didn't work. Ed Griebel wrote: You should probably be doing this in your action class, not your JSP. If it should always be set to acc.firstName, then you could just hardcode a hidden field: On 5/18/07, Mansour <[EMAIL PROTECTED]> wrote: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: Search Account id="fn" /> I tried this. This is not working. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Map Backed Property problem
I figured out my problem and decided to post the answer in case anyone else runs into it. Apparently, the BeanInfo class looks for a setter method with the same parameter type as the getter method. In my case I was getting a String but setting an Object. Changing the Object parameter to a String parameter fixed everything. Scott Mulligan I am trying to use a map-backed property but my form values are not getting into the Map. When I debug the code I see the "descriptor" being returned by PropertyUtils is a MappedPropertyDescriptor, but the mappedWriteMethod is null. The mappedReadMethod looks good though (name=getHostInfo). My action form contains: private HashMap hostInfo = new HashMap(); public void setHostInfo(String key, Object value) { hostInfo.put(key, value); } public String getHostInfo(String key) { return (String)hostInfo.get(key); } My jsp form field has a name of hostInfo(commonHost01). Anybody have any ideas on why my write method is not being found? Thanks for any help you can provide Scott Mulligan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Populate two fields with one value
It didn't work because you're saying 'set this hidden field to the value the user hasn't entered yet': In other words, what that says is 'set the value of the acc.lastName input to the value acc.firstName has when the form is rendered'. The value submitted for acc.lastName would therefore be the original (pre-form-submit) value of accc.firstName. You'd have to either use Javascript to keep the acc.lastName input's value in sync with what the user enters or, as mentioned previously, take care of this in the action (which is the proper thing to do since this requirement isn't a presentation issue.) L. Mansour wrote: Yes, I am going to do this in my action. But out of curiosity, I would like to know how to do this. I tried what you did (in my original post) and didn't work. Ed Griebel wrote: You should probably be doing this in your action class, not your JSP. If it should always be set to acc.firstName, then you could just hardcode a hidden field: On 5/18/07, Mansour <[EMAIL PROTECTED]> wrote: how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: Search Account id="fn" /> I tried this. This is not working. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: URL question
If you mean you want a request to http://www.myapp.com/ to execute input.action, you can: - create an index.html with an http redirect header to index.action; or - setup your webserver or container so that index.action is the default welcome "file" (rather than index.html, index.jsp etc); or - design an index.jsp (or other welcome file) than can be rendered without executing an action at all ; or - create an index.jsp that contains remote div's to to load the specific non-static sections that do require an action to execute (these div's won't be 'search-engine' friendly though) If you'd like a more generic solution to hide the action name from the URL, you may be able to use a feature in your webserver like mod_rewrite to rewrite the URLs to something more 'human friendly'. meeboo wrote: Can I somehow hide the action name in a URL to make it more search engine friendly? I am specifically talking about the index page (in for example http://www.myapp.com/index.action ). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Freemarker vs struts taglibs
I have been using Freemarker with Struts 2 for my latest project and I'm loving it. The syntax is a gazillion times (yes, exactly that many) better than JSP in my opinion. As far as differences in the tags, there isn't any. You can do the same thing using the Freemarker Struts tags as you can using the JSP Struts tags. Just to be clear, you choose to use either JSP or Freemarker. And then you use the tag syntax for that view language. On 5/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: FreeMarker is a template engine, with it's own syntax. JSP tags can be used in FreeMarker, adding some configuration. In the case of Struts tags, no configuration is required, and you can use them like you would in JSP except a few differences, see this for details: http://struts.apache.org/2.x/docs/freemarker.html musachy On 5/17/07, Jordi Rubio Moreno <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm a bit confused. I need to decide if I'll use Freemarker or Struts > taglibs, and I don't know the differences between both. E.g. what's the > difference between and <@s.iterator>, and <@s.url>, > etc etc... > > I have seen all the tutorials and examples I have found working with > taglibs, but people says WebWork and Struts 2's choice is Freemarker... > > Please, help me to understand why taglibs or Freemarker :) > > Thanks a lot! > > Cheers! > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: [S2] Freemarker vs struts taglibs
If you're a new user of Struts2 and JSP then I suggest you simply start with JSP as there's far more resources and tutorials available. You only must become aware of Freemarker once you wish to extend the default themes. Within Struts2, by default Freemarker templates are used when rendering the UI components (ie. the S2 taglib classes that extend AbstractUITag such as TextField). eg. if you use the tag, Struts2 will render it using the text.ftl template for the specified/current theme. Eventually you may wish to extend the theme (change with the way is rendered) at which time you'll probably create your own templates for the UI components-of-interested and start using Freemarker. Eventually may you also wish to create your own taglib UI components following the the S2 conventions in which case you'd follow the same template approach (but Struts2 does not preclude you from using any other JSP/taglib convention). As mentioned in previous responses and the link below, Struts2 allows you to use entire Freemarker page results instead of JSP. There are good technical arguments for using Freemarker instead of JSP, but generally speaking right now you'll find more people to help, initially less effort, more jobs and better IDE-support with JSP and almost everything you learn with JSP can be later be applied within the Freemarker context. On 5/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: FreeMarker is a template engine, with it's own syntax. JSP tags can be used in FreeMarker, adding some configuration. In the case of Struts tags, no configuration is required, and you can use them like you would in JSP except a few differences, see this for details: http://struts.apache.org/2.x/docs/freemarker.html musachy On 5/17/07, Jordi Rubio Moreno <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm a bit confused. I need to decide if I'll use Freemarker or Struts > taglibs, and I don't know the differences between both. E.g. what's the > difference between and <@s.iterator>, and <@s.url>, > etc etc... > > I have seen all the tutorials and examples I have found working with > taglibs, but people says WebWork and Struts 2's choice is Freemarker... > > Please, help me to understand why taglibs or Freemarker :) > > Thanks a lot! > > Cheers! > -- "Hey you! Would you help me to carry the stone?" Pink Floyd No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.4/811 - Release Date: 18/05/2007 3:50 PM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
dbase
hi i have to design a query analyser that any query given i have to display that table how can i do that and how can i display the table in jsp thanks j
Handling requests through servlets vs struts action class ?
Hi All, I am developing a web application which is going to receive and send millions of sms's . I am using Kannel (www.kannel.org) as my SMS gateway server. Now kannel server recognizes each sms and i have configured it to send recived SMS to my web application . Firstly was using the struts action class for receiving the SMS i.e. Kannel sends it to URL i specify in kannel configuration . But then i thought it may have serious performance penalty as struts action is using single thread model (AFAIK). So i decide to shift to servlet based application ,is it a good idea ? I am double minded ,can anybody help me out . Regards , Jasdeep -- View this message in context: http://www.nabble.com/Handling-requests-through-servlets-vs-struts-action-class---tf3781482.html#a10694173 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]