sridhar lakka

Ranch Hand
+ Follow
since Jan 02, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 sridhar lakka

Hi All,
Thanks a lot in advance.
How can I load java objects and image objects into memory, so that the page loading time will takes lesser.
Please help me in this.

Regards,
Sree
15 years ago
Hi Hll,
Thanks a lot in advance.
I have one jsp page which is generated with some text and some images, How can I export that file as pdf file with those images.
Please help me in this issue.
We are using struts and J2EE.
Regards,
Sree
Hi All,
Thanks in advance.
We have a requirement to store huge amount of data, which we were planning to achieve this by some cache mechanism.We come across ehcache but this is a open source and henceforth we may not get support.
Eventually,We are planning to use websphere dynacache.
Can any one please help me by providing good links and some working examples.

Regards,
Sree
16 years ago
Hi Every one,
Thanks in advance.Could any one please suggest or tell me what are the different machanisms to store values in cache, I found one link which is below,
http://ehcache.sourceforge.net/features.html
Please suggest some more ways.

Regards,
Sree
Thanks for your reply.
Could you please tell me the site address where I can get some example code or some useful information?
Can we store cookie value in encrypted format or not?

Regards,
Sree
16 years ago
Hi All,
Thanks in advance.
I am familiar in normal cookies like how to add the information into Cookie and how to retrive data from cookie, but user/client can change his/her information which is stored in cookie, to over come this problem I have encrypt cookie information, could any one please tell me how we can achieve this if possible with example code or related sites.
Do we have any limitation on cookie data like 20K some thing?

Regards,
Sree
16 years ago
I know that is my problem , but can we import a class without package into JSP.
Please have a look at http://www.thescripts.com/forum/thread16713.html , they are using class directly dont how..

Regards
Sree
16 years ago
JSP
Hi All,
I am facing the following problem please help me,

I have a normal class and there I set some value and I am trying to get that value in JSP.
This class not under any package.

Class code:

public class X {
public static void main(String [] args)
{
String getTable = getTable();
System.out.println("This is "+getTable);
}
public static String getTable()
{
boolean secFlag=true;
boolean secSubFlag=true;
String sec1 ="Section1 - MTTR";
String subSec1 = "Sub Section1 - MTTR (110)";
if (secFlag)
{
return "<table" + "\"" + " width=\"100%\">" + "<tr><td>" + sec1 + "</td></tr>";
}
if (secSubFlag)
{
return "<tr><td>" + subSec1 + "</td></tr></table>";
}
return null;
}
}

Jsp code:

<%@ page language="java"%>
<%@ page import = "X" %>
<%
String getTable = X.getTable();
%>
<html>
<head><body>Hello this is <br>
<%= getTable%>
</body></head>
<%
out.println("Sreedhar");
%>
</html>


I am facing problem while import.

Regards,
Sree
16 years ago
JSP
I am creating some dynamic text boxes and there id's are created at runtime only, if I resubmit the form the text box id which are created at dynamic are not getting.
some windows operation aborted error is coming.

Regards,
Sree
Hi All,
Thanks a lot in advance.
Please help me in following situation,
I have an html in which it is having different text box and images, and I want a javascript function should be called after page is rendered 100%.
I tried with onLoad function in body and window.onLoad but still my alert from the function is coming first then page is loading.


Regards,
Sree
Hi All,
Thanks in advance.
Currently we are using Struts 1.1 and planning to use Struts1.2.9. For thi I have browsed different sites but I could not found any good fetures always they are giving security feature.
Please give me some good links or good fetures of 1.2.9 over 1.1.

Regards,
Sree
16 years ago
Thanks a lot for your reply.
Could you please give me in detailed description or even it is very help if you will give link.

Regards,
Sree
16 years ago
Hi,
Thanks in advance.
I have searched in google about compatibility of Struts 1.2.9 with
WAS 5.1.1.7, however no perfect or clrear information on this.
Could, any one please tell me whether WAS 5.1.1.7 will Struts1.2.9?

Please help me.

Regards,
Sree
16 years ago
Hi All,
Thanks a lot in advance.
How can we store data in cookies.
i.e., I have search functionality where user can search for various things, If user searched for some f1, f2 in previous times then suppose if he is searching for third I need to show earlier searchs like f1 and f2. As we dont have any user specific data we should keep this data in some cookies.
Please help me.
And one more without user information how can we store data in data base, like i dont have any user id or any thing user specific and if he came back after some days how I can I show his/her previous data.

Regards,
Sree
16 years ago