Hi Vijaya,
That's all fine. I figured out the problem and its because I am
connectiong to mysql in struts-config.xml file I am getting this error.
If I remove db connection everything is working fine. But with db
connection, I get the following error
2005-01-18 08:02:32 StandardContext[]Marking
Dakota Jack dakota.jack 'at' gmail.com writes:
Just write the response with dynamic code that puts the correct name
in the HTML, assuming that you are talking to a browser with response
objects that are HTML.
For example, img src='whatever8829382.png' might come from img
src='c:out
Return Receipt
Your ActionMessages
document
:
Return Receipt
Your ActionMessages
document
:
Return Receipt
Your RE: ActionMessages
document
:
Hi!
I need to extend several struts-el fields based on errors but all my
validation messages are stored in global scope.
I've tried to get (in my tag-lib extension):
ActionMessages errors =
RequestUtils.getActionMessages(pageContext,this.property);
or
ActionMessages errors =
Hi,
I am using org.apache.commons.dbcp.BasicDataSource to implement a
connection pooling and this is my class.
import javax.sql.DataSource;
import org.apache.commons.dbcp.BasicDataSource;
public class DBPool
{
public DataSource getDataSource()
{
Kalluru Uma. Maheswar wrote:
Hi,
I am using org.apache.commons.dbcp.BasicDataSource to implement a
connection pooling and this is my class.
If you're using Tomcat, you're better-off using JNDI Datasource:
On Wed, 19 Jan 2005 15:52:20 +0530, Kalluru Uma. Maheswar
[EMAIL PROTECTED] wrote:
And in the classes where I need database connection, I am saying
DBPool dbPool = new DBPool();
dbPool.getDataSource();
By doing this, my application is getting slower. Initially I configured
db
Hi,
In order to use JNDI you can do the following steps:
1) create a context.xml file inside the meta-inf directory inside your
war file:
Context path=/YourApplication
Resource name=jdbc/Database auth=Container
type=javax.sql.DataSource/
ResourceParams name=jdbc/DataBase
parameter
Hi Pavel,
I used the db connection in struts-config.xml file initially but due to
some reasons my app is not working, so I thought of configuring
connection pool myself. So this is what I have done.
Please tell me if there is a better way of doing this and if so how?
Uma
-Original
Hi,
I am looking for an example using org.apache.commons.dbcp.BasicDataSource and
more over, I cant use a .war file to deploy my app (there are some problems)
Uma
-Original Message-
From: Amleto Di Salle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 4:29 PM
To: 'Struts
Hi,
The list archive search doesn't appear to work to forgive me if this isa simple and already answered topic.
I have an actionform that has an object as a property - Premises premises, and a jsp that uses html:text name="Premises" property="premises.name" /.
When I use createPremises.jsp all
Hi,
I get the following error
2005-01-18 08:02:32 StandardContext[]Marking servlet action as
unavailable
2005-01-18 08:02:33 StandardContext[]Servlet threw load() exception
javax.servlet.UnavailableException: Initializing application data source
org.apache.struts.action.DATA_SOURCE
at
Here's 2 suggestions off the top of my head:
- invalid syntax for the ds definition
- you failed to provide the specified jdbc driver
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Kalluru Uma. Maheswar
On Wed, 19 Jan 2005 21:54:48 +0900, Sylvain ~ [EMAIL PROTECTED] wrote:
I'm working on a simple application which requires very simple
security as given there is only 3 kind of users : anonymous, users and
admin.
For portability issues, I don't want to use Tomcat's security system.
Please
-Original Message-
From: Pilgrim, Peter
Struts JSF London Networking
Here are the details of Sun's Presentation on 28th January 2005 at Lunchtime.
=
J2SE 5.0 Update - The Roar of the Tiger!
When: Friday January 28 2005 12:00-14:00
Where: Davinci Theatre, CBC, ground floor-
!--Since I got no answer yesterday I thought I try again --
Hi there,
I have a small Struts application which requires a user to login before he can
call an admin action.
The application is running fine under Tomcat 4.1 on my local system.
When I deploy it to iPlanet WebServer 6.0 SP5 I have
How are you deploying your app? Packaged with Ant?
Many times, people forget to have resources copied during the build process.
This is automatically done for us with most IDEs, but Ant won't do it unless
you tell it to.
Open your .war and make sure it is there under
But it's a working struts-config.xml file in my local machine. The same
database connection applies in the server too.
Uma
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 6:53 PM
To: Struts Users Mailing List
Subject: Re: Marking
It is there because Tomcat does display the messages.
James Mitchell [EMAIL PROTECTED] wrote:
How are you deploying your app? Packaged with Ant?
Many times, people forget to have resources copied during the build process.
This is automatically done for us with most IDEs, but Ant won't do it
That's not what I was asking.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, January 19, 2005 8:42 AM
Subject: Re:
Sorry James, I thought you wanted to know if the file is there.
I package the application as a war file with Websphere Studio and deploy it as
a war file via the iPlanet interface.
I have also packaged the war file on the comand line with the jar toll.
Any idea
James Mitchell [EMAIL
I have attached standard.jar and jstl.jar within my project
under /WEB-INF/lib
How to define it in JSP file using local jar file?
I have tried the following but in vain.
% taglib uri=/WEB-INF/lib/standard.jar
OR
% taglib uri=org.apache.taglibs.standard.tag
I just want to use
Core prefix=c
I was reacting to this...
It is there because Tomcat does display the messages.
...see, I know better. In my experience on this list (over 3 years now),
people who say things like it works on my machine, so it should work on the
server are jumping to a few assumptions. Technically I think they
Hi,
If you are using JSP2.0 and JSTL1.1 in your jsp you can use JSTL in
the following way:
core http://java.sun.com/jsp/jstl/core c
XML processing http://java.sun.com/jsp/jstl/xml x
I18N capable formatting http://java.sun.com/jsp/jstl/fmt fmt
relational db access (SQL)
Try it like this:
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c%
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: PC Leung [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent:
I have attached the library locally.
Can I define it locally in JSP file?
On Wed, 19 Jan 2005 09:29:20 -0500, James Mitchell [EMAIL PROTECTED] wrote:
Try it like this:
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c%
--
James Mitchell
Software Engineer / Open Source Evangelist
James,
the taglib for html:errors/ is declared on the page.
I can run the application on iPlanet and it works just as on Tomcat, but Error
messages are not displayed.
Karim
James Mitchell [EMAIL PROTECTED] wrote:
I was reacting to this...
It is there because Tomcat does display the
Furthermore if you are using JSP1.1 JSTL1.0 the correct uri is
for example http://java.sun.com/jstl/core prefix: c
But I am not sure.
BR
/Amleto
-Messaggio originale-
Da: Amleto Di Salle [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 19 gennaio 2005 15.29
A: 'Struts Users Mailing
In part for the reason you specified, where the response has already
been committed in tiles, I prefer to move that kind of logic back
into the pre-view stages of request processing.
In Struts 1.2.x, you could extend the TilesRequestProcessor and
change the implementation of processRoles so
Hi, all,
I just updated www.sportslovers.net using tiles. Take a look. Any comments or
suggestions will be appreciated!
T.T.
-
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.
On Wed, 19 Jan 2005 21:54:48 +0900, Sylvain ~ [EMAIL PROTECTED] wrote:
I'm working on a simple application which requires very simple
security as given there is only 3 kind of users : anonymous, users and
admin.
For portability issues, I don't want to use Tomcat's security system.
Tomcat
On Wed, 19 Jan 2005 09:55:36 -0500 (EST), Charles A Jordan
[EMAIL PROTECTED] wrote:
Hello All,
This may not be the proper area for this question, but I thought I'd
try anyway.
I have set something in my web server, tomcat, or struts configuration so
only my domain name (my.company.com)
Then it sounds like packaging issue (without knowing more about what you are
doing).
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
How do I tell?
Delivered-To: [EMAIL PROTECTED]
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:user@struts.apache.org
List-Id: Struts Users
If you are sure you have copied the appropriate JDBC connection JAR for your
webapp onto the new server, then are you POSITIVE your database allows
connections from that new server using the db username and db password
specified in the DATA_SOURCE. I've been in plenty of scenarios where the
same
The Seventh Struts/JSF London Networking BOF
is taking place on 28 January 2005 at 19:15
at Kettners Restaurant in SOHO, West End, London.
See all you there!
29 Romilly Street,
London,
W1D 5HP
Telephone: 0871 223 8103
Nearest Tube: Leicester Square [3 minutes]
(or Picadilly Circus [5
Thanks for your attention James,
I have found the cause of the problem.
iPlanet seems to not load the classes inside {approot}/WEB-INF/lib
unless the jar files are mentioned on the classpath.
Since I have done this now it works.
Thought just to let you know.
James Mitchell [EMAIL PROTECTED]
Uma,
Do you make a new pool for every request? That takes up a lot of resources.
Are you positive you are shutting down the pool and the connection when you
are done with them? Ideally, you setup your pool once, store it in serlet
or application context, then use that on instance to hand you
What is the tomcat version you are using. if it is 5.x then automatically
all the applications under webapps context are created provided you followed
the folder structure. If it is a earlier version, then you can manually add
the context in server.xml located in catalina_home\conf\ folder.
I am building my application using Ant. It seems to be compiling but
fails at step to build javadoc. Will this impact running of the
application (I think not)? Here is the output of running Ant:
Buildfile: build.xml
clean:
[delete] Deleting directory
Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name
for that jar) in your classpath.
Regards,
David
-Original Message-
From: Alex Kravets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 10:47 AM
To: Struts Users Mailing List
Subject: running ant
I am
Hi,
How to retrieve multiple values selected for a html control like textarea
from the form ?
Thank you.
Sudheer
but then how can compilation step succeed?
David G. Friedman wrote:
Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name
for that jar) in your classpath.
Regards,
David
-Original Message-
From: Alex Kravets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005
May be you are missing commons-dbcp.jar assuming your DataSource is a
commons-dbcp DataSource.
On Wed, 19 Jan 2005 13:49:17 +0530, Kalluru Uma. Maheswar
[EMAIL PROTECTED] wrote:
Hi Vijaya,
That's all fine. I figured out the problem and its because I am
connectiong to mysql in
Dear All,
I am a new developer / IT Consultant. In my work I often need to gather
requirement from the end users. I am trying to improve my requirement
gathering techniques. Are there any books or websites that you guys can
suggest to me ?
Your help is greatly appreciated.
Regards,
Zainul
Alex,
Is there any possibility that your ant build file specifies a different set
of classpath components for the JavaDoc building section? If servlet jar
isn't in your CLASSPATH environmental variable then this idea could explain
the issue of java class compilation while JavaDoc has the
Sudheer,
Textareas are single fields, not like pulldowns which could have multiple
items selected (or checkboxes, etc.). Are you saying you have many
html:textarea tags with the same property name for different purposes?
-David, very confused by your question
-Original Message-
From:
I am trying to connect to a database in Action Class and set return data
into a vector. Then vector is set into session and session is read from
forwarded page. However, I am getting NullPointerException. Now I put
the part of the code that I think might generate an exception into try
block,
Hi,
1. I'd like to find some documentation on the possible values for format
attribute of the Bean:Write tag.
2. What I'd like to do is to convert to lowercase the property value
during a Bean:Write.
TIA,
Glenn
I guess the only plase where NPE may occure is the line:
String sqlQuery = ((ExecuteQueryForm) form).getSQLQuery();
Are you sure there's a form definition available for this action?
It means, is there a name attribute defined in an appropriate action
element in your struts-config.xml?
Vijaya S svijiya 'at' solutionscraft.com writes:
What is the tomcat version you are using. if it is 5.x then automatically
all the applications under webapps context are created provided you followed
the folder structure. If it is a earlier version, then you can manually add
the context in
You learn quickly. I like your idea of keeping the design simple as
Google does (not counting gmail I guess). Keep up the good work.
Erik
t t wrote:
Hi, all,
I just updated www.sportslovers.net using tiles. Take a look. Any comments or
suggestions will be appreciated!
T.T.
I am sure this part works, because if comment out try block everything
works fine. But If the cause of exception is the code in try block, how
come catch does not work?
Pavel Kolesnikov wrote:
I guess the only plase where NPE may occure is the line:
String sqlQuery = ((ExecuteQueryForm)
Hi
can we open a new window from action class?
i dont want to use
form action=display.jsp method=post
target=_blank
as i want to be able to open this new window from any
form( i have a menu option which can be executed from
any page of my website)
Basically i have a java script which looks like
PC,
What you mean by attaching the file locally is just placing your .jar file
into a directory on your server that becomes part of your classpath. This
has nothing to do with how you declare a tag library inside the JSP. It only
lets the server load the appropriate class files that are needed to
So the question is this - how do I retain values of nested properties that
aren't required to be (or cannot be) represented in the jsp?
The only values that you'll get when the form is submitted are the
values that the form has.
If you have values that you want to submit with the form, but
I am using tomcat 4.1.30
Vijaya S svijiya 'at' solutionscraft.com writes:
What is the tomcat version you are using. if it is 5.x then automatically
all the applications under webapps context are created provided you followed
the folder structure. If it is a earlier version, then you can
This should probably be an answer on the Wiki since I see this asked quite a
bit...
No, you cannot open a new window from an Action. Not directly anyway. Opening
a window is strictly a client-side activity. Therefore, you have two choices:
(1) Submit a form to _blank, as you said (actually,
On Jan 19, 2005, at 18:56, [EMAIL PROTECTED] wrote:
(1) Submit a form to _blank, as you said (actually, I think it's _new,
but my memory sucks so I'm not sure)
Actually, you can define whatever target you like.
There are a couple of standard ones though:
_blank - the target URL
Stack trace will give the line numbers if you compile with debug=on in
the ant javac task command or javac -g files if command line
compiling.
-Original Message-
From: Alex Kravets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 12:47 PM
To: Struts Users Mailing List
Interesting choice of countries on your registration page.
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 9:58 AM
To: Struts Users Mailing List
Subject: Welcome to sportslovers.net which is powered by Struts!
Hi, all,
I just updated
The two lines I think you want to validate first are:
String sqlQuery = ((ExecuteQueryForm) form).getSQLQuery();
and
session.setAttribute(query,form);
Since they are not within your catch, they could cause problems. If your form
is null, as someone else said, you'd be in trouble.
Also, if
How dynamic do you need the messages to be? Can't you just use argument
substitution in your messages?
e.g.:
error.message={0} must be between {1} and {2}.
new ActionMessage(error.message, fieldName, minVal, maxVal);
[EMAIL PROTECTED] 1/18/2005 6:07:34 PM
Anyone know how to pass errors
How dynamic do you need the messages to be? Can't you just use argument
substitution in your messages?
e.g.:
error.message={0} must be between {1} and {2}.
new ActionMessage(error.message, fieldName, minVal, maxVal);
[EMAIL PROTECTED] 1/18/2005 6:07:34 PM
Anyone know how to pass errors
For my own edification, can you expand on the ability to ...define whatever
target you like? I've never heard that before, I'd be interested to know
more. I'm wondering specifically since the browser wouldn't know what anything
other than the defined targets you referenced meant, how would
http://www.niallp.pwp.blueyonder.co.uk/lazydynabean.html
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html
Niall
These `LazyDynaBean' and `LazyActionForm' classes really are fantastic.
Just had a chance to crank out a simple Struts web app for a client.
I copied and renamed, then
I would debug this problem in the following ways:
* Verify if you are saving the errors to the request
* Make sure you are using saveErrors and not saveMessages
* Write a StrutsTestCase or a similiar testcase to verify the ActionErrors
* Have a dump of the request and see that the ActionErrors
I can not find any docs on how to precompile my jsps. I've seen some
references and I've figured out that I want to run jasper.bat which runs
jsp.bat but I'm stuck there. If I go to the tomcat bin directory and run
jasper jspc --webapp ..\webapps\dgjobs
I get:
Exception in thread main
On Jan 19, 2005, at 19:05, [EMAIL PROTECTED] wrote:
For my own edification, can you expand on the ability to ...define
whatever target you like? I've never heard that before, I'd be
interested to know more. I'm wondering specifically since the browser
wouldn't know what anything other than
Geez, I wish I'd have known that before! So are you saying that if the browser
doesn't recognize the target as one of the predefined types, it will assume it
should open a new window named according to the target value? That's cool, and
I didn't know it. It would have saved me some trouble a
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web%20Application%20Compilation
(tomcat 5 is required)
pavel
On Wed, 19 Jan 2005 13:40:24 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I can not find any docs on how to precompile my jsps. I've seen some
references and
Hi
thanx guys for the clarification, here is a very
intresting problem with defining target and opening
new window,
suppose you open a new window using java script in
mypage.jsp
your code will be like below in mypage.jsp
var TheNewWin;
if(!TheNewWin || TheNewWin.closed)
{
TheNewWin =
Just wondering if you are maintaining the URL in the address bar
constant using HTML frames (and not using some sort of configuration.
Also wondering what the configuration can be?). If you are infact
using frames, then your application should do some sort of state
(client state) management. It
On Wed, 12 Jan 2005 22:59:16 +0800, Irfandhy Franciscus
[EMAIL PROTECTED] wrote:
Dear All,
I am a new developer / IT Consultant. In my work I often need to gather
requirement from the end users. I am trying to improve my requirement
gathering techniques. Are there any books or websites that
Why not set the window name to something specific such as mysite_com_popup
and then use that name as a target in the future?
Regards,
David
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 2:28 PM
To: Struts Users Mailing List
Subject:
I am using frames. What should I look for to correct the problem?
Delivered-To: [EMAIL PROTECTED]
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post:
I'm using 4.1 and got the impression that the jasper.bat in the bin
directory does the compile. Is this incorrect? Not work well?
thanks
bp
-Original Message-
From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 2:07 PM
To: Struts Users Mailing List
On Wed, 19 Jan 2005 15:06:27 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm using 4.1 and got the impression that the jasper.bat in the bin
directory does the compile. Is this incorrect? Not work well?
I've never tried it with 4.1, I just know the Tomcat 5 solution I've
sent is
Thanks. I will.
Erik Weber [EMAIL PROTECTED] wrote:You learn quickly. I like your idea of
keeping the design simple as
Google does (not counting gmail I guess). Keep up the good work.
Erik
t t wrote:
Hi, all,
I just updated www.sportslovers.net using tiles. Take a look. Any comments or
Since I only have the names of states/provinces of those coutries for now.
T.T.
Huw Richards [EMAIL PROTECTED] wrote:
Interesting choice of countries on your registration page.
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 9:58 AM
To: Struts
Hi,
Thank you all who have taken a look at www.sportslovers.net and those who
answered my questions when I was developing this website. This email list is so
helpful.
Right now, I am looking for a job. Is there anyone who can introduce me to some
companies or introduce some companies to me?
Hi all,
This might look trivial, but took enough time and effort searching for the
answer
I am using struts tiles, and build the entire application without problems and
works great.
until I changed the reference to the dtd file in the tiles-definition.xml file
from the original:
!DOCTYPE
David,
I've tried that option before of course, and I re-did it again just to make
sure and still not solving it.
I've used the absolute path F:/Projects...
and changed the / with \\
and all did not work.
- Original Message -
From: David G. Friedman [EMAIL PROTECTED]
To: Struts Users
I need to know an additional question:
You sent me:
c:forEach items=${sessionScope.auditorList} var=auditor varStatus=status
I need to know if this would be correct as well, where
creditApplicationListDto.businessLine is a Boolean:
c:forEach items=${creditApplicationListDto.businessLine}
Hi,
Not sure it is the best practice...
I have a for to edit a user called UserForm. This form contains a popup
(select) with Customers.
I didn¹t find an easier way to include the data of the popup in the
UserForm:
Public class UserForm extends ActionForm {
protected ArrayList
This is a common and well documented idiom, but can be hard to
find in the archives ;)
The problem is that to display the form with the select list, you have
to prepare the select list before displaying the page.
When the user submits the form and validation fails, Struts will forward
to the input
No, single textarea with multiple item selected. I want to get the selected
items.
Thank you
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 11:02 PM
To: Struts Users Mailing List
Subject: RE: getting html:textarea multiliple values
This was a reply directly to me which I'm forwarding to the list so
future users can leverage the solutions provided in this message.
original message ---
Robert,
It is hard to find in the archives, but while I was reading the other
messages posted lately I found someone having the same
All right, I'll bite, what is a textarea with multiple items selected? The
html:textarea is a text input box. Are you thinking about another html: tag
which allows multiple selections, like html:select, html:option, and
html:options?
Regards,
David
-Original Message-
From: Sudheer
On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I need to know an additional question:
You sent me:
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
I need to know if this would be correct as well, where
I have a form whose fields are from an dynamic customer array. I display
Customer name and giving i/p field for Amount to enter.
The JSP might contain 2-3 text fields called amt against different customers (I
am identifying it with IDs)
My form bean is something like this,
public class
On Wed, 19 Jan 2005 18:25:55 -0800, Kishore Senji [EMAIL PROTECTED] wrote:
On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I need to know an additional question:
You sent me:
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
I
I promise I google'd first
I'm trying to use a multiple-select select box, for example:
html:select multiple=true property=bar size=5
html:option value=1One/html:option
html:option value=2Two/html:option
html:option value=3Three/html:option
html:option value=4Four/html:option
/html:select
And
Is there a way to have an action return to the page that it was
submitted from? This is what I have and what I'd like to do: I've got
a page that has a template in it for looking up account numbers. This
template goes in EVERY page in my application. I also have other pages
that perform
Not positive I completely understand the question, so I'll make a very
vague response.
You can:
1) Use the input attribute of an Action to specify the page that fed
it - if the validate() method on the ActionForm() returns a non-empty
ActionErrors, the user will go back there.
2) Specify a
Want to ask if many people implement something of a PRG in the handling of
Actions (and forwards)?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To all,
I have a web application that sets a session attribute with userID and a
timeout in the config file that times out after 5 minutes in case the user
walks away.
I am trying to figure out the best strategy to deal with cases where the
user comes back after 5 minutes and clicks on a
I'll suggest option #3:
Hide all JSP's under /WEB-INF/pages (or something like that) so you need
actions (or ForwardActions) to internally get to the JSP pages. Then, you
can modify the RequestProcessor.processRoles() method to perform your
security check for the session scope's userID object or
1 - 100 of 110 matches
Mail list logo