Rajeev Ja

Ranch Hand
+ Follow
since May 06, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajeev Ja

Is there no way to invalidate the previous session of the user apart from the calling the session expiration in web.xml
11 years ago
hi all,

If a user open a browser and login into the web application.If the same user open another browser and login into the web application.how to send a response to the former browser that please logout user has already logged in.
11 years ago
I Want to know what this book primarly conatins.
Whether it speaks more about servlets,Filters or Jsp's or Mixture of all these things
Almost nearing 2 years,thanks for all the replies but i feel personally is that java has become like copy paste language.
11 years ago
I SOLVED ITTTTTTTTTTTTTTT
11 years ago
JSP
Hi all,

I have created a template jsp with header and footer.The body content will be a static content(html) that will be coming from web server.For that i have used c:import tag to retrieve from web server.Now the problem is we are having a old site eg.http://www.abc.com user will click a link in old site it is redirecting to our new site http://www.abc.com so our browser will set a cookie.So each time when i make a request it will go to new site untill the cookie is deleted.

Now my c:import tag is giving file not found exception is that because when application server makes a request cookie will not be set and it will redirect to old site there my htmls are not there and throwing this exception.

Please give clarification if my understanding is correct.
11 years ago
JSP
can groovy has the capacity to replace java.
is that better than ruby and java.
does it have platform independence feature
11 years ago
can we check whether the object is of type dog and then downcast using instance of
No I do not want to use Ajax can any one tell a solution
12 years ago
Instead of validation If i have other button on click of that it will go the action class and all other field values are restored except the browse button file path how to resolve this
12 years ago
I am using struts and have an upload.jsp and its associated UploadForm.java and UploadAction.java. The jsp's form has an enctype=multipart/form-data and contains an html:file field to upload a file as well as a bunch of text fields for metadata associated with the file. If an error occurs during validation, the struts controller servlet forwards to the same jsp with error messages. The problem is that the filepath the user specified is no longer present. Is there a way to restore this value so the user doesn't have to complete this field again (the other text fields remain filled in).
12 years ago
INFO org.hibernate.cfg.HbmBinder - Mapping class: com.hp.bm.deposit.model.Bill -> Bill

I am not finding above like can any one help please

Thanks and Regards
Rajeev J
class DepositData extends ActionForm
{
private Patient patient=null;
//contains getters and setters
}
class Patient
{
private String patientId;
}

can any one tell how to deal with action class and how to retrieve
patientId in JSP
Thanks and Regards
Rajeev
12 years ago
Thanks for the replies
but i have made all the changes but it is throwing null pointer exception
get me some code of that kind
12 years ago
Hi,
whenever i am creating new instance of form it is required because form contains a constructor while it is using getters and setters of another dto.then form is coming as null.
our formbean is like
public class Person extends ActionForm
{
private PatientDetail patientDetail;
}
public class PatientDetail extends ActionForm
{
private String patientId;
}
How to acess patientId in JSTL
requestParameter.patientDetail.patientId
Please reply.

Thanks and Regards
Rajeev
12 years ago