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 prob

Re: How to do validation for Single Quote (') through validation.xml file?

2011-07-21 Thread log2akshat
I got the Solution: But how can I escape the ' to display by .properties file in error message. I used (\') but its not working. Please anybody can help me on how to validate the number of words typed on click of submit button by validation.xml file. -- View

How to do validation for Single Quote (') through validation.xml file?

2011-07-21 Thread log2akshat
Can somebody please tell me how to do validation for Single Quote (') through validation.xml file? My problem is that when anybody types in the form field I have set the javascript with onkeyup event that pops up the error on pressing single quote as well as for the maximum word limit set. But if

Re: How to display data from database to JSP Page in Struts2

2011-07-09 Thread log2akshat
Thanks a lot Dave for your really helpful suggestions, I was doing something rubbish by retrieving the OnlineID more than once, now I have rectified my code as ... public int getOnlineID() { return OnlineID; } public void setOnlineID(int OnlineID) {

How to display data from database to JSP Page in Struts2

2011-07-08 Thread log2akshat
I am new to Struts and want to display the Registration ID which is generating automatically by the mysql to my success page when user submits the form, please guide me how to achieve it... My Action... package net.Candidate.application.action; import java.io.*; import java.sql.*; import java.ut

Re: Scope Interceptor and Struts2 Validation query...

2011-07-06 Thread log2akshat
Thanks for your reply. Got no success with that link Actually the main problem is that I am using different themes as well as modified theme as the form is having more than 2 columns, so there is a rendering issue if I am using the Struts validation therefore I removed the Struts Validati

Scope Interceptor and Struts2 Validation query...

2011-07-05 Thread log2akshat
i have implemented the Struts2 validation framework, it is working fine. But I want these error-messages in a small popup screen with a ok button, when this popup is closed the focus should go to the field that has an error. Or is there any way by which we can use additional javascript onsubmit ot

Re: On applying action-validation.xml action is not executing.

2011-07-03 Thread log2akshat
Sorry for the confusion Actually, I have a form that needs to be validated and on successful validation it should populate the data in the database as well as able to send the mails to the mail IDs provided in the form. All the functionality is working fine as long as I am not validating my fo

Validation Problem

2011-07-03 Thread log2akshat
In my validation half of the validation is working fine but in the half form old error message is not clearing, and the new error message is showing in a new line. On clicking again the previous error messages are there and the new message is adding in a new row. I am attaching the Screenshot of t

Re: On applying action-validation.xml action is not executing.

2011-07-03 Thread log2akshat
No, validation is not failing as you can see the screenshot in my previous post in an another problem. The problem is that when I am including the validation xml file the form is validating and displaying the errors but on submitting the form the method of the action class is not executing and disp

On applying action-validation.xml action is not executing.

2011-07-03 Thread log2akshat
When I am removing the validation xml file the action is executing properly and injecting the data in the database & start sending mails, but when I am using action-validation.xml the action is not able to execute and probably what should be the reason for it? -- View this message in context: htt

Struts2 - he requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread log2akshat
Please help me in Struts2, I am stucked in action The problem is that I have a application form for accessing that form you should be registered in the database. So the login utility will check for the password & email in the database if it is there than it will go to the app. form otherwise i

Facing an issue trying to use Struts 2.0.14 with Tiles 2.0.

2011-04-27 Thread log2akshat
Hi, I am very new to Struts 2. I am having problem using Struts 2.0.14 with Tiles 2.0. When I insert the following information in my web.xml I get an exception: org.apache.struts2.tiles.StrutsTilesListener Stacktrace: 27 Apr, 2011 6:14:57 PM org.apache.tiles.impl.BasicTilesContainer init