Sreedhar Pasunoori

+ Follow
since Jul 10, 2009
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sreedhar Pasunoori


I am new to struts(1.2) and working on a sample struts application using validation framework.
I mentioned my Form fields in validation.xml file in <form> element. Now doubt is, even after removing the
all fields from the same, my validation is working fine. i.e. I am able to dispaly error messages if user enters wrong input.Here I am assuming that
if i remove those fields, my validation should not work.
So kindly can anybody clarify why I am able to display error messages, even after removing the validation info from validation.xml. And
will be more then happy if anybody tells significance of validation.xml.

Regards ,
12 years ago
For clarity I am putting the required pages images in a GIF file. The same is attached.

In Figure 1, I shown the home page which contains link to open Registration Page. I shown Registration page in which is a Jsp as Figure 2.
This JSP contains <jsp:usebean> which will interact with Database to get countries(marked with oval) which are to be loaded on form load. This page will be
displayed in the center of home page. Now the problem is, when i clicks on the home link, i am not able to display Registration page.

Hope this will give some idea to you.

Hi Bibeault,
Thanks for your kind reply.

Why would you want it otherwise? What would the browser possibly do with JSP markup?

When the link is clicked, as i mentioned loading jsp. It contains some components which will be filled on selection
of some components. (E.g. filling states based on country selection) . It has one jsp usebean, and JSP has some <DIV> tags which will
interact with Database.

Kindly advice the right way to display the way of the mentioned JSP page, if I am doing in wrong way.


I am new to AJAX. Just trying a sample. I have following div Tag

In above method i am loading( when link is clicked) a JSP page which is developed with struts.
The issue is, its not loading my JSP page in the above div when i clicked on href. When i tried to print the responsText, its just cintained
only HTML, but not jsp stuff like jsp page directive etc.. I hope this is the cause for the above problem.

Kindly any one adivce how to deal this issue. Is it like AJAX should only have HTML stuff ? ... Please clarify ?

Thnanks in advance
Sreedhar P