RE: Efficient session object and cookie checks in struts

2006-04-16 Thread Jeff Thorne
the check and then have the actions which need the checks extend the base action. In Webwork and therefore Struts 2, you'll be able to implement this as an interceptor, and use that interceptor for whatever actions you'd like. dave On Sat, 2006-04-15 at 06:43 -0700, Jeff Thorne wro

RE: Efficient session object and cookie checks in struts

2006-04-15 Thread Jeff Thorne
PROTECTED] Sent: Saturday, April 15, 2006 2:41 AM To: Struts Users Mailing List Subject: Re: Efficient session object and cookie checks in struts Jeff Thorne on 15/04/06 06:19, wrote: > My struts application maintains 2 small objects in the user's > session. One is for the users location info

Efficient session object and cookie checks in struts

2006-04-14 Thread Jeff Thorne
My struts application maintains 2 small objects in the user’s session. One is for the users location info (mandatory) and the other is the User Object (optional). I also save 2 cookies one being the user’s location info (mandatory) and the other the user’s saved login credentials (optional) to m

struts web app performance suggestions

2006-04-06 Thread Jeff Thorne
I am seeing slow performance with a few initial pages of my struts app. Here is the flow of the app. 1. Index.html forwards to index.jsp. 2. index.jsp loads user cookies into session. 3. if member cookie found forward to load member page struts action. 4. if no member co

Struts Forward and URL prefix problem

2006-04-03 Thread Jeff Thorne
I am trying out struts action mappings and wildcards so that I can provide my dynamic content static URLs that are not based on query strings. When my action class forwards to success or failure all the URLs in the receiving .jsp page are prefix with the initial URL. For example if I submi

Auto Generated URLs

2006-03-11 Thread Jeff Thorne
I have noticed that many sites use virtual URLs such as http://www.imdb.com/title/tt0244244/ to point to some sort of profile on their website whether it be a movie, product, or user homepage. I was wondering what is the most efficient way to accomplish this programmatically in struts. I will ha

Re: How to ensure SSL transactions

2005-10-05 Thread Jeff Thorne
I had a follow up question to the thread on SSL transactions. Does the SSL cert absolutely need to be installed in the servlet container? My ISP is telling me they will only install certs within the apache web server and not Resin/Tomcat. Is there away to proxy SSL requests between apache web se

action class that responds to javascript request from another domain

2005-10-04 Thread Jeff Thorne
I am trying to allow users of my site to incorporate some of my sites content in their blog. I am letting them paste the following code in their site: http://mysite.com/blog/mypostings.jsp?id=23330";> I need my action class to send the following back to the javascript request.

How to handle forward instructions within an action class?

2005-09-30 Thread Jeff Thorne
I have the following code in an action class: else if(action.equals("sendMessage")) { String member = request.getParameter("member"); RequestDispatcher view = request.getRequestDispatcher("sendMemberInvite.jsp?member=" + member ); view.forward(request, response); } This code wor

Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jeff Thorne
Has anyone successfully integrated a javascript date picker into a struts 1.2 app. I am having troubles getting many date pickers to work because of not being able to name a form in struts 1.2. I have tried passing the styleID with no success: ---jsp page segment--