You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(68) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(75) |
Feb
(84) |
Mar
(89) |
Apr
(96) |
May
(52) |
Jun
(73) |
Jul
(99) |
Aug
(46) |
Sep
(40) |
Oct
(46) |
Nov
(45) |
Dec
(25) |
2004 |
Jan
(13) |
Feb
(74) |
Mar
(40) |
Apr
(18) |
May
(31) |
Jun
(1) |
Jul
(16) |
Aug
(1) |
Sep
(21) |
Oct
(19) |
Nov
(10) |
Dec
(16) |
2005 |
Jan
(4) |
Feb
(12) |
Mar
(46) |
Apr
(33) |
May
(64) |
Jun
(1) |
Jul
(60) |
Aug
(31) |
Sep
(26) |
Oct
(24) |
Nov
(37) |
Dec
(10) |
2006 |
Jan
(3) |
Feb
(31) |
Mar
(122) |
Apr
(22) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(8) |
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(8) |
From: Brian G. <br...@qu...> - 2004-02-23 22:41:20
|
> > WebContext is gone; it was effectively no different > > from Context and > > just confusing. Replace it with Context. > >Gone? Where? I use it just about everywhere. >Besides, WebMacro.getWebContext() still returns a >WebContext. What's happening here? What's happening is: I AM A DOOFUS I mis-spoke, because this had all faded from memory and rather than look it up, just blathered the first crap that came to mind. To restate more correctly, WebContext is not gone -- the ability to RE-USE a WebContext is gone. So WebContext.newInstance is gone; uses of it should be replaced with the regular constructor, which is WebContext(broker, request, response) Rationale: Back in the Java 1.0 days, garbage collection was slow, and so frameworks like WM got big performance boosts by doing things like pooling and re-using objects. Well, garbage collection and allocation have gotten A LOT faster since than (as have processors), and tricks like this have gone from wins to losses. So all of the crap having to do with pooling and reusing contexts are gone. Context and friends are just allocated as needed. Use the constructors. -- Brian Goetz Quiotix Corporation br...@qu... Tel: 650-843-1300 Fax: 650-324-8032 http://www.quiotix.com |
From: <ja...@ya...> - 2004-02-23 22:22:20
|
> WebContext is gone; it was effectively no different > from Context and > just confusing. Replace it with Context. Gone? Where? I use it just about everywhere. Besides, WebMacro.getWebContext() still returns a WebContext. What's happening here? I've got stuff like: webContext.getRequest(); If WebContext is 'gone', how's Context going to do it? Rab ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
From: <Web...@St...> - 2004-02-23 19:46:22
|
On Mon, 23 Feb 2004, Keats wrote: | I totally agree, but adding deprecated signatures doesn't cost much and it | would point folks in the right direction. I hate deprecation. This is a major overhaul - remove the shit. Endre |
From: Brian G. <br...@qu...> - 2004-02-23 18:52:33
|
>I totally agree, but adding deprecated signatures doesn't cost much and it >would point folks in the right direction. For things that totally went away, like WM.destroy, I agree, it costs us little. But for thing like FastWriter, which were removed from the interface, we'd have to manufacture versions that do what the old versions did just to deprecate them. -- Brian Goetz Quiotix Corporation br...@qu... Tel: 650-843-1300 Fax: 650-324-8032 http://www.quiotix.com |
From: Keats <ke...@xa...> - 2004-02-23 17:25:25
|
I totally agree, but adding deprecated signatures doesn't cost much and it would point folks in the right direction. Keats ----- Original Message ----- From: "Brian Goetz" <br...@qu...> To: <web...@li...> Sent: Monday, February 23, 2004 10:49 AM Subject: Re: [WebMacro-user] ANNOUNCE: WebMacro 2.0b1 has been released > > Maybe we should deprecated rather than remove these methods to ease the > > transition? > > Perhaps, although perhaps it would be better to write a short (1 page) > transition guide. I expect that the porting required to move even the > most complicated app from WM 1.1 to 2.0 is, oh, ten minutes. > > > java.lang.NoSuchMethodError: org.webmacro.servlet.WebContext: method > > <init>(Lorg/webmacro/Broker;)V not found > > WebContext is gone; it was effectively no different from Context and > just confusing. Replace it with Context. > > > /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: > > 72: > > cannot resolve symbol > > [javac] symbol : constructor WebContext (org.webmacro.Broker) > > [javac] location: class org.webmacro.servlet.WebContext > > [javac] _webContext = new WebContext(_wm.getBroker()); > > _wm.getContext() > > > [javac] location: interface org.webmacro.WebMacro > > [javac] _wm.destroy(); > > WM is now garbage collected, delete this line. > > > /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: > > 151: > > cannot resolve symbol > > [javac] symbol : method write > > (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) > > [javac] location: interface org.webmacro.Template > > [javac] t.write(fw, c); > > FastWriter has been removed from the interface. t.write now takes an > OutputStream instead of a FastWriter. > > > So I guess Melati will be sticking with 1.1 > > Or you could spent ten minutes and port to 2.0. > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Brian G. <br...@qu...> - 2004-02-23 15:57:08
|
> Maybe we should deprecated rather than remove these methods to ease the > transition? Perhaps, although perhaps it would be better to write a short (1 page) transition guide. I expect that the porting required to move even the most complicated app from WM 1.1 to 2.0 is, oh, ten minutes. > java.lang.NoSuchMethodError: org.webmacro.servlet.WebContext: method > <init>(Lorg/webmacro/Broker;)V not found WebContext is gone; it was effectively no different from Context and just confusing. Replace it with Context. > /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: > 72: > cannot resolve symbol > [javac] symbol : constructor WebContext (org.webmacro.Broker) > [javac] location: class org.webmacro.servlet.WebContext > [javac] _webContext = new WebContext(_wm.getBroker()); _wm.getContext() > [javac] location: interface org.webmacro.WebMacro > [javac] _wm.destroy(); WM is now garbage collected, delete this line. > /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: > 151: > cannot resolve symbol > [javac] symbol : method write > (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) > [javac] location: interface org.webmacro.Template > [javac] t.write(fw, c); FastWriter has been removed from the interface. t.write now takes an OutputStream instead of a FastWriter. > So I guess Melati will be sticking with 1.1 Or you could spent ten minutes and port to 2.0. |
From: Keats <ke...@xa...> - 2004-02-23 15:44:13
|
Maybe we should deprecated rather than remove these methods to ease the transition? Keats ----- Original Message ----- From: "Tim Pizey" <ti...@pa...> To: <web...@li...> Sent: Saturday, February 21, 2004 6:22 AM Subject: Re: [WebMacro-user] ANNOUNCE: WebMacro 2.0b1 has been released On Sunday 15 February 2004 8:40 pm, Eric Ridge wrote: > It's been a long time coming, but it is finally here. We are pleased > to announce that WebMacro 2.0b1 has been released! > > Please download it (http://www.webmacro.org/DownloadWebMacro) and help > us test! The Melati Admin system works, unrecompiled, with webmacro-minimal-2.0b1.jar however with webmacro-classic-2.0b1.jar produces the following 10:12:23 AM broker NOTICE starting org.webmacro.Broker: WebMacro.properties 10:12:23 AM broker NOTICE Loaded settings from WebMacro.defaults, WebMacro.properties, (System Properties) 10:12:23 AM wm NOTICE new WebMacro(WebMacro.properties) v2.0b1 java.lang.NoSuchMethodError: org.webmacro.servlet.WebContext: method <init>(Lorg/webmacro/Broker;)V not found at org.apache.jserv.JServServletManager.load_init(JServServletManager.java:589) at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:49 8) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:269) at org.apache.jserv.JServConnection.run(JServConnection.java:188) at java.lang.Thread.run(Thread.java:534) In fact both jars break org.melati.test.WebmacroStandalone > > Thanks for your support and time. > > eric > > - Some small signature changes to methods require you to recompile > source code which imports files from webmacro.jar Tried to recompile and got this: [javac] /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: 72: cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext = new WebContext(_wm.getBroker()); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: 87: cannot resolve symbol [javac] symbol : method destroy () [javac] location: interface org.webmacro.WebMacro [javac] _wm.destroy(); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: 126: cannot resolve symbol [javac] symbol : method newInstance (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletRespons e) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext c = _webContext.newInstance(req,resp); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.java: 151: cannot resolve symbol [javac] symbol : method write (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) [javac] location: interface org.webmacro.Template [javac] t.write(fw, c); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/test/WebmacroMelatiServletTes t.java:92: cannot resolve symbol [javac] symbol : method write (org.webmacro.FastWriter,org.webmacro.Context) [javac] location: interface org.webmacro.Template [javac] template.write(fmw.getPeer(), context2); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTem plate.java:79: cannot resolve symbol [javac] symbol : method write (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) [javac] location: interface org.webmacro.Template [javac] template.write(fw, (WebContext)templateContext.getContext()); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTem plateEngine.java:91: cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext = new WebContext(wm.getBroker()); [javac] ^ [javac] /usr/local/packages/dist/melati/src/org/melati/template/webmacro/WebmacroTem plateEngine.java:105: cannot resolve symbol [javac] symbol : method newInstance (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletRespons e) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext wc = _webContext.newInstance(melati.getRequest(), [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 8 errors BUILD FAILED So I guess Melati will be sticking with 1.1 yours Tim Pizey ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ Webmacro-user mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: <Web...@St...> - 2004-02-23 12:19:39
|
On Wed, 11 Feb 2004, Rab Wallace wrote: | > even if the folks out there are not a huge, | > screaming mob. | | We can scream if it helps ;-) Yell, even..! Endre |
From: Tim P. <ti...@pa...> - 2004-02-21 11:31:43
|
On Sunday 15 February 2004 8:40 pm, Eric Ridge wrote: > It's been a long time coming, but it is finally here. We are pleased > to announce that WebMacro 2.0b1 has been released! > > Please download it (http://www.webmacro.org/DownloadWebMacro) and help > us test! The Melati Admin system works, unrecompiled, with webmacro-minimal-2.0b1.= jar however with webmacro-classic-2.0b1.jar produces the following=20 10:12:23 AM broker NOTICE starting org.webmacro.Broker:=20 WebMacro.properties 10:12:23 AM broker NOTICE Loaded settings from WebMacro.defaults,=20 WebMacro.properties, (System Properties) 10:12:23 AM wm NOTICE new WebMacro(WebMacro.properties) v2.0b1 java.lang.NoSuchMethodError: org.webmacro.servlet.WebContext: method=20 <init>(Lorg/webmacro/Broker;)V not found at=20 org.apache.jserv.JServServletManager.load_init(JServServletManager.java:5= 89) at=20 org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java= :498) at=20 org.apache.jserv.JServConnection.processRequest(JServConnection.java:269) at org.apache.jserv.JServConnection.run(JServConnection.java:188) at java.lang.Thread.run(Thread.java:534) In fact both jars break org.melati.test.WebmacroStandalone > > Thanks for your support and time. > > eric > > - Some small signature changes to methods require you to recompile > source code which imports files from webmacro.jar Tried to recompile and got this: [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.ja= va:72:=20 cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext =3D new WebContext(_wm.getBroker()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.ja= va:87:=20 cannot resolve symbol [javac] symbol : method destroy () [javac] location: interface org.webmacro.WebMacro [javac] _wm.destroy(); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.ja= va:126:=20 cannot resolve symbol [javac] symbol : method newInstance=20 (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResp= onse) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext c =3D _webContext.newInstance(req,resp= ); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalone.ja= va:151:=20 cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) [javac] location: interface org.webmacro.Template [javac] t.write(fw, c); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroMelatiServlet= Test.java:92:=20 cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.Context) [javac] location: interface org.webmacro.Template [javac] template.write(fmw.getPeer(), context2); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Webmacro= Template.java:79:=20 cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.servlet.WebContext) [javac] location: interface org.webmacro.Template [javac] template.write(fw,=20 (WebContext)templateContext.getContext()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Webmacro= TemplateEngine.java:91:=20 cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext =3D new WebContext(wm.getBroker()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Webmacro= TemplateEngine.java:105:=20 cannot resolve symbol [javac] symbol : method newInstance=20 (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResp= onse) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext wc =3D _webContext.newInstance(melati.getReque= st(), [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 8 errors BUILD FAILED So I guess Melati will be sticking with 1.1 yours Tim Pizey |
From: Lars G. <la...@wo...> - 2004-02-21 02:24:26
|
Hi Keats, Yes it does. I got confused with the getProperty() call, but I now understand that it returns the context tool itself which in case of the SessionTool is the HttpSession itself. Cool. Thanks, Lars ----- Original Message ----- From: "Keats" <ke...@xa...> To: <web...@li...> Sent: Saturday, February 21, 2004 8:13 AM Subject: Re: [WebMacro-user] WebContext.getSession() vs. Request().getSession > Hey Lars, > > WebContext.getSession() is just a convenience method that is equivalent to > Request.getSession(). > > Calling getProperty("Session") will return the Session which is provided > (lazily) by the SessionTool. > > Hope this clears it up for you. > > Keats > > ----- Original Message ----- > From: "Lars George" <la...@wo...> > To: <web...@li...> > Sent: Wednesday, February 18, 2004 5:52 PM > Subject: [WebMacro-user] WebContext.getSession() vs. Request().getSession > > > > Hi, > > > > I am just wondering what the difference is between: > > > > A) WebContext.getSession() > > > > and > > > > B) WebContext.getRequest().getSession() > > > > See, A uses this: > > > > return (HttpSession) getProperty("Session"); > > > > Now, I searched everywhere in the v1.1 source and settings file and I > cannot > > see where that property is actually set. Even the SessionTool uses variant > B > > above. > > > > Do you know? > > > > Thanks, > > Lars > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Webmacro-user mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Keats <ke...@xa...> - 2004-02-20 22:19:58
|
Hey Lars, WebContext.getSession() is just a convenience method that is equivalent to Request.getSession(). Calling getProperty("Session") will return the Session which is provided (lazily) by the SessionTool. Hope this clears it up for you. Keats ----- Original Message ----- From: "Lars George" <la...@wo...> To: <web...@li...> Sent: Wednesday, February 18, 2004 5:52 PM Subject: [WebMacro-user] WebContext.getSession() vs. Request().getSession > Hi, > > I am just wondering what the difference is between: > > A) WebContext.getSession() > > and > > B) WebContext.getRequest().getSession() > > See, A uses this: > > return (HttpSession) getProperty("Session"); > > Now, I searched everywhere in the v1.1 source and settings file and I cannot > see where that property is actually set. Even the SessionTool uses variant B > above. > > Do you know? > > Thanks, > Lars > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: <wan...@ya...> - 2004-02-20 01:37:58
|
Dear Lane, Thank you so much. Your words are rather clear. Best wishes! Zhong > the above requirement is independent of WebMacro as > far as I can glean. > WebMacro, for example, does not cache indefinitely > stale templates. In > fact, I have in WEB-INF/classes/includes a directory > of templates which > I routinely update using rsync. I never have to > bounce Tomcat, the > servlet container. So, if your concern is about > template reloading, that > problem was solved about 4 years ago. As to > reloading a jar in > WEB-INF/lib, I believe that is controllable by the > servlet container and > it will, if configured, reload all your servlets and > attempt to > serialize and then deserialize your sessions as > well. That bit me. > > kindest, > > -- > Lane Sharman > For Protection from SPAM and Virus, > Extend to the Network Your Perimeter of Defense: > http://www.opendoors.com > 858-755-2868 _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |
From: Lane S. <la...@op...> - 2004-02-19 20:30:41
|
Zhong Wang wrote: >Great! Lane, it's what I want to express: >organizational and mapping issue. The only difference >is that the module .jar file perhaps is not put in >/web-inf/lib/ directory, maybe any other place under >WEB-INF directory, and I can load it dynamicly at run >time. > >Now, can you tell me if such an orgnization and >mapping can be done with current release of webmacro? > > > the above requirement is independent of WebMacro as far as I can glean. WebMacro, for example, does not cache indefinitely stale templates. In fact, I have in WEB-INF/classes/includes a directory of templates which I routinely update using rsync. I never have to bounce Tomcat, the servlet container. So, if your concern is about template reloading, that problem was solved about 4 years ago. As to reloading a jar in WEB-INF/lib, I believe that is controllable by the servlet container and it will, if configured, reload all your servlets and attempt to serialize and then deserialize your sessions as well. That bit me. kindest, -- Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |
From: <wan...@ya...> - 2004-02-19 01:41:54
|
Great! Lane, it's what I want to express: organizational and mapping issue. The only difference is that the module .jar file perhaps is not put in /web-inf/lib/ directory, maybe any other place under WEB-INF directory, and I can load it dynamicly at run time. Now, can you tell me if such an orgnization and mapping can be done with current release of webmacro? Thank you so much, Yours, Zhong --- Lane Sharman <la...@op...> 的正文:> Hi Zhong, > > Yes. This makes complete sense. And, this is the > architecture of > Ignition written by the illustrious Marc Palmer, a > wm contributor. > > It is more of an organizational and mapping issue > now: > > /webApps/Foundation > /module1 > /web-inf/lib/module1.jar > /module2 > /web-inf/lib/module2.jar > > Won't this kind of a web app layout work for you? > > -Lane > _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |
From: Lars G. <la...@wo...> - 2004-02-18 23:00:33
|
Hi, I am just wondering what the difference is between: A) WebContext.getSession() and B) WebContext.getRequest().getSession() See, A uses this: return (HttpSession) getProperty("Session"); Now, I searched everywhere in the v1.1 source and settings file and I cannot see where that property is actually set. Even the SessionTool uses variant B above. Do you know? Thanks, Lars |
From: Lane S. <la...@op...> - 2004-02-18 15:05:04
|
Hi Zhong, Yes. This makes complete sense. And, this is the architecture of Ignition written by the illustrious Marc Palmer, a wm contributor. It is more of an organizational and mapping issue now: /webApps/Foundation /module1 /web-inf/lib/module1.jar /module2 /web-inf/lib/module2.jar Won't this kind of a web app layout work for you? -Lane Zhong Wang wrote: >Thank you, Lane > > But I think your method is not ideal for me. Cos >tomcat treats each .jar and .war file under webapps as >an independent appication (and .war is more standard). > > What I want to do is to seperate one application >into many parts, each part is a .jar file. For >example, I constructed a basic application with some >business functionalities, and sell it to one company. >After several months, the company presents new >requirement, and need to add another functionality >(another module, independent on other modules but >dependent on the basic layer). Then I can easily give >them a .jar file, and let them put it on the plug-in >directory. And all are ok. > =20 > Does this idea make sense? > Thank you, > Zhong > > --- Lane Sharman <la...@op...> =B5=C4=D5=FD=CE=C4=A3=BA> My >first blush tells me to use the webapp container > =20 > >>standard: >> >>webapps/webApp_ABC.jar >>webapps/webApp_EFG.jar >>... >>webapps/webApp_XYZ.jar >> >>Then, any request, to host://webApp_{ID}/resource >> >>will get fulfilled. Again, I spent about 2 seconds >>on this idea.... >> >>-Lane >> >> =20 >> > > >_________________________________________________________ >Do You Yahoo!?=20 >=CD=EA=C8=AB=C3=E2=B7=D1=B5=C4=D1=C5=BB=A2=B5=E7=D3=CA=A3=AC=C2=ED=C9=CF= =D7=A2=B2=E1=BB=F1=D4=F9=B6=EE=CD=E260=D5=D7=CD=F8=C2=E7=B4=E6=B4=A2=BF=D5= =BC=E4 >http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > =20 > --=20 Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |
From: <wan...@ya...> - 2004-02-18 01:46:59
|
Thank you, Lane But I think your method is not ideal for me. Cos tomcat treats each .jar and .war file under webapps as an independent appication (and .war is more standard). What I want to do is to seperate one application into many parts, each part is a .jar file. For example, I constructed a basic application with some business functionalities, and sell it to one company. After several months, the company presents new requirement, and need to add another functionality (another module, independent on other modules but dependent on the basic layer). Then I can easily give them a .jar file, and let them put it on the plug-in directory. And all are ok. Does this idea make sense? Thank you, Zhong --- Lane Sharman <la...@op...> 的正文:> My first blush tells me to use the webapp container > standard: > > webapps/webApp_ABC.jar > webapps/webApp_EFG.jar > ... > webapps/webApp_XYZ.jar > > Then, any request, to host://webApp_{ID}/resource > > will get fulfilled. Again, I spent about 2 seconds > on this idea.... > > -Lane > _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |
From: Lane S. <la...@op...> - 2004-02-17 17:32:41
|
My first blush tells me to use the webapp container standard: webapps/webApp_ABC.jar webapps/webApp_EFG.jar ... webapps/webApp_XYZ.jar Then, any request, to host://webApp_{ID}/resource will get fulfilled. Again, I spent about 2 seconds on this idea.... -Lane Zhong Wang wrote: >Sorry, I forget to attach the .dia file. > > > > --- Zhong Wang <wan...@ya...> >???:> Hello, everybody > > >>I need to implement such a web-plugin framework as >>in >>the attachment (a .dia file, hope you also use linux >>and dia). >> >>Let me explain my idea: I packed related >>resources--class,html,.wm,config.xml etc. into >>several >>.jar file, each one implement a specific business >>model. And then, when a http request arrives, the >>controller servlet will parse the URL and decide >>which >>.jar file can fullfit the request, and dispatch the >>request to this .jar file. Each .jar file contains a >>file named ActionDispatcher, it will parse the URL >>further and decide wich action should be called, >>then >>the correct action will return the correct .wm >>content >>to the client. >> >>How to implement it? >> >>Thank you, >>Zhong >> >> >> > >_________________________________________________________ >Do You Yahoo!? >?????????,????????60??????? >http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com > > -- Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |
From: <wan...@ya...> - 2004-02-17 01:21:34
|
Sorry, I forget to attach the .dia file. --- Zhong Wang <wan...@ya...> 的正文:> Hello, everybody > > I need to implement such a web-plugin framework as > in > the attachment (a .dia file, hope you also use linux > and dia). > > Let me explain my idea: I packed related > resources--class,html,.wm,config.xml etc. into > several > .jar file, each one implement a specific business > model. And then, when a http request arrives, the > controller servlet will parse the URL and decide > which > .jar file can fullfit the request, and dispatch the > request to this .jar file. Each .jar file contains a > file named ActionDispatcher, it will parse the URL > further and decide wich action should be called, > then > the correct action will return the correct .wm > content > to the client. > > How to implement it? > > Thank you, > Zhong > _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |
From: <wan...@ya...> - 2004-02-17 01:05:41
|
Hello, everybody I need to implement such a web-plugin framework as in the attachment (a .dia file, hope you also use linux and dia). Let me explain my idea: I packed related resources--class,html,.wm,config.xml etc. into several .jar file, each one implement a specific business model. And then, when a http request arrives, the controller servlet will parse the URL and decide which .jar file can fullfit the request, and dispatch the request to this .jar file. Each .jar file contains a file named ActionDispatcher, it will parse the URL further and decide wich action should be called, then the correct action will return the correct .wm content to the client. How to implement it? Thank you, Zhong _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |
From: Lane S. <la...@op...> - 2004-02-16 21:24:08
|
thanks. Tim Pizey wrote: >Hi Lane, > >On Sunday 15 February 2004 1:18 am, Lane Sharman wrote: > > >>Greetings, >> >>http://www.webmacro.org/BlockLevelExpressionism >> >> >I caught a few typos, not sure about: > >"only possible with WM because it represents a kind of neural, linguistic >layer" > > >cheers >timp > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id56&alloc_id438&op=click >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |
From: Tim P. <ti...@pa...> - 2004-02-16 21:17:29
|
On Monday 16 February 2004 3:05 pm, Zhong Wang wrote: > Can anybody help me to take the mail back? Similarly, I am forever posting as timpATpaneris.org,=20 when I am subscribed as timATpaneris.co.uk When I get the moderator message I resend as the correct address It would be good if the moderator message gave the option of cancelling=20 it woudl also be good if the headers were set up such that=20 my mail client selected the right identity when I replied,=20 which does happen for me on some lists..... cheers timp |
From: Tim P. <ti...@pa...> - 2004-02-16 21:14:02
|
Hi Lane,=20 On Sunday 15 February 2004 1:18 am, Lane Sharman wrote: > Greetings, > > http://www.webmacro.org/BlockLevelExpressionism I caught a few typos, not sure about: "only possible with WM because it represents a kind of neural, linguistic= =20 layer" cheers timp |
From: Eric R. <eb...@tc...> - 2004-02-16 16:42:24
|
On Feb 16, 2004, at 10:05 AM, Zhong Wang wrote: > Hello, > > I post an mail the day before yesterday, but I > received a letter from > web...@li...: <snip> > The reason it is being held: > > Message body is too big: 50175 bytes but there's a > limit of 40 KB Your message was too big. 40k is the limit. Make it smaller and send again. :) eric > > Either the message will get posted to the list, or you > will receive > notification of the moderator's decision. > <<<<<<<<<<< > > > Can anybody help me to take the mail back? > Thank you very much. > Yours, > Zhong > > > _________________________________________________________ > Do You Yahoo!? > 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 > http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: <wan...@ya...> - 2004-02-16 15:09:34
|
Hello, I post an mail the day before yesterday, but I received a letter from web...@li...: >>>>>>>>> Your mail to 'Webmacro-user' with the subject Can I implement such a web-plugin system using webmacro? Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 50175 bytes but there's a limit of 40 KB Either the message will get posted to the list, or you will receive notification of the moderator's decision. <<<<<<<<<<< Can anybody help me to take the mail back? Thank you very much. Yours, Zhong _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |