hi,
just joined the list, and i have a newbie question about struts design.
this is where i am at. i have looked at struts about a year back, and rolled
my own version of mvc web architecture, stealing several basic ideas from
struts. at the time, it appeared that many features of struts were
I have an action that creates a bean. That bean has a
property myStrings that returns a collection of String
objects.
On a jsp, I want to list the strings. If my jsp has
this:
logic:iterate id=myId name=myBean
property=myStrings
bean:write name=myId/
/logic:iterate
Then I get an exception
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property myStrings that returns a collection of String
objects.
On a jsp, I want to list the strings. If my jsp has
this:
logic:iterate id=myId name=myBean
property=myStrings
Solved, well done.
I'm glad I put 'newbie' in the subject line now :-)
Thanks,
Steve
On 9 Mar 2004 at 11:03, Daniel Henrique Alves Lima
wrote:
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property myStrings that returns a
Hi all,
Other possibility is to check whether 'myBean' exists in some scope.
Cheers,
Daniel Silva.
--- Daniel Henrique Alves Lima [EMAIL PROTECTED] wrote:
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property
Hi,
I am new to struts. I found a number of simple tutorials (with examples) to understand
struts-1.0, but there seems to none for struts-1.1. I have gone through one struts-1.0
tutorial given at jspfinder.com, which is good.
Can you please recommend for struts-1.1 (with examples)?
Thanks,
: Satya Narayan Dash [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 9:31 AM
Subject: Newbie question
Hi,
I am new to struts. I found a number of simple tutorials (with examples) to
understand struts-1.0, but there seems to none for struts-1.1. I have gone
through one
I have some trouble using a boolean (the primitive type) property inside
an ActionForm. What I'd like to know is if Struts looks for a
getProperty method or isProperty method... It seems Struts always calls
the getProperty, but as I know it should call the isProperty!!
Is the behavior with a
properties - Newbie question
I have some trouble using a boolean (the primitive type) property inside
an ActionForm. What I'd like to know is if Struts looks for a
getProperty method or isProperty method... It seems Struts always calls
the getProperty, but as I know it should call the isProperty
sorry for this newbie question, tried, googled, but
can not find an anwser:
I have a Action class (myAction) and a utility class
(myABC class), in myAction, I try to instantiate it:
myABC abc = new myABC (..);
when compiling, error msg:
~~~
cannot reolve symbol
symbol
, January 19, 2004 10:04 AM
Subject: newbie question : cannot resolve symbol when compiling an Action
class
sorry for this newbie question, tried, googled, but
can not find an anwser:
I have a Action class (myAction) and a utility class
(myABC class), in myAction, I try to instantiate
an be found that
matches myABC
(..). So, be sure there is such a constructor.
- Original Message -
From: lixin chu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 10:04 AM
Subject: newbie question : cannot resolve symbol
when compiling an Action
class
I've been trying to modify the logon app from Struts in Action to use
the new features in Struts 1.1 but am having a problem I haven't be
able to solve. I replaced html:errors/ in Logon.jsp with
html:messages id=error
bean:write name=error/
/html:messages
and get the following error:
] newbie question/problem
I've been trying to modify the logon app from Struts in Action to use
the new features in Struts 1.1 but am having a problem I haven't be
able to solve. I replaced html:errors/ in Logon.jsp with
html:messages id=error
bean:write name=error/
/html:messages
and get
I'm making using struts for more or less than first time.
I read the FAQ on how to handle logins to an application and I'm left with
one question:
Why stop a storing a Boolean in the session to determine logged-inness?
Why not just store the (validated) User object in the session and check
Wednesday, November 12, 2003, 11:03:15 AM, you wrote:
JH Why stop a storing a Boolean in the session to determine logged-inness?
JH Why not just store the (validated) User object in the session and check for
JH it's presence? That way, if it's there, one can utilize the data in the User
JH object
Hi all !
Sorry, about a such stupid question but I try to have my application redirects to an
external web site with some parameters.
Here is an exemple : http://payOnline/$cashAmout/$name
For the moment i'm just try to redirect to an external website like yahoo but the
search path is always
with a html:redirect
href=http://www.yahoo.com; tag
Nico.
- Original Message -
From: Mathieu Grimault [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:16 PM
Subject: Newbie questionredirect
Hi all !
Sorry, about a such stupid
]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Newbie questionredirect
Date: Wed, 5 Nov 2003 14:22:47 +0100
contextRelative is used to define a forward that is relative to the
application context and not to the module context
: Wednesday, November 05, 2003 4:06 PM
Subject: Re: Newbie questionredirect
Nicolas,
I think your reply will help me with my post too - trying to switch web
modules - help
but I don't see a sendRedirect() method of the requestDispatcher object.
How can I call this sendRedirect() - sounds like
Hello all,
how do I reload changes to the struts config file without rebooting
tomcat?
kind regards,
Geert
-Original Message-
From: Frers Michael [mailto:[EMAIL PROTECTED]
Sent: woensdag 29 oktober 2003 9:49
To: Struts Users Mailing List
Subject: Re: a query regarding message-resources
I have a form that has two select boxes. One need to be pre-populated
on load. The second will be populated when a use selects one of the
elements in the first list.
Can this be accomplished and if so how?
I would really like to use DynaActionForms if possible.
Nathan
-
From: mobile q [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: newbie question: results display on same
page?
Hi,
I am working on a page which has a user search
form,
the results should be displayed at the bottom of
the
page
Hi,
I want to define a bean name called myBean which contains view
hashtable.
How can I approach it in jsp file?
like this?
bean:define id=myBean
??
/bean:define
Thanks in advance.
--Zoe
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and
confidential. Any use, copying
Hi,
I am working on a page which has a user search form,
the results should be displayed at the bottom of the
page once user clicks on get button.
I try to use logic:iterate tag to do the job. My
problem:
if I include this display loop inside html:form, it
tells me the results are null when I
, 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: newbie question: results display on same page?
Hi,
I am working on a page which has a user search form,
the results should be displayed at the bottom of the
page once user clicks on get button.
I try to use logic:iterate tag to do the job. My
them together on one page. It's flexible enough so
you can reuse one or more
component elsewhere, or change your mind and
separate them later, etc.
-Original Message-
From: mobile q [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: newbie
Hi,
I am very new in struts and facing a problem now. Please help.
What I want to do is when user click a image, it will link to yahoo.com
which is defined as link.yahoo in the config property
file. How can I approach this?
After it generate the html source codes, it will be like
a
have a look at html:link tag documentation ...And try to use the struts tags as much
as possible...
-Original Message-
From: Peng, Meimin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 5:23 PM
To: 'Struts Users Mailing List'
Subject: html tag newbie question
Hi,
I am very
Hi,
I still don't know how to do it.
I try to avoid hard code anything, have any logic, have html tag, and have
javascripts in jsp file.
Overall, jsp file will just display whatever I got from properties or beans.
Is there a way to do like this for example: html:link href=bean:message
Hi, guys:
I have two methods in a DispatchAction class: save,
delete
and I have two buttons in a jsp page: save, delete.
In order to successfully save and then forward to
another
page, I can do the following:
html:submitbean:message
key=button.save//html:submit
html:hidden property=method
]
Subject: newbie question: how to handle two dispatchAction methods in a jsp
page?
Hi, guys:
I have two methods in a DispatchAction class: save,
delete
and I have two buttons in a jsp page: save, delete.
In order to successfully save and then forward to
another
page, I can do the following
:33
To: [EMAIL PROTECTED]
Subject: newbie question: how to handle two
dispatchAction methods in a jsp
page?
Hi, guys:
I have two methods in a DispatchAction class: save,
delete
and I have two buttons in a jsp page: save, delete.
In order to successfully save and then forward
it will confuse Internet Explorer.
-Original Message-
From: victor gusz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 14:04
To: Struts Users Mailing List
Subject: RE: newbie question: how to handle two dispatchAction methods in a
jsp page?
Hi, Jerome:
Thanks for helping.
I tried out
I have two jsp pages. sicpage0.jsp and sicpage1.jsp
sicpage0 is a static page. when I submit sicpage0, it calls an action
class which populates sicpage1.jsp with data.
Now I want to call sicpage1.jsp directly without first calling
sicpage0.jsp.
But sicpage1.jsp is not getting populated with
Now I want to call sicpage1.jsp directly without first calling
sicpage0.jsp.
But sicpage1.jsp is not getting populated with data since the action
class is not getting called.
create a global forward to the action, and call the forward.
--
Bryce Fischer [EMAIL PROTECTED]
How can I test if a collection is not null before iterating through it?
Does the logic:iterate tag do this ckeck and skip the iteration if the
collection is null?
Thanks a lot,
Todor
-
To unsubscribe, e-mail: [EMAIL
Check logic:notEmpty tag
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Todor
Sergueev Petkov
Sent: Saturday, August 09, 2003 12:32 PM
To: Struts Users Mailing List
Subject: Newbie question: Testing if collection is != null before
iterating
How
Hi you all, i'm starting with struts and after reading and testing a bit, i
have a question.
Suppose I create a form where the user should choose a car model, for
example, lets say model1, model2 and model3. Suppose that i need to get that
models of a database. And suppose too that after the
:).
if(! errors.isEmpty()) {
...
return (new ActionForward(page1));
}
-Original Message-
From: Sebastian F. Martin [mailto:[EMAIL PROTECTED]
Sent: July 30, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: newbie-question: validation across multiple
Hi all,
I've been studying the mailing list but couldn't find anything that
would help me. I'd be grateful if someone could give me a hint on this:
I am collecting user input across multiple pages and validate it in the
validate() method of the ActionForm. If an input field on the second or
the
Hi all,
How do you render following html with the help of struts-html tld :
input type=submit name=Save value =Save
input type=button name=Cancel value =Cancel
I don't have any other info like other parameters to include on pressing any
of the buttons .
Thanks,
Jitesh
Mailing List
Subject: Newbie question :Rendering buttons of type submit and button
Hi all,
How do you render following html with the help of struts-html tld :
input type=submit name=Save value =Save
input type=button name=Cancel value =Cancel
I don't have any other info like other parameters
Hi
I couldn't spot anything wrong below, did you get any runtime exceptions?
If so, show a snippet.
--Alen
Hello,
This question probably might have been asked many a times. But I searched
the archive (though not fully) but could not find this. So, if anybody has a
solution please do let
Hi,
There are no exceptions at all! Once the
FormBean is executed the control is not passed on to the Servlet!
Regards,
Samanth Athrey
Alen Ribic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I couldn't spot anything wrong below, did you get any runtime exceptions?
If so, show
Hello,
This question probably might have been asked many a times. But I searched
the archive (though not fully) but could not find this. So, if anybody has a
solution please do let me know.
I have developed a sample application, which takes in an input and based on
that displays either a success
Sorry for the newbie question... my brain not responding...
Using mapping.findForward(xxx).getPath(), I am able to to get the the
context-relative path.
But how do I get the full path, eg. http://localhost:8080/myApp/xxx.do ?
Regards,
Daniel
-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 10:48
To: 'Struts Users Mailing List'
Subject: newbie question: how to get context path?
Sorry for the newbie question... my brain not responding...
Using mapping.findForward(xxx).getPath(), I am able
Oooops... thanks!
Regards,
Daniel
-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July, 2003 5:54 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: newbie question: how to get context path?
-Original Message-
From: Daniel
Hi,
I did not put my question in a nice method previously.
I am trying to retrieve data from database and pass
data into a JavaScript function as an Array and
display it on my JSP page.
If I have to write a Scriptlet inside JavaScript code
to get data from db, what kind of Java data form
.
-= J
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:56 AM
To: [EMAIL PROTECTED]
Subject: newbie question: Java array to JavaScript Array
Hi,
I did not put my question in a nice method previously.
I am trying to retrieve data
James:
Thanks for your nice presentation. I will try it out
right away.
regards,
rick
--- James Childers [EMAIL PROTECTED] wrote:
You'll need to do a couple of things:
1) (Assuming you're using Struts, of course.) Create
your Java array/collection/whatever in the Action
that gets hit
More questions about the following:
1) It says in logic tags reference:
id: The name of a page scope JSP bean that will
contain the current element of the collection on each
iteration, if it is not null.
So, it means myList ArrayList should conform
to JavaBean routines, is that right? For
Hey everyone,
I'm new to Struts and was wondering if anyone has ever attempted to create a dynamic
HTML table (using JavaScript) that gets and sets values contained in a form bean from
a JavaScript array when rows in the table are being added or deleted and upon the form
being submitted.
Hi,
I did the following, but the results were not
displayed.
Whats wrong with my code?
products is a collection of ArrayLists, every
arrayList contains
a list of ProductBeans, ProductBean has productName
and productId properties.
products are retrieved in action class and are put
into session
Man, this is really sick ;-). If I'm understanding you, maybe this will work (or
maybe not...):
var products = new Array();
logic:iterate id=productBeans name=products indexId=i
var productBeansbean:write name=i/ = new Array();
logic:iterate id=productBean name=productBeans indexId=j
Hahahahaha.Kris, yes this is sickening. More so
after trying all possible solutions. This ruined my
Friday :((.
regards,
Rick
--- Kris Schneider [EMAIL PROTECTED] wrote:
Man, this is really sick ;-). If I'm understanding
you, maybe this will work (or
maybe not...):
var products =
So it's still not working? Can you post some of the generated
JavaScript? I was shooting for something like this:
var products = new Array();
var productBeans0 = new Array();
productBeans0[0] = [name0, id0];
productBeans0[1] = [name1, id1];
...
products[0] = productBeans0;
var productBeans1 =
session scope
or hidden fields on each page.
sandeep
--- Norr, Peter [EMAIL PROTECTED] wrote:
I am developing a wizard style form..
How do I obtain the value submitted in the previous
page of a form from the
jsp page?
For example, in step2.jsp I need to know what was
selected in
I am developing a wizard style form..
How do I obtain the value submitted in the previous page of a form from the
jsp page?
For example, in step2.jsp I need to know what was selected in step1.jsp.
Thanks!
Peter
--
: Newbie question about form variables.
I am developing a wizard style form..
How do I obtain the value submitted in the previous page of a form from the
jsp page?
For example, in step2.jsp I need to know what was selected in step1.jsp.
Thanks!
Peter
Yes I understand.
But how do I acces the Form Bean from the jsp page?
Peter
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:40 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.
one way is to have
PROTECTED]
Subject: RE: Newbie question about form variables.
Date: Thu, 17 Jul 2003 15:02:11 -0400
Yes I understand.
But how do I acces the Form Bean from the jsp page?
Peter
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:40 PM
Does Struts 1.1 come with JSTL implementation?
If so How do I use it?
Peter
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie question about form variables.
scriptlets (bad choice)
custom
: Newbie question about form variables.
Yes I understand.
But how do I acces the Form Bean from the jsp page?
Peter
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:40 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about
PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Newbie question about form variables.
Date: Thu, 17 Jul 2003 15:12:33 -0400
Does Struts 1.1 come with JSTL implementation?
If so How do I use it?
Peter
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent
Yes! But I am using DynaActionForm.
I would also like to query the value submitted from step1.jsp..
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:14 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form
It doesn't matter, a DynaActionForm has a name just like other action forms.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie question about form variables.
Yes! But I am using
Mailing List
Subject: RE: Newbie question about form variables.
It doesn't matter, a DynaActionForm has a name just like other action forms.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie
:20 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.
It doesn't matter, a DynaActionForm has a name just like other action forms.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 11, 2003 9:15 PM
Subject: newbie question - setting form parameter in Javascript
Hi,
I have an HTML form with Submit and Cancel buttons, and a drop down list,
which when clicked submits the form. I use Javascript to submit the form
when
My Javascript function is given below:
SCRIPT language=JavaScript
function submitForm(form)
{
form.action.value=Lookup;
form.submit();
return true;
}
#
and I invoke this function in my HTML form as shown below:
Mark,
Thanks a lot for your mails. I have used action as a form bean property and not as a
parameter in struts-config. Unfortunately, the Javascript function doesn't seem to
work...it does not set the value of the ActionForm property, action.
When I tried to print out the value of the action
Hi,
I have an HTML form with Submit and Cancel buttons, and a drop down list, which when
clicked submits the form. I use Javascript to submit the form when the dropdown list
is clicked.
I have a property called action defined in my ActionForm class that identifies the
Submit and Cancel
You will need to create a hidden field named action, with a value of
Lookup:
html:hidden property=action value=Lookup/
My question to you iswhy Lookup? What does that have to do with your
form?
Here's a sample:
SCRIPT language=JavaScript
function submitForm(form) {
James,
Thanks for your mail. I guess I need to elaborate a little bit. My HTML form can be
submitted in 2ways.
1. Clicking the Submit button.
2. Clicking the drop-down
Clicking the drop-down triggers a different action than clicking the Submit button.
Selecting a value in the drop-down would
check out dispatch actions..
you can have multiple execute methods with dispatch action ...
Your Action class extends DispatchAction instead of action (check the
docs)
public final ActionForward submit(
ActionMapping mapping,
I think I see where you are goingtry setting the form action instead:
SCRIPT language=JavaScript
function submitForm(form) {
document.frm.action=lookup.do; // --Change this to not be hard-coded
form.submit();
return true;
}
/SCRIPT
form name=frm action=? method=GET
input type=hidden
Its better that this is posted to the list as well, after all its a
good question and hopefully an adequate answer.
script language=javascript type=text/javascript
!--
function lookup(form) {
form.elements['action'].value = lookup;
form.submit();
}
//--
/script
html:form
opps my action in struts config is wrong... But you should still have
the right idea..
On Saturday, July 12, 2003, at 12:45 AM, Mark Lowe wrote:
Its better that this is posted to the list as well, after all its a
good question and hopefully an adequate answer.
script language=javascript
Hi, I am currently developing a webapp with Struts 1.1 and I have decided to
use the DispatchAction to group functionality, instead of having a large
bunch of single Action classes.
Now I face the following problem: I want to have some pre-processing generic
code invoked for every action, but I'd
Sashi, your person bean must have getName(), setName() and getPhoneNo(),
setPhoneNo().
Everybody: I haven't come across the html:taglib indexed property
before. This seems to do what nested: tags do - is this functional overlap?
Generally with JST taglib as well, there seems to be a wide
Sorry, if this question has been posted before (I just joined the
group) Is there anyway to browse thru all the group messages on the web?
I am trying to implement multiple input pages where the user will enter input data
from one page to the next by using the next button.
How do I capture all
To: [EMAIL PROTECTED]
Subject: Newbie Question: Multiple User Input Screen
Sorry, if this question has been posted before (I just joined the
group) Is there anyway to browse thru all the group messages on the web?
I am trying to implement multiple input pages where the user will enter
input data
Hint: Search for Wizard
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:20 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Newbie Question: Multiple User Input Screen
Yes, if you go to the Struts pages on Jakarta
setters do i implement in an indexed tag --NewBie
question
Sashi, your person bean must have getName(), setName() and getPhoneNo(),
setPhoneNo().
Everybody: I haven't come across the html:taglib indexed property
before. This seems to do what nested: tags do - is this functional
overlap
--NewBie
question
Sashi, your person bean must have getName(), setName() and getPhoneNo(),
setPhoneNo().
Everybody: I haven't come across the html:taglib indexed property
before. This seems to do what nested: tags do - is this functional
overlap?
Generally with JST taglib as well, there seems
I am new to Struts and Tiles and am trying to make it work. I have written a
simple web site that uses the html:link forward=some forward name ... and
this works well. The some forward name is currently defined in the
global forwards section of the struts-config.xml I have looked at the
To: 'Struts Users Mailing List'
Subject: Newbie Question: Tiles and html:link how to make it work.
I am new to Struts and Tiles and am trying to make it work. I have written a
simple web site that uses the html:link forward=some forward name ... and
this works well. The some forward name is currently
Glenn
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:25 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Your forward path can be a Tiles Def in the struts-config. You don't
on this forum.
-Original Message-
From: Davidson, Glenn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Thanks for the quick response!
Lets say I have a menu item
Glenn
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 3:19 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Like I said. Don't link to any JSPs from a JSP. So you need to look
want to go.
In posts from yesterday or the day before I posted exactly how I do it for a
concrete example.
-Original Message-
From: Davidson, Glenn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 4:48 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles
Hi,
I have DataAccessException thrown by DAO class and catched by
BusinessDeligate class. ApplicationException thrown by BusinessDeligate
class and catched by MyAction class. I want to send a jsp to clients to
display a message that the clients submit a duplicate entry in their
request. What
Return a forward appropriate to the exception caught?
-Original Message-
From: Leon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:45 PM
To: Struts Users Mailing List
Subject: Newbie question: how does MyAction class handle Exceptions?
Hi,
I have DataAccessException thrown
Message -
From: Mike Jasnowski [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:45 PM
Subject: RE: Newbie question: how does MyAction class handle Exceptions?
Return a forward appropriate to the exception caught?
-Original Message-
From
Leon wrote:
I should forward an ApplicationException to MyAction class and then,
MyAction finds an appropriate jsp based on the message in
ApplicationException. But, how can I know the SQLException thrown by
persistance tire is duplicate entery SQLException or other SQLException?
Put an
otherwise
/
/global-exceptions
I like keeping the try catches out of my Action class.
-Original Message-
From: Leon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:33 PM
To: Struts Users Mailing List
Subject: Re: Newbie question: how does MyAction class handle
Hi to all,
I am new to Struts-Tiles(1-day),
I am new to this technology, i would to use it in a web-application,
My questions is:
Can the Struts-Tile colloborate Ok with JavaScript and XSLT.
In other words can in a Jsp Page use Java Script XSLT with Tiles and
work OK?
Thanks in advance.
help.. Sorry.
-Original Message-
From: Vangelis Konstantinis [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: NewBie Question
Hi to all,
I am new to Struts-Tiles(1-day),
I am new to this technology, i would to use it in a web-application,
My
1 - 100 of 431 matches
Mail list logo