Special character problem while redirect-action

2011-07-28 Thread sewdil
hi, I am using struts 2.0.11.1 and i'm redirecting to an action with some parameters. the problem is that when the parameter value contain the special character '–' (long dash) it is not correctly set in the parameter (ie when i print the value in 'otheractionName' action class (after

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
have you copied and pasted the charactor from somewhere else such as a MS Word document? On Thu, Jul 28, 2011 at 1:25 PM, sew...@gmail.com wrote: hi, I am using struts 2.0.11.1 and i'm redirecting to an action with some parameters. the problem is that when the parameter value contain the

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
yes On Thu, Jul 28, 2011 at 1:04 PM, Vishwa Sahan vishwa.sa...@gmail.comwrote: have you copied and pasted the charactor from somewhere else such as a MS Word document? On Thu, Jul 28, 2011 at 1:25 PM, sew...@gmail.com wrote: hi, I am using struts 2.0.11.1 and i'm redirecting to an

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
Is your problem persists with the characters like singe and double quotes? I think the problem is with the charset. Try using UTF-8 charset it will be fine. Try explaining little more about what you are about to do. On Thu, Jul 28, 2011 at 1:59 PM, Sewwandi sew...@gmail.com wrote: yes On Thu,

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
hi Vishwa, Thanks a lot for your reply... I don't get this with single and double quotes and I am using UTF-8 charset. I think the request parameters which are passed need to be encoded but I can't find out how to. On Thu, Jul 28, 2011 at 1:58 PM, Vishwa Sahan vishwa.sa...@gmail.comwrote: Is

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
Hi all, I found the solution. It was required to set the URIEncoding=UTF-8 property, and that solved the problem. Thanks regards Sewdil On Thu, Jul 28, 2011 at 2:18 PM, Sewwandi sew...@gmail.com wrote: hi Vishwa, Thanks a lot for your reply... I don't get this with single and double

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
Cool. Congratz On Thu, Jul 28, 2011 at 3:10 PM, Sewwandi sew...@gmail.com wrote: Hi all, I found the solution. It was required to set the URIEncoding=UTF-8 property, and that solved the problem. Thanks regards Sewdil On Thu, Jul 28, 2011 at 2:18 PM, Sewwandi sew...@gmail.com wrote:

property taglib don't throw exception

2011-07-28 Thread k3v1n
Hi all, In my action I add request attribute. For example: Person p = request.setAttribute(p); In jsp page I use s:property ... / to print fields. For example: s:property value=#request.p.field / If field don't exist, I want intercept error. How can I do? In compile time I don't view this

how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = context-param param-name org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /param-name param-value /WEB-INF/tiles/t1.xml, /WEB-INF/tiles/t2.xml

Re: how web.xml load several tile files?

2011-07-28 Thread Dave Newton
Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca wrote: Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = context-param param-name org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /param-name param-value

Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
Try removing the return after t1.xml, Mitch From: Dave Newton davelnew...@gmail.com To: Struts Users Mailing List user@struts.apache.org, em...@encs.concordia.ca Date: 07/28/2011 03:30 PM Subject:Re: how web.xml load several tile files? Did you try the tiles list? Dave

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Hi Dave, Could you give an example? Emi On 07/28/2011 04:30 PM, Dave Newton wrote: Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml =

Re: how web.xml load several tile files?

2011-07-28 Thread mmckenzie
context-param id=struts_tiles param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value/WEB-INF/classes/t1.xml,/WEB-INF/classes/t2.xml/param-value /context-param Mitch From: Emi Lu em...@encs.concordia.ca To: Dave Newton

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote: Try removing the return after t1.xml, No. That does not work! Still cannot find t2.xml! How! Emi From: Dave Newtondavelnew...@gmail.com To: Struts Users Mailing Listuser@struts.apache.org, em...@encs.concordia.ca Date:

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote: Try removing the return after t1.xml, Ok, it works. Sorry about the previous email. Hope it fix the whole thing. Thanks a lot! Strange, tile2.0.7 enter works. Anyhow, it works. Great! Emi From: Dave Newtondavelnew...@gmail.com

How to encrypt the url?

2011-07-28 Thread log2akshat
How can I encrypt parameters used in a URL. I cannot use POST in these cases. I am working on a login application using session, where user passes his registration ID password to login. And after login there are various features like user can view his profile, update his profile etc. But my

RE: [struts-user] How to encrypt the url?

2011-07-28 Thread Jason Pyeron
-Original Message- From: log2akshat [mailto:akshat-...@iiitmk.ac.in] Sent: Thursday, July 28, 2011 18:01 To: user@struts.apache.org Subject: [struts-user] How to encrypt the url? How can I encrypt parameters used in a URL. I cannot use POST in these cases. Firstly, encryption