GS Chidam

Ranch Hand
+ Follow
since Jul 07, 2006
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 GS Chidam

Hi Ulf Dittmer,

Thanks

regards
GS Chidam
15 years ago
Hi,

Actually i don't want to create the sign applet, and also i don't want to manually change the policy file.

Is there any option to change the policy file using java code. Whenever the user open that applet page, i want to change policy using my code.

thanks in advance

regards
GS Chidam.
15 years ago
Hi,

In the sun site, the bug is fixed, closed

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446855

In this url, this bug is closed.

Anybody have any idea which version of jdk i need to patch to resolve this problem.

Thanks in advance.


Thanks
chidam GS
15 years ago
Hi

My real problem is:

In my applet, i am using servlet - applet communication to get the data from server. In the applet i am showing some data.

When I am using http, i don't have any problem working fine, when i am using proxy connection with https i am getting problem.

The error is
Exception:java.security.AccessControlException: access denied (java.net.SocketPermission proxy:80 connect,resolve)

if i am changing my policy file adding this permission, it works fine. But i don't want to change in the policy file, is there any option to add the permission in the java class file itself instead of changing the policy file.

need help.

Thanks in advance

Chidam GS
15 years ago
Hi Sumit Malik,

If it is the case, we can use local interface both server and client or same machine?

How to use local interface, if the server and client are different machine?

thanks
regards

Chidam gs
Hi Sumit Malik,

Can you tell me, Server A, is running machine A. And the client A, running machine B.

In this case, can we use Local interface? How, pls explain with example,or we need to use remote interface?

thanks
chidam gs
Hi,

Can you please explain Local and Remote Interface in EJB?
Please give some examples to understand easily.

Thanks
Chidam
Hello friends,

I am doing two different tables update one by one, table 1 is updated successfully, before update the table 2, the application server crash or may be server stopped.

To run my system correctly, i need to update both the table or need to rollback both table.

How to handle this kind of case in hibernate spring.

If any one handled this kind of cases, pls give advice.


Thanks
regards
Chidam
Hi,

Generally generator class we can use to generate primary id.

What you are doing in your class? generating id?
hi

Actually you are refer this link, you will get clear idea,
choose any one.

http://www.rgagnon.com/javadetails/java-0516.html

thanks
Chidambaram GS
for POI, Chetan Parekh mentioned url, just refer that.
You can use

jxl.write.*

using this you can export to excel.

some thing like this

response.setContentType("application/vnd.ms-excel;charset=UTF-8");
response.setHeader("Content-Disposition", "attachment;filename=excelfilename.xls");
WritableWorkbook w = Workbook.createWorkbook(response.getOutputStream());

WritableSheet s = w.createSheet("worksheetname", 0);

WritableFont wfTitle = new WritableFont(
WritableFont.ARIAL, 14);
Label l1;

WritableCellFormat cfTitle = new WritableCellFormat(wfTitle);
l1= new Label(0,0,"abc",cfTitle);
s.addCell(l1);
What Bear Bibeault is trying to say is correct, always you cannot depends on client side validation using javascript. You can do client side validation, and also you need server side validation.

If you only depends on javascript validation, it may fail in the penetration test(Man Middle attack)
15 years ago
JSP