What's wrong with your question man. Struts is related to Presentation layer
and LDAP is something that comes into picture in Business layer's try to
understand how to call business layer components from Action class
Regards,
I.HariKrishna | Software Engineer | Franklin Templeton International S
All methods in an interface are implicitly abstract. If you declare them
"abstract", you're just making it verbose. Some people don't even put
"public" in interface methods since all interface methods are implicitly
public too.
Paul
temp temp wrote:
What is the advantage of declaring method
One I like is "Pro Java EE 5 Performance Management and Optimization",
by Steven Haines. Note that Steven Haines is associated with Quest
Software and Jprobe (and related products). Although the book uses some
pictures from those products, it is not in any way a "veiled" ad for
those products. I
Hi,
There is no difference.
All methods of an interface are abstract and public by default.
So, you could even type:
interface Test {
void test();
}
and it will have the same exact effect as your examples.
Tamas
On 3/22/07, temp temp <[EMAIL PROTECTED]> wrote:
What is the advantage of de
What is the advantage of declaring method abstract in a intreface ?
for example
difference between
Intreface Test
{
public void test();
}
and
Intreface Test
{
public abstract void test();
}
Thanks & Regards
Sairam
-
After looking in the *source code* of the Struts showcase, I got the idea to
declare an action with a return type of "stream" and use a method like
public InputStream retrieveImage() throws Exception {
return ServletActionContext.getServletContext
().getResourceAsStream("images/403.jpg");
}
How
Good recommendation, thank you. We are proceeding on that front as well,
as I should have mentioned. I think the plan is to use Optimize-It to do
the profiling, though I've been trying out the TPTP modules for Eclipse
as well and some other possibilities have also been floated. We've also
got some
I'm trying to return a stream of binary data (like the image or .zip example
on http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp) from
a Struts 2 action class, but I'm not sure how to configure my application to
get Struts to write the data directly to the response without tryin
In my case, I'm retrieving a specific data object from a persistent store
and acting on it. However, the only reason I need the list of child nodes
is for the menu, not in other places where I'll use that object, so
I'm retrieving the children separately.
Then again, even using this technique,
Chris,
I think before going for performance tuning you would have to decide on two
things- A Load Generator and a Performance Profiler. Then you generate load and
profile the application to find out exactly which layer\section of code\network
needs to be tuned\upgraded. Then you focus on tuning
Hi all,
I guess this is partially off-topic, but I've been asked to start
looking at improving the performance of our application, and wanted to
start reading up on things I should be looking for, techniques to
improve performance, and so on.
Our application has a pretty standard stack of J
Hi all,
Its is possible to use ajax tags into a freemarker page? It's not working
for me..
The same code works fine in a jsp result type... (with "
...
<@s.url id="ajaxMenu" value="getTreeMenu.action?decorate=false" />
<@s.div theme="ajax" href="${ajaxMenu}" >
Initial Content
Th
Thanks, I figured it out. I made sure this was by default bundle.
On 3/21/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 3/21/07, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
> I have gotten the validator to work in may of my projects, but I am
> stuck on this one and was wondering if someone can
On 3/21/07, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
Thanks for the reply.
However, after doing that I get the error
Unhandled exception thrown during validation: No message resources
found for bundle: messages
java.lang.NullPointerException: No message resources found for bundle: messages
On 3/21/07, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can help.
I have a MessageResources.properties under WEB-INF/classes which
contains all the messages.
In my struts-config I have
The point of ModelDriven is that we don't have to refer to the
"parent" or "model" property. We can just refer to the property
flat-out, as if it were a property of the Action class.
In this case, it might be that the reference should be to
child.property, rather than parent.child.property, since
Thanks for the reply.
However, after doing that I get the error
Unhandled exception thrown during validation: No message resources
found for bundle: messages
java.lang.NullPointerException: No message resources found for bundle: messages
Also, on various jsps, I would have to, I would have to
--- [EMAIL PROTECTED] wrote:
> Does S2 limitthe depth to which Action Domain
objects
> can be populated?
Not as far as I know... I have three-deep fields that
work. I *may* (haven't checked in awhile) have
left-over null-creation configs, but I don't know if
they're (still?) necessary or not.
> L
make your message resource as the defautl one, dont put any key just add the
entry
in struts-config and see.,
Thanks & Regards,
Nuwan.
- Original Message -
From: "Dilip Ladhani" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 21, 2007 4:48 PM
Subject: Validator question Struts 1.
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can help.
I have a MessageResources.properties under WEB-INF/classes which
contains all the messages.
In my struts-config I have the following line
Here is my validation.xml
--- Angelo zerr <[EMAIL PROTECTED]> wrote:
> if you want you can see
> http://formview.sourceforge.net/.
> FormView can manage your case and other.
>
> It works with Struts 1.x or without Struts.
But not 2.0, which is what the question was?
d,
___
I have an interesting situation which I am going to simplify in an attempt
to establish dialog. I have a web page that contains a form with ten
properties on it. The Action that is associated with this form contains a
Domain object that I wish to populate from this form.
- Seven of the web p
Hi,
if you want you can see http://formview.sourceforge.net/.
FormView can manage your case and other.
It works with Struts 1.x or without Struts.
Regards Angelo
2007/3/21, Piero Sartini <[EMAIL PROTECTED]>:
Thanks, this will work. But I was not specific enough.
If there is a way to use the V
Thanks, this will work. But I was not specific enough.
If there is a way to use the Validators for this task, that would be really
handy (if valid then do not display).
Am Dienstag, 20. März 2007 schrieb joey:
> Just use condition tag to hide your fields,like this:
>
>
Hi
I am using DispatchAction to do similar actions. As per the requirement i
have to use two different forms but similar actions. So added individual
methods in my action class for each type of form beans. This is my sample
config.xml
How do I perform string comparisons using the s:if tag? I'm trying to
compare a static value of the Action Class to a form value.
Thanks,
Leon
Hi All,
Is there any way to pass the argument value dynamically,
say,
Here, i need to change the key based on another form field name workflow.
Hi! was reding about the JSF built in support in S2 (jsfstack) and was
wondering if that also includes facelets? i dont whant to use the shale. Or
could one build a facelets interceptor ontop the jsfstack ? because Facelets
is so dam good :)
Thanks!
/Rikard
--
View this message in context:
htt
28 matches
Mail list logo