chaining is not recommended.
basically as you have observed, chaining is a server-side redirect.
you go to another page without changing client's browser url.
i have not seen a formal argument of the bad of it (or i forgot)
but what i have observed is that the user may hit Reload on browser and ge
Hi,
I am migrating an application from struts1.1 to struts 2.2.3. I have
two action
1. InstitutuionAction : The purpose is to prepare the data required
to display and then forward to a Institution.JSP (using tiles)
2. InstitutionAddEditAction: This action exposed two methods insert,
On 05/30/2011 03:05 PM, Chris Pratt wrote:
Argh, hit send too early.
No, EL is disabled in the struts for security reasons. But OGNL should work
fine. Something like src="%{#imageName}" should do the trick.
(*Chris*)
Thank you very much Chris! It works.
bean.java
private String image_f
Argh, hit send too early.
No, EL is disabled in the struts for security reasons. But OGNL should work
fine. Something like src="%{#imageName}" should do the trick.
(*Chris*)
On May 30, 2011 12:01 PM, "Chris Pratt" wrote:
>
> No, EL is disabled in the struts for security reasons. But src="%{
No, EL is disabled in the struts for security reasons. But src="%{#}"
On May 30, 2011 9:37 AM, "Dave Newton" wrote:
> On Mon, May 30, 2011 at 11:30 AM, Emi Lu wrote:
>> But does not support src = "<%%>"
>
> Does normal EL work?
>
> Dave
>
> --
On Mon, May 30, 2011 at 11:30 AM, Emi Lu wrote:
> But does not support src = "<%%>"
Does normal EL work?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apach
You can override the freemarker template to do this. It's fairly easy.
Just look for the submit tpl file, copy it a templates dir, and modify
it to accept 'src' parameter. There are examples of how to override
struts templates by googling it.
On Monday, May 30, 2011, Emi Lu wrote:
> Hello list,
>
Hello list,
A question about in struts2.2.3
Icon is dynamic:
<%
String pdf_icon= request.getContextPath() + "/img/pdficon.png" ;
%>
action="preview_pdfProcessAction" />
But does not support src = "<%%>"
Is there a way, can make s:submit accept dynamic src image location?
Thanks a lot!
Could you post your jsp file (preferably through a pastebin service) ?
On 30 May 2011 10:16, Amol Ghotankar wrote:
> @Maurizio:
>
> I have not changed anything, and the application is very simple do not use
> any dojo manipulation too.
>
> Yes the output is from the client browser retrieved via
Cool thanks. This worked for me.
As I don't use a default stack, it was better for me to configure directly:
true
ERROR
Cheers and thanks again, this helped me working with more comfort.
Christian
Is it the "exception" interceptor, because OGNL does some magic and calls th
Well, let's see... I am no Struts expert, but one way that I know of to log
errors is by using your struts.xml configuration.
Make sure you have something like this in your interceptors:
true
ERROR
Hi,
given this Action:
public class MyAction {
public String execute() throws Exception {
// throws IllegalArgumentException
}
}
I do not get a log output or anything else indicating that error.
I have struts dev mode = true. Report page shows:
"Struts has detected an unhandled exce
I am using hibernate to generate a json object by Struts & struts-json-plugin
on 2.2.1
my object is kind of list[].set[].set[]
when my add a pattern as below:
list\[\d+\]\.set\[\d+\]\.set\[\d+\]\.attr,
apple.*,
orange.*
the json result cannot generate the correct json string. After I debu
@Maurizio:
I have not changed anything, and the application is very simple do not use
any dojo manipulation too.
Yes the output is from the client browser retrieved via firebug & similar
browser plug-ins where I can see that in FF the value is blank.
Any quick fix for this.
Regards,
Amol
How did you check the output? are you sure this is not the output of some
plugin like firebug, etc? AFAICR there is no difference between the FF and
IE output, I'm inclined to think that what really happens has to do with
dojo manipulation.
On 30 May 2011 08:21, Amol Ghotankar wrote:
> I checked
15 matches
Mail list logo