first action class code
getRequest().setAttribute("RncPartnerID", model.getId());
2nd action class code
String rncPartnerId=(String)getRequest().getAttribute("RncPartnerID");
RncPartnerData rncPartnerData = new RncPartnerData();
rncPartnerData.setId(rncPartnerId);
rateCardData.setRncPartnerData(rn
On 1/6/2018 12:04 AM, Emi wrote:
> 404.jsp is called by web.xml when going from one page to another.
Maybe other requests like a missing favicon, css or javascript causes this.
-
To unsubscribe, e-mail: user-unsubscr...@struts.
Any clue why action classes are shown correctly, but 404.jsp still called?
In 404.jsp only one line: System.out.println("test");
All struts action classes can be shown correctly, but 404.jsp is called
by web.xml when going from one page to another.
Thanks.
Hello,
In web.xml:
40
Annotations validations an alternative way of XML validation or the simplest
way to implement the validate method.
Yo have two options:
At method level
At setter level
In the second if you don’t have the setter in the Action class because it is a
property of an object, where do i put the annot
> “personBean.levels.isEmpty”
Yes, it’s empty an in the form the first time rendered all the options are
unchecked.
>
> You should use "name" instead of "key"
Why not key? i have the correspondan property files
personBean.levels=Cursos
I also see the label Cursos and the options
The proble
Hello,
In web.xml:
404
/WEB-INF/pages/errorinfo/tiles_404.jsp
For each struts2 action class shows/direct to correct page, but the
above line is always called.
Could someone let me know what may cause the above section called please?
Thanks a lot!
--
struts2.5.14.1, tiles3.0.8,
2018-01-05 13:30 GMT+01:00 albert kao :
> I downloaded a zip file of Showcase App from
> https://github.com/apache/struts.
> Then I unzipped it and run mvn.
> I saw the class ComponentTagExampleTest.
> How to run it?
cd showcase
mvn it:testOnly *. ComponentTagExampleTest
Regards
--
Łukasz
+ 48
I downloaded a zip file of Showcase App from
https://github.com/apache/struts.
Then I unzipped it and run mvn.
I saw the class ComponentTagExampleTest.
How to run it?
8 matches
Mail list logo