I have looked everywhere, at at least it seems like it, on the apache
site, but cannot find where I can subscribe to this list from another
email address. Struts has been removed from the list of lists at
http://jakarta.apache.org/site/mail2.html, but if I go to the Struts home
page, as it tel
Sorry about posting code to the list if that is poor etiquette. I didn't
know of that one. What's the reason for it? My code wasn't too lengthy
and the email can easily be deleted by those that don't care. I just
thought some other newbies (not unlike myself) might find it useful or
thought
Dakota Jack wrote:
I was looking for a filter that detected sessions that had expired and
rerouted the request to a login or other appropriate page.
That's what this does, specifically the following section of code:
> if (session.isNew()) {
>
Here's the filter I use. It contains some logging that you can choose to
ignore and I also set some session attributes that I use for navigation
AFTER the re-login, to get the user back to the page they were on or as
near as possible, given only their first/last name and password. I also
incl
I'm not a veteran, but I am pretty familiar with Validator and
ValidatorForm, so since it is late evening (EST anyway) any you may not get
quick responses, I'll take a shot...
It doesn't have anything to do with validations being simple or complex.
The isse is that if you create an ActionForm,
I am not veteran, but I think it will vary according to the servlet
container you are using. If you are using TomCat, I think the log file
will be in the directory {tomcat-home}/logs. Not sure, as I use Netbeans
and the Tomcat server imbedded in it, which appears to put it in a
different dir
I have two situations I am trying to address with one generic solution:
1) For every update action, I had to maintain two separate "result
confirmation" JSPs, one stating "Update Successful" and one "Updated failed
due to system error. Try again later." (must be a system error, as any
data v
Sorry for the newb question. I am getting better with Struts, but remain
very weak on HTML.. The pages I have created with simple HTML and Struts
tags have a larger font/element size to them than most sites I frequent, so
I wanted to make them smaller. I haven't learned CSS yet (soon!) so I
i
Thanks Jim!
For anyone following along, Jim's suggestion to preface all actions to be
authenticated with "/secure/" works great. Of course, you have to change
all references to those actions in many places, but had I thought of that
idea when I started developing this (my first real) site, it
Can anyone help a newbie out? I have a couple of questions:
1) I am implementing a servlet filter for authentication. In my web app,
a class reunion web site, I want people to be able to login with their
first and last names and a password, instead of a single ID and password,
so I am NOT c
Hi guys,
I am trying to pull the value from a property in a collection(LinkedList)
stored in the request object and store it in a script variable. I can
write the property value to the response page using a tag
inside a tag, but I can't seem to find a way to get the
value into a script varia
I have a jsp where I want to include a button that will simply invoke a new
struts action, which is a ForwardAction that invokes the Tiles definition
for a new page. At first I tried this with a Struts tag, as below:
However, I was getting the following error in my browser
My web app will have about 300 users, each of whom will be allowed to
upload a max of 5 images/digital pictures. I am using the Struts-upload
package. I considered storing the images in MySQL as blobs, but have read
lots of advice that this is more trouble than it's worth / overkill.
However,
Thanks Matt and David! Geez, I couldn't see the forest for the trees... I
knew it had to be something simple. Solved that part of the problem, but
bounced into the next problem. If I can't get that one after more
investigation, I'll be back!
Oops, forgot the action:
"Durham David R
I am using Struts 1.1. I added my first DynaActionForm and can't get it to
work. The error I get indicates that "street1" is an invalide property
name to retrieve from the form. I have changed the name in my action class
to confirm that it changes in the error message, so the error definitel
Hell,
Can anyone help a newbie with how to interpret an exception stack? I have
had some luck debugging previous problems, when the exception occured in my
own code, as the stack info usually points to a line number or variable in
the source file causing the problem. However, for an excep
1) Not sure if apache required.
2) Google for "struts tutorial". You will find many simple apps to get you
started and your configuration verified.
3) I started with the same book. You have to get through I think 3
chapters before you actual start writing an App! There might be some stuff
It appears I was not clear enough in my original question. If you look at
the example definition I provided below, I would like to replace
"schs82DefaultDef" with one of the layouts that supposedly come with Tiles,
namely "Center". The book I am learning from indicates that several
standard l
I can't find documentation on how to use the layouts included with Tiles.
For example, here is one of my Tiles Defs:
In order to use one of the layouts included with Tiles, I tried but this doesn't work.
1) How do I reference this Tiles layout?
2
Clearly it is not black and white, but I prefer to consider it Controller
logic. You are using an exception to apply your logic. Instead, I choose
to look at it from the standpoint of NORMAL processing, where it is more
clear that it is Controller logic. Just an opinion...
I have a site where index.jsp is the first page users access. It contains
some text, a link to go to a registration page, and a form for registered
users to login. I have converted all other pages to be defined by Tiles
definitions in an XML file. However, I cant figure out how or if I can
c
22 matches
Mail list logo