Clara Hall

Greenhorn
+ Follow
since Nov 24, 2001
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 Clara Hall

Hi,
I developed a web application which only allow authorized user to use it. There are two kinds of users, the general user is allowed to view the material, the power user can do some edit. The view operation and edit operation are handled by different servlets. So I want to set some servlets can be run by both general users and power users, while some servlets can only be invoked by power users. Is there anybody has any idea? Thanks.
Clara
22 years ago
Sorry, missed one sentence.
As you mentioned, this method doesn't work for JRE 1.3.1. Then what should be done for JRE 1.3.1? Thanks.
Clara
22 years ago
Hi,
Thank you for your reply. I am using JDK 1.3.1.
So, you mean I need to sign it if I want to use web browser to run my applet eventhough the "SignedBy" field in my policy file is empty? Thank you.
Clara
22 years ago
Hi,
My applet needs to access the file system of the local machine. And I set up a policy file to grant the required permission. When I use appletviewer to run the applet, it works fine. But when I try to use netscape to run the applet, I got security exception. Is there anything needs to be configured in netscape? How about IE? Thank you.
Clara
22 years ago
Thank you for your message.
When my applet starts, it will open a new frame. In the frame is a split pane. The left side is a JTree and the right side is JTextPane. Some files I got from the server are in the format of MS word, MS ppt, etc. So I need to use IE to display these files. While the request is sent out from the applet. Thank you.
Clara
22 years ago
The applet and the browser are in the same machine. The applet will create a new frame(window). Some files I got from the servlet are in the format of MS word, MS ppt, etc. So I need to use IE to display them. Thank you.
Clara
22 years ago
Hi,
My applet connects to a servlet and gets the reply. Now, I need to use the IE to display the information the applet got from the servlet, anybody knows how to do it? Thank you very much.
Clara
22 years ago
Hi,
My applet sends a request to the servlet, and I need to use IE to display the result. Does anybody know how to let the IE display the result(the applet may need to open an IE window and send information to the IE)? Thank you very much.
Clara
22 years ago
Hi,
In my program, I need to send out a request from an Applet, and I need to display the response to IE browser. Does anybody know how to do it? Thank you very much.
Clara
22 years ago
It can be set in the database in its relationship setting, I wander to know how set it through SQL using JDBC. I don't know whether there is any way to do that.
Thank you.
Clara
How to define CASCADE DELETE and CASECADE UPDATE?
I tried to use ON DELETE CASCADE ON UPDATE CASCADE after the foreign key constrain, but it doesn't work, I also tried some other format which I can imaging, but none of them works.
Thanks.
Clara
Hi,
I use JTree to display the structure of the database, now the database content changed, I want to refresh the JTree, and make it only display the new information and get rid of the old information.
Anybody has any idea? Thank you.
Clara
22 years ago
It works now. Thank you so much.
But I have one more question. How to define CASCADE DELETE and CASECADE UPDATE?
I tried to use
ON DELETE CASCADE ON UPDATE CASCADE after the foreign key constrain, but it doesn't work, I also tried some other format which I can imaging, but none of them works.
Thanks.
Clara
Hi,
Following is my create table string
String qry1 = "CREATE TABLE ResearchTopic "
+ "(TopicID AutoNumber NOT NULL, "
+ "Name VARCHAR(50) NOT NULL, "
+ "Layer INT NOT NULL, "
+ "ParentName VARCHAR(50) NOT NULL, "
+ "PRIMARY KEY(Name, Layer, ParentName), "
+ "UNIQUE(TopicID))";
When I execute the update, it said there is syntax error for field definition.
Following is the error message.
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in
field definition.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
at Database.updateDB(Database.java:55)
at TableCreation.create(TableCreation.java:130)
at TableCreation.main(TableCreation.java:148)
I cannot find the errors in my string. What is wrong? Thank you very much.
Clara
Hi,
I need to develop a system in which the client can send a file (pdf, doc, ppt, ps, etc) to the servlet, the servlet gets the file and stores it in a database. When the client request the file, the servlet need to get the file from the database and then send it to the client. And the client use applet.
Now the question is what kind of type should I define for the file? Will Blob do the work? If so, how to do it? Thank you.
Clara