Take a look at http://struts.apache.org/2.0.12/docs/ognl-basics.html
Nils-H
On Wed, Nov 5, 2008 at 8:18 AM, Mead Lai <[EMAIL PROTECTED]> wrote:
> my Action is:
> public class myAction extends BaseAction {
> public final static String BASE_URL = "";
> }
>
> Should the "BASE_URL " declare as "
my Action is:
public class myAction extends BaseAction {
public final static String BASE_URL = "";
}
Should the "BASE_URL " declare as "private" access modifier, and add get() &
set() in the Action?
How to get the static field in the JSP?
Or maybe there is any other way to get "constant" val
Could you show us the entire stack trace?
Nils-H
On Wed, Nov 5, 2008 at 5:05 AM, Narayana S <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i am using apache Tomcat 6.0.3, struts 2.1.2, and jdk 1.6. can any
> one help me solving this issue?
>
> Thanks in advance.
>
> On Tue, Nov 4, 2008 at 7:06 PM, Gr
"java.lang.UnsupportedOperationException: Don't use default servlet
session".
Just use the session from ActionContext, don't use the servlet's.
protected Map getSession() {
return ActionContext.getContext().getSession();//from ActionContext
here!
}
protected HttpServletRequest request(){
Probably the easiest way to get data from a database is to query it.
-Wes
On Wed, 2008-11-05 at 01:03 -0500, jose luis pulido burbano wrote:
> José Luis Pulido BurbanoEstudiante De Ingeniería De SistemasUniversidad Del
> Valle
> _
>
José Luis Pulido BurbanoEstudiante De Ingeniería De SistemasUniversidad Del
Valle
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
--
Hi,
i am using apache Tomcat 6.0.3, struts 2.1.2, and jdk 1.6. can any
one help me solving this issue?
Thanks in advance.
On Tue, Nov 4, 2008 at 7:06 PM, Greg Lindholm <[EMAIL PROTECTED]> wrote:
>
>
>
> Ganesh123 wrote:
> >
> > Excellent work. i am looking for the same solution.
I have a Struts action which populates a large amount of data into a List
which is then displayed by a JSP page. At the top of this JSP page, there is
also a link to another static page on the same website. When I wait for the
JSP page to fully load and display all of the data, then everything wor
Hi,
I noticed the struts-2.0.11.2 showcase ajax validation example doesn't
give an error if you load the page, do nothing and just click submit.
This a bug?
--
Frank Maritato
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Hello,
I'm forced to use java 1.4 and I was very happy to see there are jars
that work with it.
The thing is I also want to use maven for managing dependencies and I
don't know how to specify in my
pom that it has to use the translated jars...
Can anybody tell me how? Thank you.
--
Can't make ApacheCon this week in New Orleans? You can still watch all
the keynotes, Apache 101 sessions, and system administration track in
live video streams:
http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann
Keynotes and the Apache 101 lunchtime sessions are free; the full
Hello,
I want to use Javascript in a TabbedPanel. But it does not work, similar
to http://markmail.org/message/ir6varn7cq372zdl (unsolved).
if i look into the generated html-file with firebug, i cant find the
javascript-block of site2.
any idea how to fix this?
Thanks in advance.
sourcecode
Ganesh123 wrote:
>
> Excellent work. i am looking for the same solution. i tried
> implementing your interceptor , but it is throwing exception ...
> "java.lang.UnsupportedOperationException: Don't use default servlet
> session".
>
> near session.setAttribute(ACTION_MESSAGES_KEY,ac
I meant just changing the submit to
And losing ajax...
2008/11/4 Sergio Sánchez González <[EMAIL PROTECTED]>:
> I've found dojo fails when I retreive a page using ajax.
>
> For example, a simple login:
>
>
>
>
>
>
>
>
>
>
>
>
> The pag
I've found dojo fails when I retreive a page using ajax.
For example, a simple login:
The page retreived uses dojo javascript but doesn't work. If I just
change the submit to: then it works. But
of course, I lose the retreive
when struts 2.1 is going to RC ? What are the problems pending to go ahead
?
Herrera
--
View this message in context:
http://www.nabble.com/struts-2.1-beta-release-yet---tp20319689p20319689.html
Sent from the Struts - User mailing list archive at Nabble.com.
Hi Greg,
Excellent work. i am looking for the same solution. i tried
implementing your interceptor , but it is throwing exception ...
"java.lang.UnsupportedOperationException: Don't use default servlet
session".
near session.setAttribute(ACTION_MESSAGES_KEY,actionMessages);
can you h
2008/11/3 Peterson, Andy J <[EMAIL PROTECTED]>:
> We are using the scoped model driven intcerceptor in our application.
> How do you clear the scoped model before the session times out? We will
> fill out a form and then go back to the form and the data from the
> previous form is still there.
Imp
Solved with the help of the hidden-tag.
Greetings,
Alexander
Alexander Baetz schrieb:
Hi,
i'm using a formular (struts form) to edit attributs of my model
objects. The intention is that prepare gets the correct model-object,
model driven puts it on the stack and params sets all attributes.
S
Thanks for ur reply
--
View this message in context:
http://www.nabble.com/struts-tp20162279p20317788.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
20 matches
Mail list logo