Hi
Is there a way to get the ServletContext from Interceptor.init. I tried
using the ActionContext but it returns null.
Regards,
Néstor Boscán
I'm a newbie to struts. I wanted to practice tag's 'multiple'
attribute.
But the problem is i don't know how to set multiple cookies.
Please help me.
I tried this code to set multiple cookies...but only the last
cookie gets added...i mean the first one gets replaced by the
second cookie
Never mind :(
(Apparently actually reading the stack trace can be handy sometimes.)
Don't like it, though, and if nobody has any strenuous objections, I'd like
to fix it.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Howdy,
>
>
>
> #{'cool': 'map'}
>
> ... etc ...
>
>
> Generates
Howdy,
#{'cool': 'map'}
... etc ...
Generates an NPE on startup.
If I switch to:
#{'cool' : 'map'}
alias1_input
it works as expected.
Note that if I use "defaultStack" instead of "basicStack" in the second
example it breaks, but at runtime w/ an OGNL exception.
I'm
Thanks for your offer to help Martin!
Listed below is the struts.xml, web.xml, and source for the Action class
(taken straight from the docs).
I'm testing it by simply typing the URL into the browser:
http://localhost:8000/viewer-commons-2.0/chart/ViewModeration.action
I notice that if I embe
Johncan you post the code you are implementingjspsActionServlet
as well as the configuration filesweb.xmlany struts*.xml
Thanks/Martin __Disclaimer and
confidentiality noteEverything in this e-mail and any attachments relates to
the official business o
Hi,
as in subject. Is there in Struts2 tag which have the same behavior as
from Struts1? If no, how I can achive simillar effect
with S2 tags?
--
greetings! kbl/Cinek/greengoo
marcin.pietraszek.pl
-
To unsubscribe, e-mail: [EM
Hi Ian,
thanks for your reply. For testing purposes, I'm simply calling it via URL:
http://localhost:8080/viewer-commons-2.0/chart/serverIronLoadChart.action
Strangely, I was able to get the chart example from the docs to run in
new context, I just can't seem to be able to integrate it into a m
Hey GF --
Your package declaration can extend multiple packages by using the comma!
Scott
On Jan 4, 2008 10:36 AM, GF <[EMAIL PROTECTED]> wrote:
> Hi everyone.
> I have many packages that extends extends="tiles-default".
> I would like to add an interceptor to all of them.
>
> Now I'm doing t
Really I have still some issues.
my struts.xml is built in this way:
In every included xml i define a different package for a different
section of the, i.e. in struts1.xml I define the package name="one"
If I put the package name="default" inside struts1.xml I can extend
package "one" from
I'm using commons-validator 1.3.1 with Struts 1.3.8 and 1.3.9. In short,
the jcv_retrieveFormName function returns nothing, so other functions
that try to use it end up with errors looking up for variables (well
functions) like "_required" when they should look for formnameOrId_required.
I'v
thank you very much!
>
> Sure: define the stack once, then reference it from each of your packages:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ...actions...
>
>
Hi,
I am new to struts. For learning I am using Struts 2.0.11 and Eclipse 3.3.1
Europa.
After Importing Struts-blank.war file in eclipse I get these wornings for
struts.xml and exmple.xml as well as Login-validation.xml
warnings are as follows :-
The file cannot be validated as the host "struts
yaa i am presetting the checkbox.
any how i got the solution, may b a workaround one:i wrote a reset
interceptor which would always reset the checkbox vairable of the action
class when the jsp page is submitted. now if the checkbox is not selected
the value remains reset.
mgainty wrote:
>
>
Quoting:
"1. Create a folder named "META-INF" under the "src" folder.
2. Create a file named "persistence.xml" under the "META-INF" folder
and set its content to..."
Content within src should be compiled into WEB-INF/classes.
Doing the maven way, this file should be in src/main/resources
Alvaro
15 matches
Mail list logo