Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
after testing. that CDI plugin can work on Glassfish4.1.1 and wildly 10 so, I think it will be better to it thanks everyone Mike > 在 2016年3月9日,上午10:50,Mike Guo 写道: > > Hi, Martin. > > > thanks for your example. > > I guess it is not code in struts? is it spr

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
for this. really thanks Martin and Paul. Mike > 在 2016年3月9日,上午9:13,Martin Gainty 写道: > > > > >> From: hongw...@163.com >> Subject: Re: how to use ejb 3.1/3.2 in struts2? >> Date: Wed, 9 Mar 2016 06:38:39 +0800 >> To: user@struts.apache.org >>

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
Hi, Paul Thanks your response, yes. I used ee 7, would you share with me some examples? Thanks Mike Sent from my iPhone > 在 2016年3月8日,23:50,Paul Benedict 写道: > > Are you using an EE 7 server? I believe 7 integrates CDI and EJB so you can > @Inject your remote bean interfac

how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
into action class. but if I want to inject a remote EJB interface, I think it is not work. also, some one said use JNDI lookup , I suppose it can get it done. but I think it is very ugly way for it. is there any better solution for this? any comments? Many many thanks Mike

Re: Jodd/Madvoc MVC framework

2016-01-26 Thread Mike Guo
That's true.;) 发自我的 iPhone > 在 2016年1月27日,10:47,Dave Newton 写道: > > No issue in the sense of it working or not. > > *My* issue with strings is that it completely ignores the type system, such > as it is, that Java gives us. > >> On Tue, Jan 26,

Re: Jodd/Madvoc MVC framework

2016-01-26 Thread Mike Guo
I saw your guys already have many emails about the result string, but I think it is ok, just a little curious, any issue when we use string result? Thanks Mike > 在 2016年1月26日,22:44,Lukasz Lenart 写道: > > Such functionality is already supported, you can return an instance

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-24 Thread Mike Guo
hi, thanks for your response. I got this solved . here’s the article I searched, it can explain why and how about this thing. http://www.oracle.com/technetwork/articles/javase/headless-136834.html thanks again Mike.G

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
and I think the finally answer is here: http://www.oracle.com/technetwork/articles/javase/headless-136834.html <http://www.oracle.com/technetwork/articles/javase/headless-136834.html> just for record. Mike.G > 在 2015年9月24日,12:05,Mike Guo 写道: > > ok, finally, I got the so

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
ok, finally, I got the solution for this one. although I don’t know why. I just add one java param in here: java -Djava.awt.headless=true then it will be gone. thanks Mike.G > 在 2015年9月24日,12:02,Mike Guo 写道: > > ok, I just found it is not related with tomcat or struts. >

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
(); System.out.println(Arrays.toString(writerFormatNames)); } } and it will start the Bootstrap too. so, look like it is belong to JDK part. but I don’t understand it still. is there anyone can share some tips to me? thanks so much Mike.G > 在 2015年9月24日,11:32,Mike Guo 写道: > &g

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
Anyone? Please. 发自我的 iPhone > 在 2015年9月24日,02:15,Mike Guo 写道: > > Hi. all. > > I got a very strange issues. > > I tried to generate dynamic check code by struts2. so, I used buffered image > and javax.imageio for a byteinputstream in my Action. > > look li

what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
Hi. all. I got a very strange issues. I tried to generate dynamic check code by struts2. so, I used buffered image and javax.imageio for a byteinputstream in my Action. look like the function work fine. but strange thing is: every time when I access that dynamic check code action. system wil

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-03 Thread bavon mike
The actual problem was that struts 2.3.20 has some logging issues with wildfly(doesnt log anything at runtime)..i just downgraded it to 2.3.16.3 and i was able to trace the error On Mon, Mar 2, 2015 at 12:53 PM, Lukasz Lenart wrote: > 2015-03-02 10:44 GMT+01:00 bavon mike : > >

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
:05 PM, Lukasz Lenart wrote: > You are mixing CDI and Spring - you should use just one DI > > 2015-03-02 7:32 GMT+01:00 bavon mike : > > I am trying to configure spring plugin with strut 2 application, which is > > already running with convention plugin, so am using annotation

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
.apache.org/confluence/display/WW/Spring+Plugin > > > # > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > > 2015-03-02 7:32 GMT+01:00 bavon mike : > > > I am trying to configure spring plugin with strut

How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread bavon mike
I am trying to configure spring plugin with strut 2 application, which is already running with convention plugin, so am using annotations. Am using ExtJs for my form submission which was initially working well until i introduced the spring plugin, now the the ajax request cannot locate the actions

How do i prevent Struts 2 json plugin from escaping already formated json?

2015-02-18 Thread bavon mike
e description\"} How do i configure struts 2 plugin to avoid this escaping? Regards Mike

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Mike Hao
e characters user typed in. I actually tried this several months ago, and could not get it working. So, I gave it up. Now, I came back again, since I have to. Regards, Mike On Wed, May 29, 2013 at 2:39 PM, Dave Newton wrote: > I'd just try it; seems like `list` would be for immediate data (e

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Mike Hao
Hi Antonios, Thank you so much for your response. I was actually keep reading the wiki these days, but I am still not able to get what I expected. For , can these two attribute "list" and "href" used together? Thanks, Mike On Wed, May 29, 2013 at 4:13 AM, Antonios Gko

Struts 2 jQuery autocompleter and dynamic list

2013-05-28 Thread Mike Hao
find such an example in showcase. Thanks, Mike

Re: struts 2 ajax choice

2013-05-13 Thread Mike Hao
Hi Dave, Thank you so much for your quick response and your explanations. Regards, Mike On Mon, May 13, 2013 at 6:03 PM, Dave Newton wrote: > On Mon, May 13, 2013 at 5:56 PM, Mike Hao wrote: > > > Will the S2 jQuery plugin provide the similar functions as S2 dojo > plugin? &

Re: struts 2 ajax choice

2013-05-13 Thread Mike Hao
Will the S2 jQuery plugin provide the similar functions as S2 dojo plugin? Is S2 jQuery plugin maintained by Struts 2 team? I am using Dojo plugin right now, and it works pretty well. Could anyone give me explanation why S2 Dojo plugin get deprecated? Thanks, Mike On Mon, May 13, 2013 at 5:48

Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

2012-08-13 Thread Mike Esler
I've tried on Tomcat 6 and 7, both on JDK 1.6.0_33 on Win7 64-bit. Here is the message I get on the default /orders request: There is no Action mapped for namespace / and action name orders. If anyone could point me in the right direction, I would be most grateful. Regards, Mike Reques

RE: Any way to load resources in java.util.ResourceBundle

2010-07-16 Thread Mike Fotiou
Yes, kind of. I'm using Freemarker. There is a master template that all other pages extend, if you will, so the i18n tag encompasses the entire content page and only has to be defined once. Anything included within that tag will use the specified resource bundle. Mike -Ori

RE: Any way to load resources in java.util.ResourceBundle

2010-07-16 Thread Mike Fotiou
a resource bundle on their own. During development, I wanted to be able to reload the language tables easily. Note that for other languages you must make "shell" bundles like DataResourceBundle_fr which simply extends DataResourceBundle and sets the getLocale() method appropriatel

S Mike Pradaxay/0A/Caterpillar is out of the office.

2009-12-17 Thread S Mike Pradaxay
I will be out of the office starting 12/17/2009 and will not return until 01/04/2010. I'll respond to your message upon my return. Thanks! - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

RE: Inline downloading of file with Struts 1.2

2009-11-03 Thread Mike Baranski
>-Original Message- >From: Daniele Development-ML [mailto:daniele@googlemail.com] >Sent: Tuesday, November 03, 2009 8:58 AM >To: Struts Users Mailing List >Subject: Re: Inline downloading of file with Struts 1.2 > >Hello, > >I was wondering if any of the more experience people have su

RE: Adding Json to existing action

2009-10-27 Thread Mike Baranski
I do this to pass parameters, using prototype js: >-Original Message- >From: Struts Two [mailto:struts...@y

RE: Show jsps from different directories based on "theme"

2009-10-21 Thread Mike Baranski
>> > If you're using S2, you could always return the 'theme1' or 'theme2' >result in >> your action class and have the mapping for it. >> >> That's absolutely a disgusting idea, think about 10 themes, and add to >> that user installable themes... >> >> A switch() at end of each of the action method

Show jsps from different directories based on "theme"

2009-10-20 Thread Mike Baranski
So, I want to ship 2 versions (or more) of my views. The will be in /pages/jsps/theme1/x.jsp and /pages/jsps/theme2/x.jsp I want the user to be allowed to set the theme, and my result tag in the xml be something like: /pages/jsps/{selected_theme}/x.jsp Can I do that?

RE: How to get value of tag attribute from OGNL?

2009-10-13 Thread Mike Baranski
Why not use this? http://struts.apache.org/2.1.6/docs/set.html >-Original Message- >From: Alex Siman [mailto:aleksandr.si...@gmail.com] >Sent: Tuesday, October 13, 2009 9:25 AM >To: user@struts.apache.org >Subject: Re: How to get value of tag attribute from OGNL? > > >OK, I figured out how

RE: Do something based on existence of action error - How?

2009-10-09 Thread Mike Baranski
I put the following in a DIV at the top of every page: <%@ taglib prefix="s" uri="/struts-tags" %>

RE: Custom Property Tag

2009-10-06 Thread Mike Baranski
if you plan to use >Freemarker, you'll have to create a freemarker template manager (which >is pretty simple, check the source of the bean that the >struts-default.xml defines for an example). > >-Wes > >On Tue, Oct 6, 2009 at 10:36 AM, Mike Baranski > wrote: >> I need

Custom Property Tag

2009-10-06 Thread Mike Baranski
er nothing I cannot figure out how exactly to get the user object on the value stack, and which file contains the property tag implementation. Could someone suggest where to start? Thanks, Mike. - To unsubscribe, e-mail: use

RE: Create new theme in struts Tutorial

2009-10-01 Thread Mike Baranski
This should get you started, it took me forever to figure it all out... http://mikeski.net/site/node/16 >-Original Message- >From: Eduard Neuwirt [mailto:eduard.neuw...@googlemail.com] >Sent: Wednesday, September 30, 2009 3:33 PM >To: Struts Users Mailing List >Subject: Re: Create new the

RE: Interceptor IOC with Spring

2009-09-24 Thread Mike Baranski
second bean with a more typical name, referring >to >the same class and add a mutator for it to your interceptor. See if >that >one gets injected, but not the original. > (*Chris*) > >On Thu, Sep 24, 2009 at 8:54 AM, Mike Baranski < >list-subscripti...@secmgmt.com> w

RE: Interceptor IOC with Spring

2009-09-24 Thread Mike Baranski
C with Spring > >The only other difference I can see between my (working) example and >yours >is that I used the shortcut > > > >I don't know if there's a difference under the covers or not. > >Also, is the intercept method of your interceptor being called? &g

RE: Interceptor IOC with Spring

2009-09-24 Thread Mike Baranski
ay, September 24, 2009 11:29 AM >To: Struts Users Mailing List >Subject: Re: Interceptor IOC with Spring > >What do you have default-autowire set to in your applicationContext.xml? > (*Chris*) > >On Thu, Sep 24, 2009 at 8:08 AM, Mike Baranski < >list-subscripti...@secm

RE: Interceptor IOC with Spring

2009-09-24 Thread Mike Baranski
nterceptor have *other* beans injected just fine. Can someone point out where I'm going wrong (I'm sure it's something stupid). Thanks! >-Original Message- >From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] >Sent: Wednesday, September 23, 2009 2:17 PM &g

RE: Interceptor IOC with Spring

2009-09-23 Thread Mike Baranski
>> >>> And at the top of my applicationContext.xml I have: >>> >>> >>> >>> And my Interceptors are getting injected just fine.  On another >project, I >>> have autowiring turned off, but then you have to define each >interceptor as &g

RE: Interceptor IOC with Spring

2009-09-23 Thread Mike Baranski
ptor IOC with Spring > >interceptors and results do net get dependencies injected. If you >implement BeanFactoryAware, or ApplicationContextAware it will pass >you the bean factory or the context. I will take a look at this, as it >has been bothering me for a while. > >musachy > >

Interceptor IOC with Spring

2009-09-23 Thread Mike Baranski
Correct me if I'm wrong, please, but if I have an interceptor, it should get injected by spring. I have a bean I'm expecting, the set method written, and the bean defined in applicationContext. My main struts.xml has: My setter is not getting called, is there anything else I need to do? M.

RE: Calling an "init" method on an interceptor

2009-09-17 Thread Mike Baranski
>-Original Message- >From: Marty Milligan [mailto:milligansisl...@gmail.com] >Sent: Thursday, September 17, 2009 2:16 PM >To: Struts Users Mailing List >Subject: Re: Calling an "init" method on an interceptor > >On Thu, Sep 17, 2009 at 1:03 PM, Mike Bara

RE: Calling an "init" method on an interceptor

2009-09-17 Thread Mike Baranski
>-Original Message- >From: Marty Milligan [mailto:milligansisl...@gmail.com] >Sent: Thursday, September 17, 2009 11:43 AM >To: Struts Users Mailing List >Subject: Re: Calling an "init" method on an interceptor > >On Thu, Sep 17, 2009 at 10:19 AM, Mike B

RE: Calling an "init" method on an interceptor

2009-09-17 Thread Mike Baranski
09 4:12 PM >To: Struts Users Mailing List >Subject: Re: Calling an "init" method on an interceptor > >Mike Baranski wrote: >> I'm using Spring IOC, and need struts to call an init() method on an >> interceptor *after* spring does its injection. > >If y

Calling an "init" method on an interceptor

2009-09-16 Thread Mike Baranski
I'm using Spring IOC, and need struts to call an init() method on an interceptor *after* spring does its injection. Can someone help, I'm stumped... - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional c

Interceptor question

2009-09-09 Thread Mike Baranski
hange password action to prevent an infinite loop of redirection? Thanks, Mike. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: [S2] Accessing objects in the Spring context?

2009-09-09 Thread Mike Baranski
Why not have a base action that has the setters and getters (which extends ActionSupport), put the methods in there, and have all your actions extend that instead of ActionSupport. Mike. >-Original Message- >From: Musachy Barroso [mailto:musa...@gmail.com] >Sent: Tuesday, Sep

RE: Session variables in buttons - preselection and formatting?

2009-09-02 Thread Mike Baranski
For #1, I don't know. For #2, I did exactly that, see here: http://mikeski.net/site/node/16 Mike. >-Original Message- >From: Dave Belfer-Shevett [mailto:d...@homeport.org] >Sent: Wednesday, September 02, 2009 4:34 PM >To: Struts Users Mailing List >Subject:

RE: ResourceBundle with DB backend

2009-08-31 Thread Mike Baranski
Tommy, Here you go, this is what I did. I don't know if it's the "best" way, but it works: http://mikeski.net/site/node/37 Mike. >-Original Message- >From: Tommy Pham [mailto:tommy...@yahoo.com] >Sent: Friday, August 28, 2009 12:44 PM >To: Struts

RE: ResourceBundle with DB backend

2009-08-28 Thread Mike Baranski
>-Original Message- >From: Tommy Pham [mailto:tommy...@yahoo.com] >Sent: Friday, August 28, 2009 12:44 PM >To: Struts Users Mailing List >Subject: Re: ResourceBundle with DB backend > >- Original Message >> From: Mike Baranski >> To: Struts Us

RE: ResourceBundle with DB backend

2009-08-28 Thread Mike Baranski
I've done it, you just implement the proper classes and tell your application to use them instead. I use a derby back-end. I can post a tutorial later if you'd like. >-Original Message- >From: Tommy Pham [mailto:tommy...@yahoo.com] >Sent: Friday, August 28, 2009 12:17 PM >To: user@struts

RE: Next GA release?

2009-08-28 Thread Mike Baranski
Try this thread: http://www.nabble.com/2.1.8--to25119398.html >-Original Message- >From: Robert Graf-Waczenski [mailto:r...@lsoft.com] >Sent: Friday, August 28, 2009 7:46 AM >To: Struts Users Mailing List >Subject: Next GA release? > >Hi, > >some time ago there was a release of Struts V 2

RE: Redirect NullPointerException

2009-08-26 Thread Mike Baranski
Thanks, that worked. >-Original Message- >From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] >Sent: Wednesday, August 26, 2009 10:33 AM >To: Struts Users Mailing List >Subject: Re: Redirect NullPointerException > >2009/8/26 Mike Baranski : >> OK, t

RE: Redirect NullPointerException

2009-08-26 Thread Mike Baranski
- >From: Greg Lindholm [mailto:greg.lindh...@gmail.com] >Sent: Wednesday, August 26, 2009 10:18 AM >To: Struts Users Mailing List >Subject: Re: Redirect NullPointerException > >A stack trace and some context might help you get an answer. > >On Wed, Aug 26, 2009 at 10:16

Redirect NullPointerException

2009-08-26 Thread Mike Baranski
index /default /pages/user-administration/jsps/change-password.jsp Any idea why I get the NullPointerException for that? -

Re: RequestProcessor and contentType response header

2009-06-21 Thread Mike Dave
> > Sounds counter-intuitive. Why should the RequestProcessor overwrite? > I am in agreement with you, Avlesh. This behaviour is erratic. I would recomend upgrading to a later version of struts assuming that the behaviour has been fixed. -m- On Sun, Jun 21, 2009 at 8:46 PM, Avlesh Singh wrote: >

Re: boundle message in s:select

2009-05-18 Thread Mike Altieri
It should be something like: http://struts.apache.org/2.1.6/docs/localizing-output.html and http://struts.apache.org/2.1.6/docs/localization.html Cheers, Mike - Original Message > From: Gianluca Musella > To: user@struts.apache.org > Sent: Monday, May 18, 2009 10:13:55 AM

Re: Struts newbie - Advice on file downloading

2009-05-13 Thread Mike Altieri
t that was very important to my client since they're users weren't good at remember what directory they save things in] the user would have some extra work to accept the signed/self-signed applet on their first visit; but subsequent visits would be smooth and relatively con

Password Input

2009-03-06 Thread Mike Baranski
That, for some reason, is calling getPassword... can someone tell me why it is not blank with the value explicitly set? - Mike Baranski O: 919 788 9200 F: 919 510 0037 M: 919 395 0620 m...@secmgmt.com CVI Authorized User Number: CVI

RE: Struts 2 sample: Hello World (Maven & Ant)

2009-03-02 Thread Mike Finney
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-blank/2.1.6/ (struts2=blank) may be just the thing to use for writing a struts2 hello world. Is this David Newton's contribution? Thanks. -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com

HttpServletResponse Transfer-Encoding header

2009-02-27 Thread Mike Finney
I can guarantee Transfer-Encoding is set to Chunked. Can I just set it to 0 and that counts? I looked at : http://www.w3.org/Protocols/rfc2616/rfc2616.html and http://en.wikipedia.org/wiki/Chunked_transfer_encoding Thanks, Mike Finney

RE: Problem passing interface implementing object to an action from a jsp

2009-02-04 Thread Mike Baranski
oor(doorId) method, and just passed the ID into the action from the jsp. Thanks for the help. Mike. - Mike Baranski O: 919 788 9200 F: 919 510 0037 M: 919 395 0620 m...@secmgmt.com CVI Authorized User Number: CVI-200809

RE: Problem passing interface implementing object to an action from a jsp

2009-02-04 Thread Mike Baranski
enough to understand what that means... -Original Message- From: Adam Hardy [mailto:ahardy.str...@cyberspaceroad.com] Sent: Wednesday, February 04, 2009 11:41 AM To: Struts Users Mailing List Subject: Re: Problem passing interface implementing object to an action from a jsp Hi Mike,

Problem passing interface implementing object to an action from a jsp

2009-02-04 Thread Mike Baranski
the IDoor interface. The Action returns "input", which (I think) is because it can't figure out how to set the parameter on the UnlockDoorAction. How do I make the thing recognize that setDoor(IDoor cd) will take that parameter? Thanks, Mike. --

RE: Tags Help

2009-01-27 Thread Mike Baranski
How exactly would you do it? There are 0-40 (possibly set) user field values, and I only want to show the ones that have values, and not the ones that don't. Thanks, Mike. - Mike Baranski O: 919 788 9200 F: 919 510 0037 M: 919 395

Tags Help

2009-01-27 Thread Mike Baranski
ncatenated string of "User" + and then call getText(that_string). Can someone help? Thanks, Mike. ----- Mike Baranski O: 919 788 9200 F: 919 510 0037 M: 919 395 0620 m...@secmgmt.com CVI Authorized User Number:

List of tags that encode or filter output by default

2008-09-18 Thread Mike Ware
Is there a concise list anywhere that explains which tags HTML encode output by default? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] 2.1.3GA?

2008-08-17 Thread Mike Watson
Is there an ETA on when 2.1.3 (or greater) will go GA? Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ServletOutputStream

2008-07-30 Thread Mike Rooney
hen in your 'status completed' page add an onload event to its body, redirecting to the real download action: IIRC: http://blahblah/myaction.action';"> You can also add a meta in the head:     http://blahblah/myaction.action";> 2008/7/30 Mike Rooney <[EMAI

Re: ServletOutputStream

2008-07-30 Thread Mike Rooney
, July 30, 2008 3:59:29 AM Subject: Re: ServletOutputStream Your action can not generate two responses (if that's what you asking). If you forward to a 'status completed' page, then you need to save your excel data somewhere to not loosing it. 2008/7/29 Mike Rooney <[EMAIL

ServletOutputStream

2008-07-29 Thread Mike Rooney
I created a small webapp that extracts data from a DB, creates an Excel file from that data (using Apache POI), which then streams the file to the end user's browser.  Everything is working fine, however I have to set the Action class' return type to 'NULL' since I am setting the servlet respons

Re: [S2} REST plugin & Security

2008-07-29 Thread Mike Watson
Thanks Jeromy, Yep, we did get the standard JEE security working in WAS. (Fat-fingered typing in the web.xml was the culprit). I'll have a look at the Sping option if we find the container stuff a bit lacking. Thanks again for your feedback. Mike 2008/7/29 Jeromy Evans <[EMAIL P

Re: [S2} REST plugin & Security

2008-07-27 Thread Mike Watson
I should probably add that I'm just trying to authenticate via LDAP at this stage. Authorization will be implemented later. 2008/7/28 Mike Watson <[EMAIL PROTECTED]>: > Hi Folks, > > What's the most straightforward way to secure my REST URLs? > > I'd assumed

[S2} REST plugin & Security

2008-07-27 Thread Mike Watson
ally assumed? Has anybody else (Jeromy?) done this? Cheers Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: S2 REST plugin

2008-07-24 Thread Mike Watson
Thanks mate. I'll give that a try tomorrow. 2008/7/24 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watson wrote: >> >> What I actually return is a DefaultHttpHeaders with a 404 set. >> getImage() returns an empty (not null) inputstream since there's no >> c

Re: S2 REST plugin

2008-07-24 Thread Mike Watson
What I actually return is a DefaultHttpHeaders with a 404 set. getImage() returns an empty (not null) inputstream since there's no content for the body. I'll do some debugging when I get time and see where it's failing. It certainly seems to be StreamResult that has the issue. Tha

S2 REST plugin

2008-07-23 Thread Mike Watson
${contentType} image ${bufferSize} Cheers Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: REST plugin URL syntax

2008-07-14 Thread Mike Watson
Jeromy, Thanks *heaps* for finfing the time to do that. I'd pretty much done everything your demo does except for one little detail: Doh! Now to see if that's broken my fancy pants image handler... BTW, if I want a controller to work in multiple namespaces do I need to declare seperate pack

Re: REST plugin URL syntax

2008-07-10 Thread Mike Watson
So what's the best way to get the latest 2.1.3 snapshot as source? Only the jars seem to be in the maven snapshot repo... Are there any instructions on doing that somewhere? I've looked but can't find them... 2008/7/3 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watso

Re: REST plugin URL syntax

2008-07-06 Thread Mike Watson
part to play in dictating which functions should be available and how they behave. (The book/chapter model is just an example I used to try and simplify the problem). Jeromy, I'm still really struggling to get this going, I don't suppose you've found time to knock up that demo app? Th

Re: REST plugin URL syntax

2008-07-02 Thread Mike Watson
Thanks heaps Jeromy, I'll grab the 2.1.3 snapshot and try again. A vanilla sample app would be great (others would probably find it useful too). Cheers Mike 2008/7/3 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watson wrote: >> >> Hi Jeromy, >> >> I've fi

Re: REST plugin URL syntax

2008-07-01 Thread Mike Watson
you seem to be pretty knowledgeable about this - can you think of anything I might be doing wrong? Thanks in advance for your help. Mike 2008/6/18 Jeromy Evans <[EMAIL PROTECTED]>: > Don Brown wrote: >> >> I believe it is technically possible to do this, but not at all >> int

Re: Rest plugin and binary data

2008-06-24 Thread Mike Watson
Hi Jeromy, Please ignore my other email, I was being a dumb-ass. Thanks heaps for the tips, I managed to get this working today. Mike 2008/6/20 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watson wrote: >> >> Hi Folks, >> >> I'm trying to figure out how to r

Re: Rest plugin and binary data

2008-06-22 Thread Mike Watson
the output go? Should I use ModelDriven and assign it to the model? Also how do I get a handle on the StreamResult object so I can specify attributes programmatically? All the samples I have seen do so declaratively. Thanks again for the tips! Mike 2008/6/20 Jeromy Evans <[EMAIL PROTEC

Rest plugin and binary data

2008-06-19 Thread Mike Watson
a StringWriter as the output for implementers of ContentTypeHandler.fromObject. Am I missing something really obvious or do I need to 'tweak' this behaviour and decide what type of writer to provide? Thanks in advance. Mike --

Re: REST plugin URL syntax

2008-06-17 Thread Mike Watson
I mapping behavior from > Jersey, which I find very intuitive, if a bit un-Struts/xwork-like. > > Don > > On Tue, Jun 17, 2008 at 9:10 AM, Mike Watson <[EMAIL PROTECTED]> wrote: >> Well that'd be nice but I'm really struggling to get it to behave the >> way

Re: REST plugin URL syntax

2008-06-17 Thread Mike Watson
ed to describe the relationships between resources in the desired way. If you can get your hands on that O'Reilly book it's worth a read, seems to be one of the better REST resources around. Mike 2008/6/17 Al Sutton <[EMAIL PROTECTED]>: > Mike, > > The safari signup re

Re: REST plugin URL syntax

2008-06-16 Thread Mike Watson
Well that'd be nice but I'm really struggling to get it to behave the way I want. Any thoughts on how I might do this? 2008/6/17 Dave Newton <[EMAIL PROTECTED]>: > --- On Mon, 6/16/08, Mike Watson <[EMAIL PROTECTED]> wrote: >> Can anybody suggest where I would star

Re: REST plugin URL syntax

2008-06-16 Thread Mike Watson
ppy to help rectify this but to say that this approach just isn't REST is simply not true. Can anybody suggest where I would start in an attempt to implement this hierarchical model? Or do I need to start looking for a replacement for the Struts2 REST plugin? Thanks for your time. Mik

REST plugin URL syntax

2008-06-15 Thread Mike Watson
anybody tell me how I can configure the rest plugin to behave like this, or point me at some documentation that does? Thanks in advance, Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts editor

2008-06-10 Thread Mike Jennings
If you don't understand how to use the configuration files, then all the editor will do is get you in trouble. Felipe Lorenz wrote: I dont know.. exist one for NetBeans.. but is beta.. https://nbstruts2support.dev.java.net/ But, if you find one, PLEASE tell us... On Tue, Jun 10, 2008 at 4:46

Re: Newbie question

2008-03-18 Thread Mike Jennings
I like KGBInternet.com. They are affordable and will provide you with the services that you need. maitre wrote: Hi, I'm trying to find a decent hosting company that supports STRUTS 2. Are there any recommendations? Thanks, Ed --

Re: authentication question

2008-03-18 Thread Mike Jennings
I use Acegi security to make sure that all of my pages are secure. I find it very flexiable, but not always easy to configure. If you are already using spring as you IoC, then you might as well take advantage of Acegi. Jeromy Evans wrote: I've been told that some older containers don't allow

[OT] Complete List of Logged In Users

2008-03-14 Thread Mike Duffy
I marked this as other because this is probably sever specific (in my case I am using JBoss). Using the Struts framework is there some simple way to get a list of all the users logged into the server? Thx. Mike

Re: servletOutputStream in S2 action

2008-02-07 Thread Mike Jennings
example, but will probably have to have a modify it slightly so that your action will have a getter and setter to pass a output stream to the result type. In the result type you can write the output stream to the response output stream. Mike Jennings bhaarat Sharma wrote: Hello I have a S2

Struts, Interceptor error message customization

2008-01-30 Thread Mike J. M.
Hello, So I am currently using Struts, including an action that has a fileUpload Interceptor that checks for files that are too large and certain allowable file types. Right now if either of these conditions are met, the system will throw a generic HTTP 500 error up. What I am wondering is how to

how to use difference message resource file in ActionMessage

2008-01-09 Thread Mike . G
Hi, everyone, I am use the struts version 1. now I have a question about the class ActionMessage: if I had configurated more than one message resources in struts-config.xml, and I had use difference key for mark them. but In my action, I want to use ActionMessage for some message, how to do fo

how to use difference resource file in Class ActionMessage

2008-01-09 Thread Mike . G
Hi, one question about the Class ActionMessage, how to use the difference resource file in Class ActionMessage? example: I have to resource file, one is the default for struts configuration, secondly had used a bundle key. so, how to use that message resource file in Class ActionMessage? thanks

Re: problem in accessing get parameter in struts 2 [when using interceptor]

2008-01-08 Thread Mike Jennings
Could you give some more information like what version of struts2 are you using and what is the application server and version? Mike Jennings Unnikrishnan wrote: HI I am new to struts2 . I have a problem in accessing get parameter. for example I am working on my local machine and I have the

  1   2   3   4   >