Use indices properties...
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
"The beginning of knowledge is the discovery of something we do not
understand."
- Frank Herbert (1920-1986)
"The essence of knowledge is, having it, to appl
If I remember correctly, I think the request processor did exactly what you
did on 2. And I think (1) approach is better and it consistent with MVC.
Just make sure that all of your request will go through the FrontController
then all of your response will have it header set with no-cache.
--danny
Constructor is the answer to your problem. There are no guarantee that the
servlet that set the data will be loaded before the servlet that accessing
it.
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
"The beginning of knowledge
Huh,
I don't know if managing your own Thread is recommended by container. Is
there another way around this? Like JMX or implement the service action and
have a Demom periodically ping that service action to execute the intense
action?
-danny
Danny Trieu
Internet Business Group
Downey Savings
I don't want to offense any one, and all though HashMap or DynaWhatever are
convenience, but isn't it anti OO? Meaning there are no type checking, and
you are just passing a bag of chunk around?
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
"T
In your deployment descriptor, web.xml, you can can set the ActionServlet's
parameter no-cache=true. The container will take care of this for you as
long as all of your request go through the FrontController.
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL
Usually, it is a bad idea to do these thing inside a JSP(or View). Front
Controller is where you want to do all these tuff. Sure, you can query the
session object before you invalidate its or just try/catch
IlligalStateException and ignore it.
Danny Trieu
Internet Business Group
Downey Savings
h?q=java+web+hosting
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 11:26 AM
To: [EMAIL PROTECTED]
Subject: Popular We Hosting???
Hi all,
Do you know of a popular webhosting that host Java's WebApps?
Thanks,
--danny
Dann
Hi all,
Do you know of a popular webhosting that host Java's WebApps?
Thanks,
--danny
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
"The beginning of knowledge is the discovery of something we do not
understand."
- Frank H
My guess is, you are using Weblogic8 which has problem with its jsp engine.
Don't know if the fix it yet, but for short you might have to change your
jsp from:
To...
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
"The beginni
#1
Danny Trieu
Internet Business Group
Downey Savings and Loan Association, F.A.
[EMAIL PROTECTED]
(949) 509-4564
"The beginning of knowledge is the discovery of something we do not
understand."
- Frank Herbert (1920-1986)
-Original Message-
From: Daniel Haynes [mailto:[EMAIL PROTE
Or you can use Tiles' tags to redefine it to
You prefer scope
-Original Message-
From: Frank Maritato [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:54 PM
To: Struts Users Mailing List
Subject: Re: using an attribute inside a tile
I just recently posted a question about th
Hi all,
I got: "cannot resolve symbol"
When trying to define:
And later access using Runtime Expression:
The actual output:
D:\opt\weblogicapps\ecommerce\.\.tmp_jsp_store\jsp_servlet\_loanorig_jsp\_mo
difymoredata\_optiontable\__tablecell.java:281: cannot resolve symbol
symbol : variable b
version of the class. The failover node is trying to
deserialize a class that was serialized on the original node as a different
version of the same class.
Steve
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List&
Hi All,
I have an ActionForm that has a FormFile attribute used for fileupload. I
had the attribute marked as transient so that the ActionForm can be
serializable and replicate in a cluster environment. However, the out come
is not what I am expected, it throws InvalidClassException. Does anyon
Thanks all,
With the help from my friend Steve Ditlinger(sslext), I undterstood the
problem. It is the same reason why File is not serializable
Thanks all,
--danny
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 9:01 AM
To
ver during file uploads? If so, can you describe how it is configured?
we are trying to provide this functionality...
thanks,
daniel
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 8:29 AM
Subj
Hi all,
I have an ActionForm used for fileupload that has an attribute of type
FormFile, that become null after a file being uploaded and on the failover
machine in our cluster environment it become null and throw a
NullpointerException. Does anyone know how this can be fix?
Thanks,
--danny
T
Transaction Token will help, but it will not do everything you want to do.
Max is right, this is the nature of Web application. Even with Transaction
Token user, if he has a copy of the token, can still create request and hit
your app without the app knowing about. Plus, not every resource in you
You want to make sure that formBean you compiled has only the simple bean
class itself and nothing more, i.e. there is no other BeanInfo class compile
with it. This once time my co-worker accidentally hit some bean wizard in
Jbuilder and it generate some BeanInfo class that get compiled and he has
Have you try Ted's website? http://husted.com/struts/index.html
-Original Message-
From: Raju BSN [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 24, 2003 11:00 PM
To: Struts Users Mailing List
Subject: suggestion needed
Hi,
I'm a new bee to struts. I have tried some examples and no
Hi All,
Does anyone have or still have the source code extension of Struts1.0 that
allow you to define multiple servlet instance with different mapping that I
can have? Any help is greatly appreciated.
Thanks,
--danny
This message and any attachments are for the intended recipient(s) only an
Here is how you should do it:
...
..
Your.jsp
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 5:07 PM
To: [EMAIL PROTECTED]
Subject: [Tiles Beginner Question] Href & Tile Definitions
I've successfully got tiles up and
for me though. Perhaps because it is sequential...the
first request will always be finished prior to the second request being
called (that is, in the iframe scenario).
Do you see any other way to do it?
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24
Wait a minute, You are putting something into the request and do a
sendredirect afterward to a JSP. This mean whatever you put in the request
is lost when your new request get to your JSP.
-Original Message-
From: Vinh Tran [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 5:43 AM
Jsessionid is being generated by the tag. The problem is in
your form bean implementation of the indexed property named 'signals'. In
your form bean you didn't implement your 'signals' property as indexed
property correctly.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROT
On your update(...) method you shouldn't call saveToken before you validate
your token. What this does is update the current session with a new token,
so the token you submitted with your from will not match the new one in the
session.
danny
-Original Message-
From: Dave Patton [mailto
I started looking into Struts about 2yrs ago, and it was about 6mons old
since Craig donated it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:34 PM
To: [EMAIL PROTECTED]
Subject: how old is struts
Craig,
Since you are one of
Either the orielly or manning book is good. Or you can buy them both
-Original Message-
From: Alok Pota [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 4:16 PM
To: [EMAIL PROTECTED]
Subject: Wanted a Good Struts Book
I am about to wrap up for the day and head out to a bookst
Can you be more specific on how your static class will be uses?
-Original Message-
From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 6:25 AM
To: '[EMAIL PROTECTED]'
Subject: Pros and Cons of using Static classes with struts
Can someone please tell me
s inventor) is working on a standard templating feature
that may be part of JSF. I'm short on the details so I'll let someone more
knowledgable fill them in. Until then, I'm perfectly happy using Tiles :-).
David
>From: "Trieu, Danny" <[EMAIL PROTECTED]>
&g
Does anyone if Tiles exist with JSF? Or there will something that will
replace Tiles.
danny
Chuck, I've got my copy from amazon yesterday.
Well done Chuck ...
-Original Message-
From: Chuck Cavaness [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 1:40 PM
To: Struts Users Mailing List
Subject: Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available
I'm sorry the copy
let me try it again today and see
if we have some how fix the primary problem of Exceptions thrown from JSP
scriptlet. Otherwise, I think we have achieved quite good results yesterday.
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'
;t catch
it and the stack trace is shown in the browser window!
- Original Message -----
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 4:10 PM
Subject: RE: Howto handle thi
s
redirect user to an error page. this cool. but the real reason I asked this
question is still there.
how do I handle a exception that is thrown out of scriptlet from a JSP page
that is one tile in the layout? did I miss something along the way?
ATTA
- Original Message -----
From: "Trieu,
, for your help and patience!
Regards,
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 2:30 PM
Subject: RE: Howto handle this behavior in
that we could
through exceptions other than the ones perform(...) could throw? is it
correct?
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 2:05
of Action class?
So, am I completely lost? I hope you won't mind my simplistic questions!!!
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18,
o you! thanks.
by the way, do you if this feature is available thru servlet 2.2 specs?
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 11:5
king
this because we are running ServletExec 3.1 that is compliant to Servlet 2.2
only.
Thanks.
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2
owards some starting points.
Thanks again.
ATTA
- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Cc: "Mebed, Waheed" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2
Hello,
Usually exception that being thrown by the VIEW(JSP) are rendering related
exception.
This could be tags/Scriptlet that access resource, JavaBeans, fails.
Meaning the
Resource is not there. And when these thing happen with composite view
thing became
A bit tricky. First of all, within th
Isn't there is a contextrelative attribute in the tag where you
can set to 'true'?
-Original Message-
From: wolfgang [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: How to Redirect ???
Hi there,
I wanna make users redirect(not forward
Have your action forward to a JSP page that in the end of the JSP it render
a JavaScript that will do the submit to the action that take long time to
finish. Usually the JSP that render the javaScript will have some sort
flash images that the user look at while waiting for the action complete it
p
inition.I
will try it,to find that the other part of the jsp can contain their status
or just return to their default status.
Anyway,thanks a lot.
Thomas.W
>From: "Trieu, Danny" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g
I don't think this is the right way for you todo. Here is what I think you
should do.
Have your JSP required a Tiles's parammeter, and from all the page that
include your JSP
Have them pass a param indicate where they are coming from. Or, determine
all the pages
That need to include your JSP, cre
/save stuff
> }
> else if("validate".equals(request.getParameter("action")))
> {
>saveToken(request);//validate stuff
>
> }
>
> any inside will be very helpful
>
> thanks
> gus
> Trieu, Danny wrote:
>
>> No-cache setti
Sure you can
-Original Message-
From: yoko hama [mailto:myohott@;hotmail.com]
Sent: Wednesday, November 06, 2002 6:52 PM
To: [EMAIL PROTECTED]
Subject: [Tiles]TilesAction and contents changing dynamically
Hi,guys.
I am a newbie to struts and tiles.
I wonder how can i get a part of
If Hue was to use Tiles' definition, then much more flexible. My preference
is
To use Tiles in this case. Of course, when performance become an issues
then you
Might want to consider other approach, and this could be using tags. Or,
use
Fragmented-cache, I mean using cache tags to prevent Tiles
Hehe... I don't know about that, but I know no one holding you back from
using Struts...
-Original Message-
From: Struts One [mailto:struts_1@;hotmail.com]
Sent: Wednesday, November 06, 2002 8:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Final release for Struts 1.1
>>
>>I always thought t
t of the Struts distribution?
JUnit?
-Original Message-----
From: Trieu, Danny [mailto:DTrieu@;downeysavings.com]
Sent: Thursday, October 31, 2002 12:57 PM
I just want to know what do you think of having some sort of testing
framwork like StrutsTestCase, a Cactus extension, as part of Strut
Hi all,
I just want to know what do you think of having some sort of testing
framwork like StrutsTestCase, a Cactus extension, as part of Struts'
distribution.
Thanks,
danny
n the controller to no-cache part?
Trieu, Danny wrote:
>Use transaction token to guaranty your transaction. And don't forget
>To set your controller to no-cache.
>
>-Original Message-
>From: David Graham [mailto:dgraham1980@;hotmail.com]
>Sent: Wednesday, October
Use transaction token to guaranty your transaction. And don't forget
To set your controller to no-cache.
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Wednesday, October 30, 2002 7:29 AM
To: [EMAIL PROTECTED]
Subject: Re: back button
That is an absolutel
First of all you need to implement the execute method and let the exception
throws out of your methods And here is the config for your exception to
handle the handler exception
-Original Message-
From: Gudla, Madhuri [mailto:MGudla@;americanaships.com]
Sent: Thursday, October 24
Look at you tld file. You need to allow RE for attribute key.
danny
-Original Message-
From: Emmanuel Boudrant [mailto:b7st@;yahoo.fr]
Sent: Wednesday, October 23, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: Problem with scriplet inside tag attribute. (struts-layout)
Hi,
I've got a p
Think of the template.jsp is the servlet that currently running, and
rendering text in response to the broser. Your other section on the
template.jsp, the content and the header, do a dynamic include which in
result as a forward to the intented jsp. We all know that once the server
start writing
User tag
-Original Message-
From: Podhigai Thendral [mailto:pisthu@;rediffmail.com]
Sent: Thursday, October 17, 2002 5:09 AM
To: [EMAIL PROTECTED]
Subject: Changing focus in case of errors
Hi all,
In case of errors in form validation, I am able to get them
displayed using . Is t
Use paramName and paramProperty to pass in param.
-Original Message-
From: Marcus Andersson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 7:59 AM
To: '[EMAIL PROTECTED]'
Subject: Link tag and jsp expressions
Hello
I want to the following:
<%=project.getName
()%>
When thi
By default get its messages as errors messages. That is why you
have no messages display.
There is an attribute messages in the messages tag that needed to set to
'true' then you will get your message from the message chanel.
danny
-Original Message-
From: Eu Hin Chua [mailto:[EMAIL PR
e
there! What I meant by "scriptlet" was a runtime expression in JSP.
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 23:17
To: 'Struts Users Mailing List'
Subject: RE: changing "action" for a form dynamicall
I would rather using Tiles to do the work then javaScript(j/k... JavaScript
is evil). You can create a form layout that know how to config its action,
and allow different definition using. In your action mapping you can have
as many local forward mapping as you can for you action to returns or y
Drop down list data should be cached, if data is not updated dynamicly.
With Struts, if you are using Tiles, you can created a drop down list
components get the list data from cache via controller class.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, Septem
No .. You can use Action.Globals.EXCEPTION_KEY to get it from the request ..
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 2:52 PM
To: 'Struts Users Mailing List'
Subject: RE: Declarative exception handling
I'm not certain, but
n IE . What really
happens?
Hi,
check if u have following lines in your html
or following code in your jsp
<%response.setHeader("Cache-Control","no-store");%>
if yes, then it tells the browser that is should not
load the page from cache and load a fresh page , an
Browser diplay messages saying the page has been expired when I hit the back
button after I submitted a form. Can someone point out what happens?
Thanks,
Danny.
Yes ...
-Original Message-
From: Brett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 10:40 AM
To: Struts Users Mailing List
Subject: RE: Executing code before each action
If I understand servlet filters correctly you mean I could simply set /* to
go to my filter and the
In short, what you are doing is templating your action classes. This is
good if it is a core service to the action class. Another alternative way
is to use servlet filter, this is good because your action class to not need
to know the default behavior, plus it doesn't need to since the action cl
Use servlet filter
-Original Message-
From: Brett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: Executing code before each action
Hello,
I have a piece of code than I need to execute before each action (it checks
which country
. How can I prevent URL of the
detail page from showing on the master page?
-Original Message-----
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 10:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Help with master-details screens
Use transaction t
Use transaction token provided by the form tags.
-Original Message-
From: Hoang, Hai [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 8:53 AM
To: 'struts-user'
Subject: Help with master-details screens
The user clicks on a link on the master page, which lead to a detail page
It all be best to have a single entry for session data. However, if
scalability is an issue, we all need to consider size of the Object being
hook to the session. Size does matter when you apps run in a clustering
enviornment. Of, replicating a small object at a time is always better the
a whol
Where is your default app settings?
-Original Message-
From: Heiko Stoermer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 7:15 AM
To: [EMAIL PROTECTED]
Subject: Problems with sub-applications
Hello,
we're using the latest snapshot of Struts 1.1 (jakarta-struts-2002090
Despite how humorous the [OT] subject are it end up in my trash before I can
remember it. I am glad you brough this up, and hopefully it will ends here
so I don't don't have to click on the delete button so many time during the
day.
danny
-Original Message-
From: Craig R. McClanahan [
I think there is something wrong with Weblogic. I didn't have the problem
you described, but my was not able to use the struts1.1b2 on weblogic7.0 at
all. It keep complain about the servlet is not executable by the container
because of some methods not implemented And it works fine on tomca
rom: Darren McGuinness [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 9:24 AM
To: Struts Users Mailing List
Subject: Re: action mapping question
1) I dont need a logoff form, but if i dont have one then i get errors of
type: form bean null.
2) 1.0
"Trieu, Danny" wrote:
&g
1) why would you need a logoff form?
2) what version of struts are you using?
You don't have to have a form bean declare for an action mapping. The
reason it throw the exception
Because you have the input attribute setting. With this setting the
controller makes assumsion that your mapping has
So who is the Spec Lead.. j/k
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 3:55 PM
To: Struts Users Mailing List
Subject: Re: [OT ARTICLE] JavaServer Faces on theserverside
On Fri, 30 Aug 2002, Emmanuel Boudrant wrote:
Great,
Before I found out about iframe I created hidden frame to do the work.
danny
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 7:51 PM
To: Struts Users Mailing List
Subject: RE: Confirmation prior to post
I saw an article about do
Amit,
I've been using Struts/Tiles for quite sometime. They works well together.
My only advice is stay away from frame and JavaScript that control the
look&feel as much as possible(this doesn't mean you have to avoid using it).
danny
-Original Message-
From: Amit Badheka [mailto:[EMA
Implement the HttpSessionListener
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 7:56 AM
To: [EMAIL PROTECTED]
Subject: RE: Setup globals per new session
Hello,
You could have an index page that automatically redirects to a st
I had the same problem too. Wonder if this is Weblogic class loader problem
or it is b2 problem.
-Original Message-
From: Ananda Chaudhuri [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 25, 2002 4:11 PM
To: [EMAIL PROTECTED]
Subject: Has anyone made Weblogic 7 work with Struts 1.1b2?
Yes there is way.
Use Web.xml's error-page mapping
java.lang.Exception
/errors/catchError.do
And handle your exception declaratively in your struts-config.xml. Usually,
I have this
As a Sub-module that handles all the global and plugable exception handling
so I can r
<101018>
<[ServletContext(id=8303299,name=onlinebanking,context-path=/onlin
ebanking)] Servlet failed with ServletException
javax.servlet.ServletException:
[ServletContext(id=8303299,name=onlinebanking,context-path=/onlinebanking)]:
Servlet cla
ss org.apache.struts.action.ActionServlet for serv
. The first tiles plugin called creates the Tiles factory.
The others only set the appropriate request processor associated with
the previously created factory.
Cedric
Trieu, Danny wrote:
>Cedric,
>
>Working with Sub-Module evironment. Do you have to have the Tile
>Plugins
Hi all,
I was using the TilesRequestProcessor, with 1.1b1. When I tried to map:
400
/test/errorHandler.do
in my web.xml. My weblogic run into an infinite loop and crash. It works
just find if I map it to a JSP/Html page.
Is
Does anyone have any idea why my setting in my
config.xml sub-module is not working? I tried with the lastest build and it
still not working at all...
Thanks,
Danny
Cedric,
Working with Sub-Module evironment. Do you have to have the Tile Plugins
setup within every Sub-module config.xml files? Can we just have it in the
Default Sub-Module?
Thanks,
danny
like an normal forwardConfig. So, Tiles catch the exception forward and
check for tiles definition name before struts do its forward.
Cedric
Craig R. McClanahan wrote:
>On Tue, 13 Aug 2002, Trieu, Danny wrote:
>
>
>
>>Date: Tue, 13 Aug 2002 16:31:27 -0700
>>From: "
ease explain so we all can learn.
>
> Thanks Craig,
>
> danny
>
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 5:21 PM
> To: Struts Users Mailing List
> Subject: RE: Local/Global Exception Handling:
onfig.xml
On Tue, 13 Aug 2002, Trieu, Danny wrote:
> Date: Tue, 13 Aug 2002 16:31:27 -0700
> From: "Trieu, Danny" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]&
t: Tuesday, August 13, 2002 4:13 PM
To: Struts Users Mailing List
Subject: Re: Local/Global Exception Handling: How do you specify
ContextRelati ve path(action's input) in the Sub-Apps' struts-config.xml
On Tue, 13 Aug 2002, Trieu, Danny wrote:
> Date: Tue, 13 Aug 2002 14:43:48 -070
Craig,
Do you know how this can be done?
Thanks,
Danny
Chuck,
I just did that, and I understood what it was trying to do:
I do have 'path' attribute declared for my exception, and it start
with "/" like this:
path="/errors/foo.jsp"
And in the RequestProcessor.processActionForward(...)
.
} els
with an ActionForward or at least be able to to declara whether the
'path' or 'input' attribute
is contextRelative, just like how you declara an ActionForward.
Any idea?
Thanks,
danny
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Tu
Chuck,
I am getting 404 with the 1.1b1.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 10:52 AM
To: Struts Users Mailing List
Subject: Re: Declarative Exception handling using the Tiles RequestProcesso
an d the SubApp feature of Stru
Chuck,
What is your take on this? When I throw and Exception within and Action,
Struts found my declared Exception alright. But it doesn't seems to find
the path to the resource I declared. This happens in my SubApp, and I was
using the Tiles Controller. Noticed, the path I defined for the Exc
Hi all,
I am using Struts1.1b1. I config my app using the Tiles' RequestProcessor,
and was using the SubApp and the local/global Exception handling features of
Struts1.1. I've got a Resource not found page from the server.
Does anyone experienced the same behavior? And Does anyone have a so
This might have been reported before, but if not I hope what I point is
really a bug.
Int the
RequestProcessor.processForward( request, response, mapping ) {
.
String uri = appConfig.getPrefix() + forward ;
}
shouldn't you need to check if f
1 - 100 of 184 matches
Mail list logo