[Stripes-users] File access in the FileBean

2014-03-01 Thread Heather and Jon Turgeon
Hello all, I am trying to use Stripes in an app that will be hosted on Amazon's AWS. I want to allow file upload and am running into a bit of a problem. Amazon wants me to store the file on S3 passing a byte array. It seems easy enough to do this if I were to have access to the File object in th

[Stripes-users] Upload status

2014-05-18 Thread Heather and Jon Turgeon
Hi all, well I finally got my app deployed, now just waiting for the users to pour in ;-) Anyway, one of the features that I would like to improve is the file upload process. Right now I am using the File tag and the upload works well. What I want to improve on my site is any kind of upload sta

[Stripes-users] StreamingResolution, byte[] and (char) 26

2014-05-23 Thread Heather and Jon Turgeon
Hi all, I am running into an issue with this bit of code return new StreamingResolution("application/octet-stream") { protected void stream(HttpServletResponse resp) throws Exception { OutputStream output = resp.getOutputStream(); output.write(ka

Re: [Stripes-users] StreamingResolution, byte[] and (char) 26

2014-05-24 Thread Heather and Jon Turgeon
Hi, will add the try/catch. I think the issue is because char 26 is traditionally EOF character. I need to include this character in the middle of the byte array (the file to download). This seems to be causing the ClientAbortException: java.net.SocketException: Connection reset at org.ap

[Stripes-users] Streaming Resolutions running action twice

2014-07-09 Thread Heather and Jon Turgeon
Hello, I have developed a fairly intensive action that requests and processes Google Maps images. What I am seeing is this action seems to be running twice, first when the user clicks the link and the popup request what the user want the filename to be and where to store the file, and then again

[Stripes-users] Stripes, Google Maps and KML

2014-09-27 Thread Heather and Jon Turgeon
Hi all, my Stripes based mapping site is coming along nicely. (running on AWS) I do have a question if anyone has used a Stripes action to be the source of a KML for Google maps? So far I have the code written and the KML being created in an action but have been unable to get the placemarks to s

[Stripes-users] Action with an epub resolution

2015-05-05 Thread Heather and Jon Turgeon
Hello all, I have a web app that generates an epub from information stored in a database. I have an action that creates the book and then sends it back to the client as an epub. This works great in Windows/Linux and Android but is less than great on my iPad. Since the link on the page that calls

Re: [Stripes-users] Stripes-users Digest, Vol 106, Issue 1

2015-05-08 Thread Heather and Jon Turgeon
Hi all, just to follow up I ended up using Christian's suggestion to solve my epub generation with the iPad problem. So far it is working great. Thanks for all of your help. > Message: 3 > Date: Tue, 5 May 2015 13:40:04 + > From: Poitras Christian > Subject: Re: [Stripes-users] Action with

[Stripes-users] Complex Object Trees and Request Post

2015-06-16 Thread Heather and Jon Turgeon
Hi all, I am using Hibernate ORM in my Struts app. I thought why create all separate variables for each request param when I can just use the Hibernate object's variables. Works great until I get into complex object trees and try the form input id being something like "object.object2[1].object3.

[Stripes-users] File downloads, not really sure how to phrase question

2015-06-21 Thread Heather and Jon Turgeon
Hi all, my app builds files to download upon a user's request. Using StreamingResolution seems to work well most of the time. One problem I seem to be having is my site sort of supports users with internet connections that are frequently less than great (it is a site used by sailors cruising in

Re: [Stripes-users] Stripes-users Digest, Vol 107, Issue 4

2015-06-22 Thread Heather and Jon Turgeon
hink your requirement has more to do with the way you manage > your files than with Stripes. > > My advise that you split the file in multiple parts and then give option to > the user to download those parts > A quick google for 'split file java' send me to > http://www.e

Re: [Stripes-users] Stripes-users Digest, Vol 109, Issue 3

2015-08-21 Thread Heather and Jon Turgeon
Too funny, I also worked at ATG (small company) as a developer in Cambridge. I am using Stripes with Hibernate for my site venturrfarther.com. As of yet I am not using Spring, just straight Hibernate. A bit different from the Repository... Take a look at the Hibernate examples, integration with

[Stripes-users] Subdomain lost on RedirectResolution

2016-04-07 Thread Heather and Jon Turgeon
Hello, I have by website deployed on Amazon. All worked well. I swapped over to a simple VPN, deployed my Stripes based site on Tomcat. I have a SecurityFilter in place for some of my pages. If some of these pages are requested the user is forwarded to the login page. A value on the page holds o

[Stripes-users] Tracking Down SourcePageNot FoundException

2016-10-11 Thread Heather and Jon Turgeon
Hi all, I am having an issue in my production environment getting SourcePageNotFoundExceptions. I have not been able to figure out how they are occurring but i suspect it has to SEO and my site.xml. I generated the site.xml as my pages are data driven. Anyway, is there someway that I could log t

[Stripes-users] Getting the results of JSP within an Action

2017-04-06 Thread Heather and Jon Turgeon
Hi all, within my Stripes based website I do a few of thing. One of them is to create emails to send out to users. I am using HTML emails with the bodies written as strings (a bit of work and very messy). What I would like to do is use an Action to get the data from the db, then do a Resolution

[Stripes-users] Raw Body With ActionBean

2017-04-20 Thread Heather and Jon Turgeon
Hi all, I am trying to use SparkPost Relay Webhooks to accept emails, then forward on the content to a ActionBean for processing. I have the forwarding worked out but SparkPost is posting a "raw body" JSON object to the ActionBean. I have never used an ActionBean like this, I usually expect para

Re: [Stripes-users] Stripes-users Digest, Vol 121, Issue 1

2017-05-03 Thread Heather and Jon Turgeon
..." Today's Topics: 1. Getting the results of JSP within an Action (Heather and Jon Turgeon) 2. Re: Getting the results of JSP within an Action (Nestor Hernandez) 3. Re: Getting the results of JSP within an Action (Rick Grashel) 4. Raw Body With Acti

[Stripes-users] Stripes and Paypal IPN

2017-05-25 Thread Heather and Jon Turgeon
Hi all, since I seem to get some great advice from you all I thought I would ask if anyone has setup a Stripes action to handle Paypal IPN? I have started my action but thought I would ask to see if there is a better way. Thanks again. Jon --

[Stripes-users] Getting users location

2017-07-09 Thread Heather and Jon Turgeon
Hi all, I am trying to get the users general location server side (the country). I have tried getContext().getRequest().getRemoteAddr(); bu that just returns 0:0:0:0:0:0:0:1 (was going to use a web service to get the country from the IP address). Has anyone been able to do this and if so can you

Re: [Stripes-users] Stripes-users Digest, Vol 124, Issue 2

2017-07-11 Thread Heather and Jon Turgeon
our own firewall. -- Rick On Sun, Jul 9, 2017 at 12:18 PM, Heather and Jon Turgeon < tashiba40_evergr...@hotmail.com> wrote: > Hi all, I am trying to get the users general location server side (the > country). I have tried getContext().getRequest().getRemoteAddr(); bu that > just return

Re: [Stripes-users] Stripes-users Digest, Vol 124, Issue 4

2017-07-13 Thread Heather and Jon Turgeon
>From what I understand I think I am seeing the same. I have not had any users >report this as a problem though. I have been trying to track down where these >request are originating from, at this point I am guessing maybe search >indexing? Jon From: stripes-

[Stripes-users] Single WAR, multiple sites

2017-09-01 Thread Heather and Jon Turgeon
Hi all, I have an up and running site that is a crowd sourced platform for sailors. There is a lot in common with how sailors travel with "overlanders" (people who travel in offroad RV's). What I am thinking of doing is modifying my sailing site to become a "multisite" that services 2 different

Re: [Stripes-users] Single WAR, multiple sites

2017-09-01 Thread Heather and Jon Turgeon
ivial. Sonatype has some excellent free books on maven: https://www.sonatype.com/ebooks Sonatype eBooks<https://www.sonatype.com/ebooks> www.sonatype.com These eBooks are designed to help your team gain full visibility and control in software development On Fri, Sep 1, 2017 at 10:23 AM, Heat

[Stripes-users] Multipart form to an Action from Android

2017-10-16 Thread Heather and Jon Turgeon
Hi all, I am working on an Android data recorder that will upload a file to my Stripes based site. I am trying to submit a multipart form with some fields and a single file. One of the fields is a identifier for the user, this is passed through a security filter. This filter is not catching the

[Stripes-users] Submitting a multipart form from Android

2017-10-18 Thread Heather and Jon Turgeon
Hi all, I am trying to submit a multipart form from an Android app to a Stripes action. I have a SecurityFilter in place and I can trap/log the request. I see the request coming in but I do not see any of the form fields that I have added. I am using the library OkHttpClient to make the request.