sam dims

Greenhorn
+ Follow
since Dec 01, 2008
Merit badge: grant badges
For More
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 sam dims

Joywish Man wrote:for that you have to do analysis of hotel mgmt system before you design classes you need to study the UML course book before you can do that!
Anyways i think the interviewer wanted to know your analysis skills not your programming! just opinion!



Thanks but can you explain me some of the concept of abstract & interface class truely I never used it..
15 years ago
Hi
all I have faced one interview question that if you want to make application for hospital which all interface & abstract classes you will create , please can anybody help how to do that you can give any other example also like student management I want to just know that basic concept of it...

Thanks & Regards
sam
15 years ago
hi friends I am very new to struts , i can insert value in database mysql, but dont know how to retrieve data from database and show it in jsp
if you have code it will be very helpful to me or give me a steps to do it....
i am not using hibernate or spring


thanks & regards,
Sam
hi friends I am very new to struts , i can insert value in database mysql, but dont know how to retrieve data from database and show it in jsp
if you have code it will be very helpful to me or give me a steps to do it.... i am not using hibernate or spring


thanks & regards,
Sam
15 years ago
hi friends I am very new to struts , i can insert value in database mysql, but dont know how to retrieve data from database and show it in jsp
if you have code it will be very helpful to me or give me a steps to do it....


thanks & regards,
Sam
15 years ago
can anyone give working example of jcaptch .... i am not able to figure it ... not able to implement ...can give me demo code of it...
15 years ago

David Newton wrote:If the images are in a non-webapp-relative path you'll probably have to do something on the server side--as far as I know on the view (JSP) side you'll only have access to directories within the web application. I could be wrong about that, though.



Ok I have created folder on server side the folder name called as image
String myf= getServlet().getServletContext().getRealPath("/") +"image";

how should i take this form this folder to my jsp file in struts
15 years ago

David Newton wrote:Use an HTML <img> tag and provide a URL-rewritten path?

You should provide more helpful information, like which version of Struts, where the images are located, and things like that.



the images were uploaded on server's upload folder i am using struts 1.3

David Newton wrote:" Use an HTML <img> tag and provide a URL-rewritten path?.

can you explain more briefly...

15 years ago
HI friends I want to retrive image in struts from specified folder and show it to on jsp with resize can any one tell me how can I achieve it, if any one have source code demo it will be helpful for rapid devlopment

Thanks
Sam
Feellll
15 years ago
hi all,
as i am using struts, i have written loginactionform.java and loginaction.java
in which i have written the login mechanism but i have used loginaction extends dispatch action and written authenticate user
method to authenticate user from database.
but when i login on that page first time it validate correctly i logged with correct username and password i. but after that it take any username and password i have used request.getSession().invalidate(); method also but still it not working...
15 years ago

Adeel Ansari wrote:Why do you need that? May be we could help you for a better design.



actually i have saved all names in that jsp, and that jsp is submitting to another jsp, but i want some names in this page
and i dont want to write code again therefore

Hope you have understood
15 years ago
JSP

Sujai Kaarthik wrote:try to get it through session




can you give any example
15 years ago
JSP
how to get value from one jsp to antoher jsp without submitting it...
example:

first.jsp

<% String name=SAM;
%>


second.jsp
--->in this page i want to get the name...
with submitting with form action(request.getParameter()), i can get it but the
first.jsp is different page wich is submitting information to another page how can
I able to get it.


15 years ago
JSP

Originally posted by Rob Prime:
It means that whatever method you call on it, it never changes the String object.

An example:

Instead, all methods return a new String object.



Thanks
15 years ago