If I understand your question correctly, whenever the page is refreshed you have a routine that reads the session-data/object and returns that...and hence the same data is shown over and over again....
Type: Posts; User: nrganeshbabu; Keyword(s):
If I understand your question correctly, whenever the page is refreshed you have a routine that reads the session-data/object and returns that...and hence the same data is shown over and over again....
just curious...why did you move to spring...any compelling reason? what was your previous framework?
If you define success view = success.htm; then you need to map the success.htm to a controller.
So your dispatcher-servlet.xml would look like this...
Code:
<bean id="urlMapping"...
by "send a message to the user" you mean SMS on mobile phone???
You can refer this:
http://static.springsource.org/spring/docs/2.5.x/reference/
If you are familiar with @annotation based programming you can refer to ...
Use SimpleFormController --- public class myController extends SimpleFormController {}
Use onSubmit(Object command) to Post Data to the DB - and if successful return a new ModelAndView that contains...
First Thanks to Marten and Vijay. Secondly sorry for the late reply. Session gets replicated when you use CTRL+T or CTRL+N or by clicking the IE Icon on the desktop. Session replication happens not...
Team,
Finally I settled with JQuery and implemented this form. It works like a charm!
Team,
I am working on an Issue Management Web Application - where in people working on various projects report Issues.
In this context, I have a Form wherein there are fields to populate...
Thanks Marten,
I understand now...Let me try your suggestion...there is a power failure in this part of the city and am running out of my UPS power backup time...!!!
Thanks Again...
Thanks Marten for the reply...
Actually I am using NetBeans 6.5.1 IDE. When I compile and run, a second window[a new process] is opened in a new tab in the browser - both IE 8 and Chrome. Even when...
She allows new users to access Secured Pages with already Logged-In User's credential. Need to prevent Login Credential to be available only to one browser session.
My security XML contents are as...
I am using Oracle 10g XE, and actually the date values that I am giving is getting stored in Oracle as-is. The wrong years, that I was seeing is due to a bug in Oracle "Download to XL", I guess.
...
Friends,
I tried this - but works wrongly :-)
<insert id="insertAddUser" parameterClass="com.spform.AddUser">
INSERT INTO UserMaster
(StudentID,FIRSTNAME,LASTNAME,GENDER,DOBIRTH)
values...
Hello Friends,
I have a Form that takes in Date of Birth [Format is Flexible] like 14-09-1975. This is the snippet in Bean, which Treats the Input date as String:
public String getDobirth()
...
Try http://nallaganesh.blogspot.com - if something is missing there, put in those in comments.
Friends,
I am using SimpleFormController to fetch information from a Form.
I have setup iBATIS and compiled the program. The FormBean and FormBeanController are all working fine.
But now, I...
Ok...I was able to solve this through "SimpleController". This is what I did.
Under URL Mapping I put an entry for MainView.htm:
<bean id="urlMapping"...
Hi All,
After successful login, I show a MainView.htm.
On MainView,htm I have hyperlinks with titles "Add User", "Change User", "Delete User".
How do I design to show
1. AddUser.htm when I...