Shreya Menon

Ranch Hand
+ Follow
since Jul 31, 2001
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Shreya Menon

Yuriy,

can you give me an example for the first option you said.

Thanks
Pavan,

From my JSP I get th values from the database in this listbox. Now the users should have the ability to "update" the values in this listbox if they want. So ideally they should be able to click on the options in selectbox and edit it.

Any ways this is possible ?

Thanks
I have a form with select boxes

<select name="mine" size="10">
<option value="4">4</option>
<option value="6">6</option>
<option value="8">8</option>
<option value="2">2</option>
</select>

Now, I want to update the values selected using javascript. How can I do this ? any sample codes appreciated.

Will it be a good idea to add an extra textbox ? Can I make this selectbox[listbox] updatable. Any ideas apprecaited .

Thanks
Jeanne,

Basically some kind of LOCK is needed.
For client A, the first few records need to be displayed. Now these should be locked for displaying for the subsequent users.

How can I accomplish LOCK using JDBC/Oracle ?

I have heard SELECT.. FOR UPDATE and transactions.
But can anyone give me a sample please ?

Thanks
Paul,

For business needs, when multiple clients access the data from one table, different results need to be displayed to the clients. The reaon for this is, we allow clients to have a unique item. Customers can select the item/ should be able to select the item by themselves.

In other way, when client A comes he will be given the first 5 records, lets say. Now these 5 records should be LOCKED for display to the next users.

Hope this is clear.

Thanks
11 years ago
Hi all,

I am having a situation like this:
Say client A and client B trying to do a select from table A, I donnot want to display the same results to both the clients. How do I accomplish this ? Can anyone give me a sample ?

ie, Table A has 10 records and at a time application only displays 5 records. So for two concurrent users, User A should see the first 5 and User B should see the next 5. How can this be done ?

Thanks
Hi all,

I am having a situation like this:
Say client A and client B trying to do a select from table A, I donnot want to display the same results to both the clients. How do I accomplish this ? Can anyone give me a sample ?

Thanks
11 years ago
Just wanted to let everyone know that I am succesful in displaying my icon through a web app.

I created a DLL and called the functions implemented using JNI in my web app.

Thanks Ernest and Greg

Shreya
12 years ago
Ernest,

Before trying JWS with DLL, I thought of trying JDIC tray.jar with JWS. I created a jnlp file and trying to invoke that jnlp thru a link. Now, does JWS always need to launch an application. I donot want to launch this app. I just want to install my jar file/DLL using JWS. Looks like JWS inserts jar to its own cache and automatically launches the app [That means, I need to have an application-desc tag with a main-class in jnlp file.

Have you or anyone tried to use JWS and just install jar/DLL ?

Thanks
12 years ago
Hoo, Luckily I saved couple of last suggestions to my PC..

well, I am experimenting with JWS. I have a DLL with me which creates an icon on my systray. Now I am going to put my DLL thru JWS to another computer. Thats where I am ..

Thanks
12 years ago
Oh, yes
some of the answers to my posts are gone!!!

I feel sad..
12 years ago
Hi all,

Is something gping wrong with javaranch ? I remember there were 23 replies in my post, now I can see only 17. whatever posted on friday has vanished!!! what happened ? Has any one noticed this !!!
12 years ago
Ernest,



This client could be (among other things!):

1) A signed applet plus a native-code DLL. The user would have to download and install that DLL. They would have to have the Java Plugin installed.

2) A JavaWebStart application with a native-code DLL. The DLL could actually be included in the Java Web Start application and installed automatically. But the user would have to have Java Web Start installed.

3) An ActiveX control. This would be downloaded automatically, with zero install for the user. The downside, of course, is that this is not written in Java.



REgarding the client, the client can be a jsp with either an applet or an activeX [if possible] embedded in it, right ?

Thanks
12 years ago
Ernest,

The article you link to, Shreya, is about integrating ActiveX controls into desktop applications, where the Java code is running on the desktop machine.
Correct: I just forwarded, in case if helps

Shreya, can you explicitly spell out your requirements for us? Tell us exactly what you can and can't do, here. Does it have to be zero-install? Does it have to be JSP? What else?

Thanks for asking, first time some one asked what I want, apprecaired:

Requirements:
Insert an icon to the systray when users log in to the web application using a URL.

Yes, If possible our clients dont want anything to be installed on the client machines. Right now our app is client/server based. We install client on all client machines . When clients log in to the client, an icon gets displayed on systray.

Because of the whole world moving towards web, clients are asking whether we can convert our app to web based.[ have all code installed on a server] so that clients can go to a URL and access the app. But they want the same icon to get displayed when they succesfully login to the app.

Purpose of this icon: This icon flashes right now, when a new work comes to the users. Even if the window which they are accessing is minimised, by seeing the icon they can understand that a new work is waiting for them.
Now when the users log out of the system/close browser, this icon should disappear from systray.


Thanks and hopefully I will get some help..
12 years ago
Thank you David for your suggestion. will take a look at it,...

BTW, Ernest
I was reading this article:
http://www-128.ibm.com/developerworks/library/os-activex/

Again it talks about integrating an application.. But since its a nice article thought of sharing in the ranch
12 years ago