First, you should ask on the proper list. That would be the Struts Users
List (CC'd on this reply).
I'll help you over there.
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitc
Look into using Filters. They are great for this kind of stuff.
/rober
Lee Harrington wrote:
I want to check to see if the user is logged in before performing any
action, and redirect to the login page if they are not.
For example...they have a page open and their session times outand
then they
Dyna form
--
--
Genrated HTML code using logic:iterate , indexed="true"
7464264327
BARKSDALE,JACK
150.00
// This is still under const
Hello:
I would suggest that you use servlet filters.
--- Lee Harrington <[EMAIL PROTECTED]> wrote:
> I want to check to see if the user is logged in before performing any
> action, and redirect to the login page if they are not.
>
> For example...they have a page open and their session times ou
On 16/05/05 19:24 Michael Jouravlev wrote:
Gmail actually works pretty well for me. Can send an invitation, have
50 of them ;)
Gmail is AJAX, right? Does it do heirarchies then? Never used it myself.
I've written AJAX apps and I've always been suspicious of Javascript.
Adam
-
Lee Harrington wrote:
I want to check to see if the user is logged in before performing any
action, and redirect to the login page if they are not.
For example...they have a page open and their session times outand
then they click a button. Right now an error occurs because they are
no longer
From my first take on your description of the problem, I don't think
that subclassing ActionForward is the area of Struts where you would
enforce this.
For a new app, the simplest solution is an abstract subclass of
Action which all of your classes extend; your subclass implements
execute, whe
Use a filter. Or, write an Action base class and have all your Actions
subclass it. The filter is the better answer.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Lee Harrington wrote:
I want to check to see if the user is logged in before
Lee Harrington wrote:
I wrote a bit of code that if I put it in the beggining of an action
class...does just that. But I don't want to have to put this in the
front of each of my actions (particularly since I've already written a
good portion of the app).
Do I solve this by subclassing the action
Just define the form with "session" scope, it will retain values for
you. The catch: now you need to clean these values in reset() method
when they are not needed. So, you need to distinguish when they are
needed (refresh) and when not (you show that page for the first time.
> I need something lik
I've been reading the API docu...trying to figure out how implement LDA
where one of my "submit" buttons is an html:image tag...when I dump the
request for the standard "html:submit" tag, I can see "method=year"
(where property="method" in tag)...of course, when I dump the request
for html:image, I
Hello Joe,
I am trying to port an app (Frank Zammetti's strutsws)that was
using Struts 1.1 to Struts 1.3.
I have a quick question: in which class/method the ActionForm is
populated with parameters from request?
Thanx and regards
marco
---
Hi folks. I want ur experiences making reports. I'm doing reports in
my project and i want to know if there are some reports tools. Is it
possible to use Crystal Reports with struts? Any experience?
THanks for help me
--
Rafael Taboada
---
Hi Charles, I couldn't get ur lib
Show me how to get it, plz
Thanks
Anh Tuan
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 17, 2005 3:34 AM
Subject: RE: tree structure with struts
Hi Pankaj,
In one of ours applications, we use the com.bea.tree lib. I don't
know i
In the meantime, you can use:
http://nagoya.apache.org/eyebrowse/SummarizeList?listId=241
or the one people here use more often:
http://marc.theaimsgroup.com/?l=struts-user
http://www.mail-archive.com/user%40struts.apache.org/
Hubert
On 5/15/05, Ingo Adler <[EMAIL PROTECTED]> wrote:
> The link
Rafael,
Try BIRT (Business Intelligence and Reporting Tools) by Eclipse. It is
developed jointly with Actuate which is a Enterprise Reporting
Infrastructure.
http://www.eclipse.org/birt/
Jimmy
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005
Hi,
I display a databse structure in a tree and try to open a context by
clicking a link.
But I don't know how to add the id of the selected context to a bean.
I use the nested tld to display the structure.
Anybody can give me some suggestions on this?
Thanks in advance,
Sebastian
hello guys,
I seem to have a newbie error here please help.
The webapp is perfectly running under tomcat, then i copied all
contents of webapps/mywebapp/* folder to
iplanet/servers/my-instance/* . Anything else i should do?
thanks
richard
JSP11 Log:Could not load TagExtraInfo class
org.apache.
Tag instances are sometimes pooled and reused by servers. You should
reset your instance data at the right time (you determine which
depending on how you use your tags) or clear certain flags when
certain variables are set to certain values (affecting which section
should display). Sorry for the
I want to show results and graphics in a jsp. For example in PHP I
use phplot in order to show graphics showing data. I want to show
tables showing records too. In general, showing data in pages. If the
user wants to export to pdf or doc, it must be an option to do that.
Is there a tool to help
I want to check to see if the user is logged in before performing any
action, and redirect to the login page if they are not.
For example...they have a page open and their session times outand
then they click a button. Right now an error occurs because they are
no longer logged in.
I wrote a
Yes, you can integrate Crystal Reports with Struts... I did a proof of
concept of this a while back... actually, it wasn't in Struts, it was just
straight servlets, but it will work the same. It requires getting the
SDK, which they don't make easy to find for some reason. It's pretty
simple thoug
Not really Struts-related, but there's some smart folks here, so...
You can have a element under in web.xml, and
this is perfect for a task I have (I'm initializing some things in a
ServletContextListener that have to be initialized even before
ActionServlet initializes - see, it IS Struts-relat
Never mind, I found it...
// ServletContextEvent sce
sce.getServletContext().getInitParameter("myParam")
It was a little less than obvious because when you see a method
getInitParameter() of a SERVLET context, at least my interpretation is
that I am accessing the init params of a element (and in
hihi,
in my project i have template-driven reports as well as reports totally
made from scratch, and these are outputted in PDF format mainly.
take a look at these:
http://www.lowagie.com/iText/
http://ireport.sourceforge.net/
with iText, i scanned a form to create a template, then i populated t
Hi!
No, because there is no place to login here...
You propose (if I anderstand correctly) such a way:
case 1:
jsp submit (1)-> form validate -> APIcall() returns no errors -> action
case 2:
jsp submit (1)-> form validate -> APIcall() returns _errors_ ->
validation fails -> back to calling jsp wit
When you switch from "session" to "request", do you remember to change
the scope where you set the form in your action class? What I mean
is, in your action class, you should also change
session.setAttribute("exForm", exForm);
to
request.setAttribute("exForm", exForm);
Hubert
On 5/16/05, Mo
Need all functionality in one screen/form (check box , dynamic rows , user
inputs , validation) & all using dynaform.
Here is the code.
--
* Dynaform
This form is in request scope.
* Not yet reach to validatio
Rafael-
what format are you looking for output?
PDF?
doc?
rtf?
Saludos!
Martin-
- Original Message -
From: "Rafael Taboada" <[EMAIL PROTECTED]>
To: "Struts List"
Sent: Monday, May 16, 2005 3:20 PM
Subject: Reports
Hi folks. I'm doing reports for my project and I was asking me if
there ar
FOP:
Java application that reads a formatting object (FO) tree and renders the
resulting pages to a specified output. Output formats currently supported
include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF
and TXT. The primary output target is PDF
http://xml.apache.org/fop/
At 10:05 AM +0100 5/17/05, Marco Mistroni wrote:
Hello Joe,
I am trying to port an app (Frank Zammetti's strutsws)that was
using Struts 1.1 to Struts 1.3.
I have a quick question: in which class/method the ActionForm is
populated with parameters from request?
org.apache.struts.chain.comman
hi,
Try out JReports.
Sachin
-Original Message-
From: Rafael Taboada [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 12:50 AM
To: Struts List
Subject: Reports
Hi folks. I'm doing reports for my project and I was asking me if
there are tools in order to help to do
Hi guys Im having this error but I dont know why is this happening can u
help me??
ERROR:
May 16, 2005 10:14:06 PM org.apache.struts.validator.ValidatorForm validate
SEVERE: validator.FMvalidator
org.apache.commons.validator.ValidatorException: validator.FMvalidator
at org.apache.commons.validato
Congratulations! Good work!
On 5/12/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Finally got it all set up on http://struts.sf.net. The first "official"
> release is up!
>
> AjaxTags is a project to add AJAX functionality to the existing Struts
> HTML taglib. It allows a developer to jum
I have two environments with the same mysql DB, both running the same war on
tomcat 5.0 and I have a problem which I can only think may lie in my JSP
taglib and its extra info.
Essentially I call a tag three times in the same page, and depending on
taglib arguments the tag should display data b
35 matches
Mail list logo