How to make a jar please help...this is urgent.
hi guys, as you know i am a novice programer...I need to make a jar in order to reuse some of my servlet. but how I do that...please be kind to give me the instruction
novice programer
hi guys, as you know i am a novice programer...I need
to make a jar in order to reuse some of my servlet.
but how I do that...please be kind to give me the
instruction
novice programerTry these links:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jar.html
http://java.sun.com/docs/books/tutorial/jar/
Similar Messages
-
free cloud storage and unlimited access keeps popping up why and how to make it stop please help?
Safari
Go step by by step and test.
Quit Safari.
Force Quit if you have to.
Hold the shift key down and relaunch Safari.
Reset Safari.
Click Safari in the menu bar.
From the drop down select "Reset Safari".
Uncheck the boxes beside all items.
Just check the box beside “Remove all website data”.
Click "Reset".
Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
Turn off Extensions if any, and launch Safari.
Safari > Preferences > Extensions -
Spry Accord. Panel - How to make it closed Please help!
Hi, I would like to ask for your help with the following:
I made a spry accord. panel. I was wondering how to make the first tab being closed when I open up the following page. Somehow when I made it, it created that the first tab stays open all the time. I was wondering if I can make it being closed and only open when I click on the Artisan Collection.
Thank you so much for your help in advance! Agi
Here is the link and you will see the panel on the left handside:
http://mallinfurniture.com/browse_c01.htmlHi,
Thank you so much for the answers. I tried what you recommended. An error message came up saying the following. Also, I noticed something weird in my coding... Maybe that is why it is not working. I copy the coding as well. Thank you so much for taking the time to help me out!!!
Error message: "This document contains JavaScript code for a widget that no longer exists. If you don't remove the code, the browser might display JavaScript errors when loading the page. Would you like Dreamweaver to find all the instances of this code for you?" Ok, No.
When I click on Ok. Nothing happens. What am I doing wrong?
Coding - the end of my page:
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("CatalogMenu", {defaultPanel: params.panel ? params.panel: 0});
//-->
</script>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: -1 }); //--> </script> </body>
</html>
It looks like I have double of that. When I removed the first accordion, all of my panels were opened...
What could ne wrong?
Thank you! Agi -
this morning my iphone showed up a activation problem then it told me to go to devoloper.apple.com and register for the ios developer program.. it costed me 99 dollars. but i did it.. just a moment ago.. how do i access my iphone now? please help me this is real urgent.
this in my problem too apple say : ur request is pending now and it did not activated yet ! ?
what should i do? -
How to make recursive query.Please help
Dear Experts:
I want to retrieve all employees located in a department in addition to all other employees located in the child's nodes of this department too.
Problem Details:
I have "Employees" table and "Departments" Table
The structure of Dept Table is:
ID primary key
parent_dept foreign key(id)
deptname varchar2
deptType varchar2
The Employee table structure is
ID primary key
dept_id foreign key(Department.id)
empName varchar2Sample data for departments
ID : 1
parent_dept : null
deptname: General Manager office
deptType : 'GM'
ID :=2
parent_dept : 1
deptname: Information tech.
deptType : 'DPT'
ID :=3
parent_dept : 2
deptname: Software Development
deptType : 'SECTION'Sample Data for employees
ID : 101
dept_id :1
empName King
ID : 102
dept_id :2
empName ALAN
ID : 103
dept_id :2
empName SAM
ID : 104
dept_id :3
empName JANEI want to create a query that accepts a parameter "p_department_id" and returns All employees on the following conditions
1- In case the parameter value is null , then retrieve All Employees "king - alan- sam-jane"
2- In Case the parameter value is 1 , then retrieve all the employees under department id =1 in addition to all the employees located under the children departments.
in this case it will be "king - alan- sam-jane"
3- In case parameter value is 2 , then return all the employees under department id =2 in addition to all the employees located under the children departments.
In this case it will be " alan- sam-jane"
4- In case parameter value is 3 , then return all the employees under department id =3 in addition to all the employees located under the children departments.
in this case it will be only "JANE"
In brief , If I pass any value to the parameter :p_department_id , I want to retrieve all employees located in this department in addition to other employees located in the child's nodes of this department id
I use oracle database 11g release 2
Please help me
Thanks
Edited by: ta**** on Apr 3, 2013 5:56 PM
Edited by: ta**** on Apr 3, 2013 5:58 PMSQL> variable p_department_id number
SQL> exec :p_department_id := null
PL/SQL procedure successfully completed.
SQL> with employees as (
2 select 101 id,1 dept_id,'King' empName from dual union all
3 select 102,2,'ALAN' from dual union all
4 select 103,2,'SAM' from dual union all
5 select 104,3,'JANE' from dual
6 ),
7 departments as (
8 select 1 id,null parent_dept,'General Manager office' deptname,'GM' deptType from dual union all
9 select 2,1,'Information tech.','DPT' from dual union all
10 select 3,2,'Software Development','SECTION' from dual
11 )
12 select *
13 from employees
14 where dept_id in (
15 select id
16 from departments
17 start with (
18 (
19 :p_department_id is null
20 and
21 parent_dept is null
22 )
23 or
24 id = :p_department_id
25 )
26 connect by parent_dept = prior id
27 )
28 /
ID DEPT_ID EMPN
101 1 King
102 2 ALAN
103 2 SAM
104 3 JANE
SQL> exec :p_department_id := 1
PL/SQL procedure successfully completed.
SQL> /
ID DEPT_ID EMPN
101 1 King
102 2 ALAN
103 2 SAM
104 3 JANE
SQL> exec :p_department_id := 2
PL/SQL procedure successfully completed.
SQL> /
ID DEPT_ID EMPN
102 2 ALAN
103 2 SAM
104 3 JANE
SQL> exec :p_department_id := 3
PL/SQL procedure successfully completed.
SQL> /
ID DEPT_ID EMPN
104 3 JANE
SQL> SY. -
i want to draw a red line:
Graphics g;
g = b.getGraphics();
g.drawLine(20,5,100,64);
but the line is black, i want it red.
the command g.setColor(color.RED) is not working....
WHATS WRONG, please help, thanks thomasHere is my code....
mport com.ms.wfc.app.*;
import com.ms.wfc.core.*;
import com.ms.wfc.ui.*;
import com.ms.wfc.html.*;
import com.ms.awt.*;
* Diese Klasse kann eine variable Anzahl von Parameter auf der Befehlszeile
* entgegennehmen. Die Programmausf�hrung startet mit der Methode main(). Der
* Klassenkonstruktor wird nicht aufgerufen, bevor nicht ein Objekt vom Typ 'exel'
* in der Methode main() erstellt wird.
public class exel extends Form
String datum2="";
String userdateinput="";
int count=0;
int i=0;
int day7=0;
int m=0;
int p=0;
public exel()
super();
for (i=0;i<31;i++)
Point[count]="305";
Graphics g;
int xx1=5;
int xy1=305;
int xx2=600;
int xy2=305;
int yx1=5;
int yy1=5;
int yx2=5;
int yy2=305;
int i=0;
//Bitmap b = new Bitmap("c:\\BACKGROUND.BMP");
Bitmap b = new Bitmap(600,600);
b.setTransparentColor(Color.RED);
g = b.getGraphics();
g.drawRect(0,0,600,600);
g.drawRect(0,0,600,600);
g.setBackColor(Color.RED);
g.setColor(Color.RED);//HERE IS THE ERROR!!!
g.drawLine(5,10,5,305);
g.drawLine(5,10,10,10);
g.drawLine(xx1,xy1,xx2,xy2);
for (i=0;i<5;i++)
yx1=5;
yy1=60+yy1;
yx2=10;
yy2=yy1;
g.drawLine(yx1,yy1,yx2,yy2);
for (i=0;i<31;i++)
xx1=xx1+15;
xy1=305;
xx2=xx1;
xy2=300;
g.drawLine(xx1,xy1,xx2,xy2);
int h=0;
int counter7=0;
yx1=-10;
int counter8=0;
int counter6=0;
for (h=1;h<31;h++)
int cpoint=com.ms.wfc.util.Value.toInt(Point[h-1]);
int cpoint2=com.ms.wfc.util.Value.toInt(Point[h]);
yy1=305-(cpoint*3);
yy2 = 305-(cpoint2*3);
yx1=yx1+15;
yx2 = yx1+15;
if (cpoint==0)
yy1 = 0;
yy2 = 0;
yx1 = 0;
yx2 = 0;
if (cpoint2==0)
yy1 = 0;
yy2 = 0;
yx1 = 0;
yx2 = 0;
g.drawLine(yx1,yy1,yx2,yy2);
if (cpoint==0)
for (counter6=0;counter6<counter7;counter6++)
yx1=yx1+15;
yx2 = yx1+15;
if (cpoint2==0)
for (counter8=0;counter8<counter7;counter8++)
yx1=yx1+15;
yx2 = yx1+15;
counter7++;
pictureBox1.setImage(b);
// Erforderlich f�r die Unterst�tzung des Visual J++-Formulardesigners
initForm();
// ZU ERLEDIGEN: F�gen Sie beliebigen Konstruktorcode hinter den Aufruf von initForm hinzu
* exel �berl�dt dispose, damit es die Komponentenliste
* bereinigen kann.
public void dispose()
super.dispose();
components.dispose();
String DATUM="";
private void start_click(Object source, Event e)
/**DATE**/
java.util.Date Date = new java.util.Date();
java.sql.Date sqldate = new java.sql.Date(Date.getTime());
String dat = String.valueOf(sqldate);
//datum.setText(DATUM);
//Start von EXEL
try
String makro="C:\\Program Files\\Microsoft Office\\Office\\XLSTART\\PERSONL.xls";
String cmd = "C:\\Temp\\"+DATUM+"FLIP.xls";
//String cmd = "C:\\Program Files\\Microsoft Office\\Office\\EXCEL.EXE Gr8galry.gra";
String line = null;
Process p1 = Runtime.getRuntime().exec(cmd);
Process p2 = Runtime.getRuntime().exec(makro);
//p.destroy();
catch (java.io.IOException e1)
//exception.setText("error");
String Point[]=new String[31];
private void button1_click(Object source, Event e)
close();
} -
Please help, this is urgent
Hi
I have created a grid using JSP and HTML which has three columns and multiple rows. The cells are actually the text boxes and their names are EmpNo, Value1, and value2.
And every row's column's control name is same.
They display like this
EmpNo Value1 Value2
EmpNo Value1 Value2
EmpNo Value1 Value2
EmpNo Value1 Value2
EmpNo Value1 Value2
EmpNo Value1 Value2
Can anybody guide me how can I access a value from a specific row and specific control. I am having problem because each column control name is same.
I know its possible in ASP using count method, because in ASP when you create a control with a same name, the ASP generates an array and it keeps the array name as control name, so that you can access the value through its subscript number. I was trying to do the same thing in JSP but couldn't do that.
Please help me, I will really appreciate that.
ThanksCan anybody guide me how can I access a value from a
specific row and specific control. I am having
problem because each column control name is same.
I know its possible in ASP using count method,
because in ASP when you create a control with a same
name, the ASP generates an array and it keeps the
array name as control name, so that you can access
the value through its subscript number. I was trying
to do the same thing in JSP but couldn't do that.HTML creates the array, so it works the same in JSP. Need to see your code to suggest why this might not be working for you. -
Session Locks... Please help this is urgent...
Hi,
I've created web application in ASP.NET and I'm connecting to one of our Oracle server which resides in other country. I only have read access to it. I can only do select statements.
After couple of months that the application was running, their database admin told me that my application was creating session locks in the database.
I only have 4 select statements that's connection to their oracle server. Below one of the query that I'm using.
IDataReader r = null;
try
using (OracleConnection conn = new OracleConnection(this.ConnectionString))
string _return;
conn.Open();
OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn);
r = this.ExecuteReader(command);
if (r.Read())
_return = r.ToString();
else
_return = "";
return _return;
finally
if (r != null)
r.Close();
My question is, Can I create Session Locks even if I'm only using SELECT STATEMENT?
They send me the screen shot of their Enterprise Manager but I cannot paste it here. The Lock Type was "TX".
Please help me...
Thanks,
LiezlI didn't see a FOR UPDATE in the code you posted but I don't know what the rest of your code/application does. For all I know the below code adds a FOR UPDATE at the end?
OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn); Am trying to say that just because you're using SELECT only doesn't necessarily mean it's non-destructive, in nobody elses way "read-only", it is still possible to do a SELECT FOR UPDATE if you have the SELECT privilege for a table which might explain any TX locks for your session.
SQL> create table a1 as (select * from user_tables);
Table created.
SQL> create table b1 as (select * from user_tables);
Table created.
SQL> select * from b1 where table_name = 'A1' for update;Now go to another session and try to update the table
update b1 set table_name = 'Z';Session will hang, until original session either commits or rolls back. Investigating further:
SQL> select session_id, object_id from v$locked_object;
SESSION_ID OBJECT_ID
25 17552
SQL> column object_name format a30
SQL> select owner, object_id, object_name from dba_objects where object_id = 17552
OWNER OBJECT_ID OBJECT_NAME
TESTUSER 17552 B1
SQL> select sid, type, lmode, id1, id2 from v$lock where sid = 25;
SID TY LMODE ID1 ID2
25 TM 3 17552 0 <---- see the 17552 which is the B1 table and session 25 which is the session that did the FOR UPDATE?
25 TX 6 589824 424So, see if you can track down which session is creating the locks from the data dictionary tables and whether it is your code. -
My iPad refuses to turn on... HELP THIS IS URGENT!
Just thismorning i had my iPad 2 working fine... until it ran out of charge. Yes, I put it on the charger. Once it had been charging for about 30 minutes, i attempted to switch it on, but the apple logo sign never moved. At some times, the iPad returned to the normal unlock screen, but when i did, it froze and the frozen apple sign appeared again.
I thought that maybe plugging it into my computer backup source would help... Well, it kinda helped but the iPad is reacting as if it is brand new and its name is now ''iPad'' when clearly, before i had this problem, it was named ''Nicole's iPad''.
Please help, this is urgent! I have school on Tuesday and if it is not repaired by then, my assignments and homework will be lost. ThankyouTry to hard boot it by pressing home key and power key at same time and keep them pressed to the count of one to fifteen.
And wait for few minutes it will work
If its not working yet then connect it iTunes and update it to iOS 6,
Before updating do not forget to back up your iPad -
this device is not longer eligible for creating a free i cloud accounting on my Iphone 5s , my old not working now cannot opened again just when i try make a free email this Message showed up how i can fix it
please help me
iPhone 5s, iOS 8.3Create a new AppleID on a different iOS device or on a computer. You will
then be able to use that newly created AppleID on your iPhone. -
i forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder
If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625. Then you can reset the password as explained here: http://support.apple.com/kb/PH2617. Of course, you can only do this if it's your ID.
-
Sir, We have around 500 items as Insurance Spares in the stores. These spares are checked once in 6 months for their healthiness, storage, etc with a special checklist. We want this checklist an schedule in SAP ( MM). How to do it? Please help.We are presently doing it as similar to PM schedule ( PM module) but want it in MM module.
Hi Prerna
Please refer the this doc ...it might help you
http://www.erptips.com/Samples/ERPtips-SAP-Training-Manual-SAMPLE-CHAPTER-from-Basic-Quality-Management.pdf
and kindly update the status if it works or not
Regards
Partha -
I can't forcequit firefox and shutdown my computer, nor can I open up any other programs or applications. Does anyone know how to fix this? please help this poor soul.
You can force quit applications
>Force quit
if that does not work you can force quit a computer shut down by hold the power button for an extended period. -
A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?
Hi,
This sounds like it is about Window positions.
iChat has Default places for Incoming Invites.
Video is always top Center of your Screen
Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
Secondary invites are sort of Stacked like when you open multiple files from the same App.
Your outgoing Windows are "Remembered" as to where the last one was when you used it.
This can be an issue if you use your Mac with a second display and turn Off Mirroring.
You windows can get "left" on the other screen.
Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
10:42 PM Tuesday; April 26, 2011
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb( 10.6.7)
, Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
i have my i phone 5c but i can`t activate it cus every time try to activate it i have a message that the SIM card is not valid although this i phone now is open international so how can i activate it ,, please help
i`m sorry but i contact to apple support and told me that the mobile still locked on AT&T and i can`t know this issue ,, Thanks for Reply
Maybe you are looking for
-
Hi Gurus, I created a layout for FBL1N but now the user wants it deleted or re-named. I do not have the admin rights and also I do not have "layout management" button. Any other way to delete or rename the layout? Thanks in advance
-
1)why we used tiff file in scripts? 2) if we have a quality client 300 in this client is it works scripts? 3) what is difference 4.6 c and 4.7 EE version? 4) give me some idea about ecc 6.0 version? 5) what is the purpose of code inspector? 6) in L
-
Can't re-install Lightroom from CC
Following deleting due to not working properly. CC says it's there and up to date Help please
-
Hi, I was wondering which codec (my list of available codecs: http://img93.imageshack.us/img93/7760/codecs3kx.jpg) will provide the best image quality? I want to export my clip to a different program, and I need the best quality possible. And I guess
-
Can't get Firefox to show websites properly
I've never had trouble with Firefox before. I was using 14.1 when it stopped showing everything the way it was supposed to. I scanned for a virus, rebooted my machine, turned off the plugins and nothing worked so I decided to try Safari. I set up the