Re: session management

2009-02-19 Thread mthalis
Give me another suggestion pz. mthalis wrote: i have already implemented login, logout parts using struts(jsp). But the case is after logged out, when i press back button it is redirected to the particular page that i was in before logged out. these are my codings, and plz kind enough

session management

2009-02-17 Thread mthalis
i have already implemented login, logout parts using struts(jsp). But the case is after logged out, when i press back button it is redirected to the particular page that i was in before logged out. these are my codings, and plz kind enough to give me reasonable answer. //set sessions//

bean:write value print in html:text

2008-12-04 Thread mthalis
I want to show values in the text box for editing purpose. I'm able to get show the value using bean:write tag. But i can't assign the value to text box. If i use like below code it's showing the full bean:write tag as String. html:text property=emp_no value=bean:write name=userID

Re: bean:write value print in html:text

2008-12-04 Thread mthalis
Using ${userId} i did my work. :-) Thank You. -- View this message in context: http://www.nabble.com/%3Cbean%3Awrite%3E-value-print-in-%3Chtml%3Atext%3E-tp20832676p20847538.html Sent from the Struts - User mailing list archive at Nabble.com.

session handling

2008-12-03 Thread mthalis
I'm developping a web based application using struts. There, i need to handle sessions and other relevant stuff. can somebody plz let me know all about this with essential examples. I was googling and still unable to find relavant solution. since im not using a action mapping class, it is hard to

Submit Success and false

2008-12-02 Thread mthalis
After entering data to the form, if it success, it will redirect to the same page. When it comes to that page the entered data are still the same. I want to clear those data from my form. But if it fails i want to remain my data as it is. How can i do it? this is my part of the struts-config.xml

Tiles and Validate

2008-11-26 Thread mthalis
It is possible to use tiles and validation(validation forms data) in same project. if it is possible please give me reference or sample project. please help me.. Thank you -- View this message in context: http://www.nabble.com/Tiles-and-Validate-tp20699267p20699267.html Sent from the Struts -

Re: Validation and Tiles

2008-11-26 Thread mthalis
I find the answer below show how to solve it. action path=/login ... validate=true input=login.page forward name=success path=login.success/ /action (where login.page and login.success are both tiles defs) -- View this message in context:

Validation and Tiles

2008-11-25 Thread mthalis
picture 1 http://www.nabble.com/file/p20680989/1.png picture 2 http://www.nabble.com/file/p20680989/2.png I used struts 1.2 to create my project. picture 1 creates using tiles,red background belongs to one tile and white one belongs to another tile. picture 2 shows the page that i got after

Validation and Tiles

2008-11-25 Thread mthalis
I used tiles and validation in my project(validation.xml, tiles-defs.xml), but it not working. i explained my problem previous my post. Please any body can send me sample project that use above technologies or learning materials it is very helpful for me. I used struts 1.2. please help me.

Re: Validation and Tiles

2008-11-25 Thread mthalis
Tell me I was wrong or not. please give me any suggestion. -- View this message in context: http://www.nabble.com/Validation-and-Tiles-tp20694339p20695446.html Sent from the Struts - User mailing list archive at Nabble.com.