Re: Struts 2 Annotation Tutorial (additional info)
2011/9/30 Steve : > Remember, my app server is JBoss. Which version ? Could you try on Tomcat ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Struts 2 Annotation Tutorial (additional info)
Hello, Yes, I'm basing it off of the Struts_Annotations_Ant_2_2_1.zip. I removed the struts.xml like you instructed but still no luck. I added the "struts.devMode" param to my web.xml file. So my web.xml file looks like this: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> Struts2_Annotations_Ant struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts.devMode true struts2 /* index.jsp I decided that I'd switch from the jar files located inside the " Struts_Annotations_Ant_2_2_1.zip" to the ones from "struts-2.2.3-all " so I can attach the source code. So the jars in my WEB-INF\lib folder are now: asm-3.1.jar asm-commons-3.1.jar asm-tree-3.1.jar commons-fileupload-1.2.2.jar commons-io-2.0.1.jar commons-lang-2.5.jar commons-logging-1.1.1.jar commons-logging-api-1.1.jar freemarker-2.3.16.jar javassist-3.11.0.GA.jar log4j-1.2.16.jar ognl-3.0.1.jar struts2-config-browser-plugin-2.2.3.jar struts2-convention-plugin-2.2.3.jar struts2-core-2.2.3.jar xwork-core-2.2.3.jar Of course that'd didn't make a difference. I still get: There is no Action mapped for namespace / and action name hello. - [unknown location] com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:189) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) However now I know that in the DefaultActionProxy.prepare method, the statement: config = configuration.getRuntimeConfiguration().getActionConfig(namespace, actionName); results in a null for config. Namespace is: "/" and actionName is: "hello" If it helps you any, the Struts Configuration Browser shows nothing under the "default" namespace. Under "constants" I have the following settings: logMissingPropertiesfalse struts.multipart.saveDir struts.convention.actionNameBuilder convention struts.convention.result.path /WEB-INF/content/ struts.objectFactory.spring.useClassCache true struts.url.includeParamsnone struts.velocity.configfile velocity.properties struts.convention.classes.reloadfalse struts.convention.action.mapAllMatches false struts.convention.relative.result.types dispatcher,velocity,freemarker struts.dispatcher.parametersWorkaround false struts.serve.static true enableOGNLExpressionCache true struts.convention.action.name.lowercase true struts.convention.package.locators.disable false struts.ognl.enableExpressionCache true struts.ui.templateSuffixftl struts.convention.package.locators action,actions,struts,struts2 struts.multipart.parser jakarta struts.velocity.toolboxlocation struts.i18n.reload true struts.freemarker.beanwrapperCache false struts.objectFactory.spring.autoWirename struts.ui.templateDir template struts.url.http.port80 struts.ognl.allowStaticMethodAccess false struts.convention.action.checkImplementsAction true struts.enable.DynamicMethodInvocation true struts.ognl.logMissingPropertiesfalse struts.convention.action.fileProtocols jar struts.convention.action.disableScanningfalse devMode true struts.action.extension action,, struts.convention.exclude.parentClassLoader true struts.enable.SlashesInActionNames false struts.convention.default.parent.packageconvention-default struts.multipart.handlerjakarta struts.convention.exclude.packages org.apache.struts.*,org.apache.struts2.*,org.springframework.web.struts.*,org.springframework.web.struts2.*,org.hibernate.* struts.i18n.encodingUTF-8 struts.convention.conventionsServiceconvention struts.convention.package.locators.basePackage struts.multipart.maxSize2097152 struts.convention.action.name.separator - struts.tag.altSyntaxtrue struts.convention.redirect.to.slash true struts.freemarker.mru.max.strong.size 100 struts.convention.action.alwaysMapExecute true struts.convention.interceptorMapBuilder convention struts.freemarker.templatesCachefalse struts.convention.action.suffix Action struts.mapper.alwaysSelectFullNamespace true struts.convention.result.flatLayout true struts.devMode true allowStaticMethodAccess false struts.freemarker.templatesCache.updateDelay0 struts.url.https.port 443 struts.ui.theme xhtml struts.velocity.contexts struts.xslt.nocache false struts.objectFactory.spring.autoWire.alwaysRespect false struts.configuration.xml.reload true struts.el.throwExceptionOnFailure false struts.serve.static.browserCachetrue struts.freemarker.wrapper.altMaptrue struts.convention.actionConf
Re: an odd problem about struts2 annotation
for one reason is that struts2 will not scan your classes in jar is that if someone tempered with you jar or any of your jar has class with Struts Annotations then your user can access these actions without you knowing it. I believe this is the same reason why Spring doesnt scan files in jars and in order to use them you have to declare them explicitly in xml files. On Fri, Sep 30, 2011 at 10:49 AM, dan.zheng wrote: > I know some tricky about this problem > the struts convention will scan action class in the specific package > for example: > struts.convention.package.locators indicate the action class suffix > > but when you jar the classes,I suppose that struts2 can't scan the action > class > in jar files,if this is true,I will always deploy war with class files > exploded,I want to find > a workaround,thanks > > On Fri, Sep 30, 2011 at 10:22 AM, dan.zheng wrote: > > > I jar the classes and put it into WEB-INF/lib > > of course you know,the war will package all jars and jsp files in bundle > > why the struts2 can't scan classes in WEB-INF/lib? > > > > > > On Fri, Sep 30, 2011 at 10:05 AM, Steven Yang >wrote: > > > >> sorry just to be clear > >> did you "jar" the classes or did you "war" the classes? > >> > >> if you "jar" the classes then i dont think struts 2 will scan your > classes > >> in jars. > >> > >> On Thu, Sep 29, 2011 at 2:34 PM, dan.zheng wrote: > >> > >> > hi,everyone > >> > I meet an odd problem with struts2 annotation,Let me elaborate it > first > >> > > >> > import java.util.List; > >> > > >> > import lombok.Getter; > >> > import lombok.Setter; > >> > > >> > import org.apache.commons.lang.StringUtils; > >> > import org.apache.struts2.ServletActionContext; > >> > import org.apache.struts2.convention.annotation.Action; > >> > import org.apache.struts2.convention.annotation.Result; > >> > import org.apache.struts2.convention.annotation.Results; > >> > import org.apache.struts2.interceptor.validation.SkipValidation; > >> > import org.springframework.beans.factory.annotation.Autowired; > >> > > >> > import com.dbappsecurity.portal.model.PortalUser; > >> > import com.dbappsecurity.portal.service.PortalUserService; > >> > import com.opensymphony.xwork2.ActionSupport; > >> > > >> > @Results({ > >> >@Result(name="input",location="main.jsp"), > >> >@Result(name="list",location="list.jsp") > >> > }) > >> > public class MainAction extends ActionSupport { > >> >@Getter @Setter private PortalUser user; > >> >@Autowired > >> >private PortalUserService portalUserService; > >> >public String execute() throws Exception { > >> >return INPUT; > >> >} > >> >@Action("addUser") > >> >public String addUser() throws Exception { > >> >portalUserService.addUser(user); > >> >return listUser(); > >> >} > >> >@Action("listUser") > >> >@SkipValidation > >> >public String listUser() throws Exception { > >> >List theUserList = portalUserService.getPortalUserList(null); > >> > > >> > > ServletActionContext.getRequest().setAttribute("userList",theUserList); > >> >return "list"; > >> >} > >> >@Action("modifyUser") > >> >public String modifyUser() throws Exception { > >> >List theUserList = portalUserService.getPortalUserList(null); > >> > > >> > > ServletActionContext.getRequest().setAttribute("userList",theUserList); > >> >return "list"; > >> >} > >> > > >> > this is the struts2 action class, I configure it correctly and type > the > >> url > >> > http://domain/listUser it will list all users > >> > http://domain/modifyUser it can modify the users > >> > all things go well in tomcat with exploded class files > >> > > >> > but when I build with the war file and deploy it into tomcat webapp > >> folder, > >> > the page report > >> > there is no action name listUser > >> > the difference between the two scenario is exploded class files and > >> > archived > >> > class files that I compile and jar the action and other class files > into > >> > it. > >> > I was puzzled about this phenomenon > >> > > >> > so any suggestions and advices will be very appreciated! > >> > > >> > > > > >
Re: an odd problem about struts2 annotation
I know some tricky about this problem the struts convention will scan action class in the specific package for example: struts.convention.package.locators indicate the action class suffix but when you jar the classes,I suppose that struts2 can't scan the action class in jar files,if this is true,I will always deploy war with class files exploded,I want to find a workaround,thanks On Fri, Sep 30, 2011 at 10:22 AM, dan.zheng wrote: > I jar the classes and put it into WEB-INF/lib > of course you know,the war will package all jars and jsp files in bundle > why the struts2 can't scan classes in WEB-INF/lib? > > > On Fri, Sep 30, 2011 at 10:05 AM, Steven Yang wrote: > >> sorry just to be clear >> did you "jar" the classes or did you "war" the classes? >> >> if you "jar" the classes then i dont think struts 2 will scan your classes >> in jars. >> >> On Thu, Sep 29, 2011 at 2:34 PM, dan.zheng wrote: >> >> > hi,everyone >> > I meet an odd problem with struts2 annotation,Let me elaborate it first >> > >> > import java.util.List; >> > >> > import lombok.Getter; >> > import lombok.Setter; >> > >> > import org.apache.commons.lang.StringUtils; >> > import org.apache.struts2.ServletActionContext; >> > import org.apache.struts2.convention.annotation.Action; >> > import org.apache.struts2.convention.annotation.Result; >> > import org.apache.struts2.convention.annotation.Results; >> > import org.apache.struts2.interceptor.validation.SkipValidation; >> > import org.springframework.beans.factory.annotation.Autowired; >> > >> > import com.dbappsecurity.portal.model.PortalUser; >> > import com.dbappsecurity.portal.service.PortalUserService; >> > import com.opensymphony.xwork2.ActionSupport; >> > >> > @Results({ >> >@Result(name="input",location="main.jsp"), >> >@Result(name="list",location="list.jsp") >> > }) >> > public class MainAction extends ActionSupport { >> >@Getter @Setter private PortalUser user; >> >@Autowired >> >private PortalUserService portalUserService; >> >public String execute() throws Exception { >> >return INPUT; >> >} >> >@Action("addUser") >> >public String addUser() throws Exception { >> >portalUserService.addUser(user); >> >return listUser(); >> >} >> >@Action("listUser") >> >@SkipValidation >> >public String listUser() throws Exception { >> >List theUserList = portalUserService.getPortalUserList(null); >> > >> > ServletActionContext.getRequest().setAttribute("userList",theUserList); >> >return "list"; >> >} >> >@Action("modifyUser") >> >public String modifyUser() throws Exception { >> >List theUserList = portalUserService.getPortalUserList(null); >> > >> > ServletActionContext.getRequest().setAttribute("userList",theUserList); >> >return "list"; >> >} >> > >> > this is the struts2 action class, I configure it correctly and type the >> url >> > http://domain/listUser it will list all users >> > http://domain/modifyUser it can modify the users >> > all things go well in tomcat with exploded class files >> > >> > but when I build with the war file and deploy it into tomcat webapp >> folder, >> > the page report >> > there is no action name listUser >> > the difference between the two scenario is exploded class files and >> > archived >> > class files that I compile and jar the action and other class files into >> > it. >> > I was puzzled about this phenomenon >> > >> > so any suggestions and advices will be very appreciated! >> > >> > >
Re: an odd problem about struts2 annotation
I jar the classes and put it into WEB-INF/lib of course you know,the war will package all jars and jsp files in bundle why the struts2 can't scan classes in WEB-INF/lib? On Fri, Sep 30, 2011 at 10:05 AM, Steven Yang wrote: > sorry just to be clear > did you "jar" the classes or did you "war" the classes? > > if you "jar" the classes then i dont think struts 2 will scan your classes > in jars. > > On Thu, Sep 29, 2011 at 2:34 PM, dan.zheng wrote: > > > hi,everyone > > I meet an odd problem with struts2 annotation,Let me elaborate it first > > > > import java.util.List; > > > > import lombok.Getter; > > import lombok.Setter; > > > > import org.apache.commons.lang.StringUtils; > > import org.apache.struts2.ServletActionContext; > > import org.apache.struts2.convention.annotation.Action; > > import org.apache.struts2.convention.annotation.Result; > > import org.apache.struts2.convention.annotation.Results; > > import org.apache.struts2.interceptor.validation.SkipValidation; > > import org.springframework.beans.factory.annotation.Autowired; > > > > import com.dbappsecurity.portal.model.PortalUser; > > import com.dbappsecurity.portal.service.PortalUserService; > > import com.opensymphony.xwork2.ActionSupport; > > > > @Results({ > >@Result(name="input",location="main.jsp"), > >@Result(name="list",location="list.jsp") > > }) > > public class MainAction extends ActionSupport { > >@Getter @Setter private PortalUser user; > >@Autowired > >private PortalUserService portalUserService; > >public String execute() throws Exception { > >return INPUT; > >} > >@Action("addUser") > >public String addUser() throws Exception { > >portalUserService.addUser(user); > >return listUser(); > >} > >@Action("listUser") > >@SkipValidation > >public String listUser() throws Exception { > >List theUserList = portalUserService.getPortalUserList(null); > > > > ServletActionContext.getRequest().setAttribute("userList",theUserList); > >return "list"; > >} > >@Action("modifyUser") > >public String modifyUser() throws Exception { > >List theUserList = portalUserService.getPortalUserList(null); > > > > ServletActionContext.getRequest().setAttribute("userList",theUserList); > >return "list"; > >} > > > > this is the struts2 action class, I configure it correctly and type the > url > > http://domain/listUser it will list all users > > http://domain/modifyUser it can modify the users > > all things go well in tomcat with exploded class files > > > > but when I build with the war file and deploy it into tomcat webapp > folder, > > the page report > > there is no action name listUser > > the difference between the two scenario is exploded class files and > > archived > > class files that I compile and jar the action and other class files into > > it. > > I was puzzled about this phenomenon > > > > so any suggestions and advices will be very appreciated! > > >
Re: an odd problem about struts2 annotation
sorry just to be clear did you "jar" the classes or did you "war" the classes? if you "jar" the classes then i dont think struts 2 will scan your classes in jars. On Thu, Sep 29, 2011 at 2:34 PM, dan.zheng wrote: > hi,everyone > I meet an odd problem with struts2 annotation,Let me elaborate it first > > import java.util.List; > > import lombok.Getter; > import lombok.Setter; > > import org.apache.commons.lang.StringUtils; > import org.apache.struts2.ServletActionContext; > import org.apache.struts2.convention.annotation.Action; > import org.apache.struts2.convention.annotation.Result; > import org.apache.struts2.convention.annotation.Results; > import org.apache.struts2.interceptor.validation.SkipValidation; > import org.springframework.beans.factory.annotation.Autowired; > > import com.dbappsecurity.portal.model.PortalUser; > import com.dbappsecurity.portal.service.PortalUserService; > import com.opensymphony.xwork2.ActionSupport; > > @Results({ >@Result(name="input",location="main.jsp"), >@Result(name="list",location="list.jsp") > }) > public class MainAction extends ActionSupport { >@Getter @Setter private PortalUser user; >@Autowired >private PortalUserService portalUserService; >public String execute() throws Exception { >return INPUT; >} >@Action("addUser") >public String addUser() throws Exception { >portalUserService.addUser(user); >return listUser(); >} >@Action("listUser") >@SkipValidation >public String listUser() throws Exception { >List theUserList = portalUserService.getPortalUserList(null); > > ServletActionContext.getRequest().setAttribute("userList",theUserList); >return "list"; >} >@Action("modifyUser") >public String modifyUser() throws Exception { >List theUserList = portalUserService.getPortalUserList(null); > > ServletActionContext.getRequest().setAttribute("userList",theUserList); >return "list"; >} > > this is the struts2 action class, I configure it correctly and type the url > http://domain/listUser it will list all users > http://domain/modifyUser it can modify the users > all things go well in tomcat with exploded class files > > but when I build with the war file and deploy it into tomcat webapp folder, > the page report > there is no action name listUser > the difference between the two scenario is exploded class files and > archived > class files that I compile and jar the action and other class files into > it. > I was puzzled about this phenomenon > > so any suggestions and advices will be very appreciated! >
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
> Struts 2 plugin is only available in Ultimate Edition as it requires > Java EE/Web functionality. OK I have downloaded the package. meanwhil I could find "add framework support". One question: why is the plugin downloading struts itself again instead of using the libs from my maven repos? And why can't I choose a version number myself? What I not like at the moment (more related to IDEA) is the fact it creates an lib folder in my project folder and creates an out folder. Try to figure that out > > Regards, > Yann > > On 29 September 2011 10:50, Christian Grobmeier wrote: >> Looks pretty nice. >> >> Are the changes available in the community edition or is is ultimate >> version only? >> >> Cheers >> Christian >> >> On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron >> wrote: >>> Early Access Preview has started for the next major version of JetBrains >>> IntelliJ IDEA, and Struts 2 Plugin already has a lot of new features to >>> offer: >>> >>> * OGNL Language support >>> * Action class properties resolving, including refactoring >>> * Smart navigation actions (go from JSP<->Action<->struts.xml) >>> * Better integration of validation.xml files >>> * and much, much more >>> >>> Please find more details, links and screenshots here: >>> http://strutsidea.blogspot.com/2011/09/intellij-idea-11-nika-first-eap.html >>> >>> Looking forward to your feedback and comments, >>> >>> Yann >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> >> -- >> http://www.grobmeier.de >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- http://www.grobmeier.de - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: To create new session without invalidating existing one
On Thu, Sep 29, 2011 at 3:58 AM, Marcus Bond wrote: > What is the reason for the new session? Doesn't sound a great plan. > Anyway you're going to have a problem as this isn't how browsers expect to > work, that said Chrome allows incognito browsing so that might work but it > isn’t generally the expected behaviour. > > If the same application is being accessed from the same browser (Firefox, > Chrome, IE etc.) once a session is created then that is the same session > unless you destroy it. Your browser has a cookie with the jsessionid and > that cookie is for the site from that browser across all windows not per > browser window. > Marcus. > I should probably note that my suggestion for managing two sessions is really more like "reimplement session functionality manually", so it's not a very efficient course. Brian
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Even with the repricing? Will try it out. Have a couple of months left, I think. Using another ide after nearly 10 years feels like relocating to a new city, signing the contract for a new job and programming a different language all at one time. Cheers On Thu, Sep 29, 2011 at 11:44 AM, Maurizio Cucchiara wrote: > Ok, as I suspected: idea is free for apache (and generally for OS developer) > committers. > > Maurizio Cucchiara > > Il giorno 29/set/2011 11.12, "Christian Grobmeier" ha > scritto: > Hi, > > >> In the meanwhile that Yann answers your question, may I ask you why are > you >> so interested on CE... > to be honest, UE has a cost of 175 €. I am not sure if IDEA would help > me so much it is worth the money. You could say, then download the > trial, which I might do. But with my slow internet connection I try to > save every mb I can. > > Are you IDEA user? Happy? > > Cheers > Christian > > >> Maurizio Cucchiara >> >> >> On 29 September 2011 10:50, Christian Grobmeier > wr... > -- > > http://www.grobmeier.de > > - > To un... > -- http://www.grobmeier.de - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Ok, as I suspected: idea is free for apache (and generally for OS developer) committers. Maurizio Cucchiara Il giorno 29/set/2011 11.12, "Christian Grobmeier" ha scritto: Hi, > In the meanwhile that Yann answers your question, may I ask you why are you > so interested on CE... to be honest, UE has a cost of 175 €. I am not sure if IDEA would help me so much it is worth the money. You could say, then download the trial, which I might do. But with my slow internet connection I try to save every mb I can. Are you IDEA user? Happy? Cheers Christian > Maurizio Cucchiara > > > On 29 September 2011 10:50, Christian Grobmeier wr... -- http://www.grobmeier.de - To un...
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Hi, > In the meanwhile that Yann answers your question, may I ask you why are you > so interested on CE version? to be honest, UE has a cost of 175 €. I am not sure if IDEA would help me so much it is worth the money. You could say, then download the trial, which I might do. But with my slow internet connection I try to save every mb I can. Are you IDEA user? Happy? Cheers Christian > Maurizio Cucchiara > > > On 29 September 2011 10:50, Christian Grobmeier wrote: > >> Looks pretty nice. >> >> Are the changes available in the community edition or is is ultimate >> version only? >> >> Cheers >> Christian >> >> On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron >> wrote: >> > Early Access Preview has started for the next major version of JetBrains >> IntelliJ IDEA, and Struts 2 Plugin already has a lot of new features to >> offer: >> > >> > * OGNL Language support >> > * Action class properties resolving, including refactoring >> > * Smart navigation actions (go from JSP<->Action<->struts.xml) >> > * Better integration of validation.xml files >> > * and much, much more >> > >> > Please find more details, links and screenshots here: >> http://strutsidea.blogspot.com/2011/09/intellij-idea-11-nika-first-eap.html >> > >> > Looking forward to your feedback and comments, >> > >> > Yann >> > - >> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> > For additional commands, e-mail: user-h...@struts.apache.org >> > >> > >> >> >> >> -- >> http://www.grobmeier.de >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > -- http://www.grobmeier.de - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Q.E.D. >Struts 2 plugin is only available in Ultimate Edition as it requires >Java EE/Web functionality. Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Hi Christian, my guess is that this plugin works only on ultimate edition (j2ee tools are usually included on that). In the meanwhile that Yann answers your question, may I ask you why are you so interested on CE version? Maurizio Cucchiara On 29 September 2011 10:50, Christian Grobmeier wrote: > Looks pretty nice. > > Are the changes available in the community edition or is is ultimate > version only? > > Cheers > Christian > > On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron > wrote: > > Early Access Preview has started for the next major version of JetBrains > IntelliJ IDEA, and Struts 2 Plugin already has a lot of new features to > offer: > > > > * OGNL Language support > > * Action class properties resolving, including refactoring > > * Smart navigation actions (go from JSP<->Action<->struts.xml) > > * Better integration of validation.xml files > > * and much, much more > > > > Please find more details, links and screenshots here: > http://strutsidea.blogspot.com/2011/09/intellij-idea-11-nika-first-eap.html > > > > Looking forward to your feedback and comments, > > > > Yann > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > -- > http://www.grobmeier.de > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Thanks. Struts 2 plugin is only available in Ultimate Edition as it requires Java EE/Web functionality. Regards, Yann On 29 September 2011 10:50, Christian Grobmeier wrote: > Looks pretty nice. > > Are the changes available in the community edition or is is ultimate > version only? > > Cheers > Christian > > On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron > wrote: >> Early Access Preview has started for the next major version of JetBrains >> IntelliJ IDEA, and Struts 2 Plugin already has a lot of new features to >> offer: >> >> * OGNL Language support >> * Action class properties resolving, including refactoring >> * Smart navigation actions (go from JSP<->Action<->struts.xml) >> * Better integration of validation.xml files >> * and much, much more >> >> Please find more details, links and screenshots here: >> http://strutsidea.blogspot.com/2011/09/intellij-idea-11-nika-first-eap.html >> >> Looking forward to your feedback and comments, >> >> Yann >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > > -- > http://www.grobmeier.de > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: To create new session without invalidating existing one
What is the reason for the new session? Doesn't sound a great plan. Anyway you're going to have a problem as this isn't how browsers expect to work, that said Chrome allows incognito browsing so that might work but it isn’t generally the expected behaviour. If the same application is being accessed from the same browser (Firefox, Chrome, IE etc.) once a session is created then that is the same session unless you destroy it. Your browser has a cookie with the jsessionid and that cookie is for the site from that browser across all windows not per browser window. Marcus. -Original Message- From: Velmurugan M [mailto:velmurug...@gmail.com] Sent: 29 September 2011 09:23 To: Struts Users Mailing List Subject: Re: To create new session without invalidating existing one -Original Message- From: Brian Thompson Date: Thu, 29 Sep 2011 01:26:48 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: To create new session without invalidating existing one Well, first I'd suggest dropping the requirement for launching the new browser window. It's a pretty user-hostile way to program a site. "Hey, why'd my Back button stop working? Sigh, call IT again." That said, you could try launching the popup window with a URL on a different subdomain. That should keep the sessions separate from each other. Failing that, you'll have to build in some logic to manage two sessions with different keys for the session IDs. Regardless, I don't think it's really a Struts-level issue. Brian On Thu, Sep 29, 2011 at 1:02 AM, Ganesh wrote: > Hello all, > > We have a requirement to launch a new browser window with new session > but the exisiting session with parent browser should not be disturbed. > We tried couple of methods the new session is created but the existing > session is modified. Could some one throw me light on this. > > Regards > Ganesh > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access
Looks pretty nice. Are the changes available in the community edition or is is ultimate version only? Cheers Christian On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron wrote: > Early Access Preview has started for the next major version of JetBrains > IntelliJ IDEA, and Struts 2 Plugin already has a lot of new features to offer: > > * OGNL Language support > * Action class properties resolving, including refactoring > * Smart navigation actions (go from JSP<->Action<->struts.xml) > * Better integration of validation.xml files > * and much, much more > > Please find more details, links and screenshots here: > http://strutsidea.blogspot.com/2011/09/intellij-idea-11-nika-first-eap.html > > Looking forward to your feedback and comments, > > Yann > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- http://www.grobmeier.de - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: To create new session without invalidating existing one
-Original Message- From: Brian Thompson Date: Thu, 29 Sep 2011 01:26:48 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: To create new session without invalidating existing one Well, first I'd suggest dropping the requirement for launching the new browser window. It's a pretty user-hostile way to program a site. "Hey, why'd my Back button stop working? Sigh, call IT again." That said, you could try launching the popup window with a URL on a different subdomain. That should keep the sessions separate from each other. Failing that, you'll have to build in some logic to manage two sessions with different keys for the session IDs. Regardless, I don't think it's really a Struts-level issue. Brian On Thu, Sep 29, 2011 at 1:02 AM, Ganesh wrote: > Hello all, > > We have a requirement to launch a new browser window with new session but > the exisiting session with parent browser should not be disturbed. We tried > couple of methods the new session is created but the existing session is > modified. Could some one throw me light on this. > > Regards > Ganesh > >