I am planning to create path (web-root path), like kind of application
specific variable with whome i can refer all my CSS,JS and images
though i can do it with simple JSTL etc but want to create a simple approach
its quite possible i might be entirely wrong here in term of approach
On Thu, Ju
Hi,
Maybe my understanding is wrong. Please go ahead.
Best Regards,
Sam Song
Cognizant Technology Solutions
From: vEnkaTa mohAna rAo SriperumbUdUru
Date: 2012-06-29 01:21
To: Struts Users Mailing List; samsongbest
Subject: Re: Re: Using Base Action for application (struts2)
Hi,
What you want
Hi,
What you want to do here, explain to us if so we can provide better
solutions how it should be done in struts2 style.
Java Rocks.
On Thu, Jun 28, 2012 at 9:44 PM, samsongbest wrote:
> Hi Aum,
>
> Let me give you some simple code.
>
> public Class BaseAction{
>
> //constructor method
> publ
Hi Aum,
Let me give you some simple code.
public Class BaseAction{
//constructor method
public BaseAction() {
property = ...;
}
String property;
//get
//set
}
I think any other action extends BaseAction can use "property" directly without
calling any other method.
Is that what you want?
I am not sure what you mean by constructor method??
u mean prepare method??
On Thu, Jun 28, 2012 at 9:19 PM, samsongbest wrote:
> **
> Hi Aum,
>
> How about put the init type work in the constructor method of the
> BaseAction?
>
> --
>
> Best Regards,
>
> *Sam So
Hi Aum,
How about put the init type work in the constructor method of the BaseAction?
Best Regards,
Sam Song
Cognizant Technology Solutions
From: Aum Strut
Date: 2012-06-29 00:05
To: Struts Users Mailing List
Subject: Using Base Action for application (struts2)
Hi All,
I am not sure how to d
I've added a note about that to the docs [1]
[1] https://cwiki.apache.org/confluence/display/WW/WebLogic
Thanks for helping and testing!
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
Great! You're right...
Thanks so much.
On Wed, Jun 27, 2012 at 4:29 PM, Ankit Sangoi wrote:
> I had encountered a similar NPE but that was due to
> servletContext.getRealPath(finalLocation) used in JasperReportsResult.java
> to determine the report directory.
> I solved it by enabling the "Arch
8 matches
Mail list logo