How can i make this on the simplest way? with java
I would like to write a program called Decrypt, that reads a sentence from the standard input, keyboard input. The sentence has been encrypted as follows: only the first five even-numbered characters should be counted. Decrypt the sentence and output the result.
Sample Input:
Pleas enter encrypted string:
Hiejlzl3ow
Sample Output:
The decrypted string is: Hello
I would use some kind of text editor and a java compiler
Similar Messages
-
Hi, the home page is displaying everything across the whole screen with the task bar intact, but when I get any other url displayed, it displays in in the middle of the page the size of a4, I have tried re-setting the fonts, all to no avail, any help would be appreciative. Many Thanks Mark
Reset the page zoom on pages that cause problems.
*<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
*http://kb.mozillazine.org/Zoom_text_of_web_pages
You can use an extension to set a default font size and page zoom on web pages.
*Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/ -
When I delete an email from my iPad, it deletes automatically from my iMac as well. How do I arrange to have emails I delete from my iMac automatically delete from my iPad?
Thanks.My provider is gmail through Rogers in Canada. I use Thunderbird. My iMac is set for imap. I am unable to find where it tells me what mu iPad is set for. I've checked settings: mail and can't find it.
Thanks for your help so far. -
Why does the delete key on the keyboard go backward? How can I make it go the other way?
I'm used to a PC keyboard that enables me to delete characters from where my cursor it to the next space to the right. The keyboard I have with my Mac, alas, is frustrating for me to use because it goes backwards from what I am used to. Is there a fix to this? My PC keyboard has a backspace button in addition to the delete button, so it is very straightforward for me that way.
The delete key, if the cursor is placed mid sentence, will remove letters etc forwards from that cursor point. If you are deleting from the end of a sentence, the backward facing long arrow above the return key will delete backwards from that point.
For groups of letters or sentences, highlight them and press delete.
It is one of those situations where you should learn the new approach because the rest of the system is geared to it.
Message was edited by: seventy one -
How can I make this join in ADF and make CRUD operation in this
How to make this relation in ADF
I have table employees and this is my master table
Table Name: Employees
Columns:
Employee_id(PK)
Employee_name
Employee_Salary
I have a child table that is called related employee that contains employees related to this employee
Table_name: Related_Employee
Columns:
Related_Employee_Table_Id(PK)
Employee_id(FK)
Related_Employee_Id
When I open employee id = 100 for example and add related employee id = 10
this is added with no problem but the requirement is that when I open employee 10 I find employee id 100 as related employee
How can I make this scenario.The best way to understand this is to look at an example. If you are using an oracle database such as XE for you have a schema called hr. This shema has a number of tables two of which are departments and employees. a department has multiple employees correct. So in your example a employee may be related to x # of other employees perhaps. A very similar scenario as that in the hr Schema. If you don't have an Oracle XE database, download one from here -> http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
Create Business Components off of the Departments and Employees schema and you'll see that due to the db design, you get what you're talking about for free (i.e. the join). Thus, you have the master-detail relationship you're looking for. For a quick tip, here is the relationship between departments and employees in the hr schema via a create script that you can exam with data inserts included:
SET SQLBLANKLINES ON
CREATE TABLE DEPARTMENTS
DEPARTMENT_ID NUMBER(4, 0) NOT NULL
, DEPARTMENT_NAME VARCHAR2(30 BYTE) NOT NULL
, MANAGER_ID NUMBER(6, 0)
, LOCATION_ID NUMBER(4, 0)
, CONSTRAINT DEPT_ID_PK PRIMARY KEY
DEPARTMENT_ID
USING INDEX
CREATE UNIQUE INDEX DEPT_ID_PK ON DEPARTMENTS (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE TABLE EMPLOYEES
EMPLOYEE_ID NUMBER(6, 0) NOT NULL
, FIRST_NAME VARCHAR2(20 BYTE)
, LAST_NAME VARCHAR2(25 BYTE) NOT NULL
, EMAIL VARCHAR2(25 BYTE) NOT NULL
, PHONE_NUMBER VARCHAR2(20 BYTE)
, HIRE_DATE DATE NOT NULL
, JOB_ID VARCHAR2(10 BYTE) NOT NULL
, SALARY NUMBER(8, 2)
, COMMISSION_PCT NUMBER(2, 2)
, MANAGER_ID NUMBER(6, 0)
, DEPARTMENT_ID NUMBER(4, 0)
, CONSTRAINT EMP_EMP_ID_PK PRIMARY KEY
EMPLOYEE_ID
USING INDEX
CREATE UNIQUE INDEX EMP_EMP_ID_PK ON EMPLOYEES (EMPLOYEE_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX DEPT_LOCATION_IX ON DEPARTMENTS (LOCATION_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_DEPARTMENT_IX ON EMPLOYEES (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_JOB_IX ON EMPLOYEES (JOB_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_MANAGER_IX ON EMPLOYEES (MANAGER_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_NAME_IX ON EMPLOYEES (LAST_NAME ASC, FIRST_NAME ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_UK UNIQUE
EMAIL
USING INDEX
CREATE UNIQUE INDEX EMP_EMAIL_UK ON EMPLOYEES (EMAIL ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_LOC_FK FOREIGN KEY
LOCATION_ID
REFERENCES LOCATIONS
LOCATION_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_MGR_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_DEPT_FK FOREIGN KEY
DEPARTMENT_ID
REFERENCES DEPARTMENTS
DEPARTMENT_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_FK FOREIGN KEY
JOB_ID
REFERENCES JOBS
JOB_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_MANAGER_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_NAME_NN CHECK
(DEPARTMENT_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_NN CHECK
(EMAIL IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_HIRE_DATE_NN CHECK
(HIRE_DATE IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_NN CHECK
(JOB_ID IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_LAST_NAME_NN CHECK
(LAST_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_SALARY_MIN CHECK
(SALARY > 0)
ENABLE;
COMMENT ON TABLE DEPARTMENTS IS 'Departments table that shows details of departments where employees
work. Contains 27 rows; references with locations, employees, and job_history tables.';
COMMENT ON TABLE EMPLOYEES IS 'employees table. Contains 107 rows. References with departments,
jobs, job_history tables. Contains a self reference.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_ID IS 'Primary key column of departments table.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_NAME IS 'A not null column that shows name of a department. Administration,
Marketing, Purchasing, Human Resources, Shipping, IT, Executive, Public
Relations, Sales, Finance, and Accounting. ';
COMMENT ON COLUMN DEPARTMENTS.MANAGER_ID IS 'Manager_id of a department. Foreign key to employee_id column of employees table. The manager_id column of the employee table references this column.';
COMMENT ON COLUMN DEPARTMENTS.LOCATION_ID IS 'Location id where a department is located. Foreign key to location_id column of locations table.';
COMMENT ON COLUMN EMPLOYEES.EMPLOYEE_ID IS 'Primary key of employees table.';
COMMENT ON COLUMN EMPLOYEES.FIRST_NAME IS 'First name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.LAST_NAME IS 'Last name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.EMAIL IS 'Email id of the employee';
COMMENT ON COLUMN EMPLOYEES.PHONE_NUMBER IS 'Phone number of the employee; includes country code and area code';
COMMENT ON COLUMN EMPLOYEES.HIRE_DATE IS 'Date when the employee started on this job. A not null column.';
COMMENT ON COLUMN EMPLOYEES.JOB_ID IS 'Current job of the employee; foreign key to job_id column of the
jobs table. A not null column.';
COMMENT ON COLUMN EMPLOYEES.SALARY IS 'Monthly salary of the employee. Must be greater
than zero (enforced by constraint emp_salary_min)';
COMMENT ON COLUMN EMPLOYEES.COMMISSION_PCT IS 'Commission percentage of the employee; Only employees in sales
department elgible for commission percentage';
COMMENT ON COLUMN EMPLOYEES.MANAGER_ID IS 'Manager id of the employee; has same domain as manager_id in
departments table. Foreign key to employee_id column of employees table.
(useful for reflexive joins and CONNECT BY query)';
COMMENT ON COLUMN EMPLOYEES.DEPARTMENT_ID IS 'Department id where employee works; foreign key to department_id
column of the departments table'; -
How can I make this scene in After Effects?
The Hobbit The Desolation of Smaug. Gandalf vs The Necromancer (Sauron) - YouTube
I am making this scene in stop motion lego. How can I make this scene, the shield vs smoke and the flaming figure, including the shots that zoom into Sauron's mouth. How do I do these shots? I am new to after effects. I have done basic smoke before, but nothing like this. I've done snow and green screen and fire, but I'd just like some help. Thank you I have CS6There is no plug-in or button, only careful planning based on knowledge of the process of combining layers of images into a final image. Every element in a composite is a separate layer. If you are new you need to do some basic research. There are lots of books out there that will show you the theory. Start on AMAZON or your public library. http://www.amazon.com/Effects-Visual-Compositing-Studio-Techniques/dp/0321934695/ref=sr_1_ 2?ie=UTF8&qid=1421914012&sr=8-… may be a good place to start. Once you get some knowledge you can start breaking down a shot like this:
Layers that I see in this shot in order.
Vignette to darken the corners of the shot
Foreground smoke
Lighting effects on smoke
Foreground branches
Middle ground actor as a track matte or mask source for
Middle ground smoke
Middle ground lighting effects in the smoke
Actor on rock
Rock to act as a mask for background lighting effects and smoke
Rock
Background smoke and lighting effects
Background
If your original footage contained the background, the rock, the actor, and the branches then your first task would be to separate each of those to a separate layer. Then you would create or shoot the smoke and lighting effects and start building the layers. You then would modify the masks and effects on each layer to create the light wrap and look of the atmosphere using blend modes. Then you would add color grading effects or overlays to simulate the lighting in the shot. If you were really doing a shot like this you would probably add some lighting cues on the set to help sell the idea that a bunch of energy was lighting up the actors face. Like Mulenium said, there may have easily been fifty folks working on this shot for several days. It's completely unreasonable to expect that you can just add a plug-in and adjust some sliders to create the effect. Every composite requires you to separate elements into layers and then sandwich the elements you need to create and sell the effect you want to sell. -
I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
I have tried back ups and restoring, resetting, and even updating the pages app. And nothing has worked.I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
I have tried back ups and restoring, resetting, and even updating the pages app. And nothing has worked. -
When filling out a form, some fields copy to others when I tab to the next. How can I make this stop?
You can't using Adobe Reader. It looks like whomever created the form used the same identifiers (names) for various fields. Each field with the same name will populate with the information used in another field of the same name. This is intentional.
Normally when I see this, it tells me that someone created an initial field then copy/pasted it to make additional fields but forgot to change the names. -
Whenever I open my browser, the check plugins page keeps opening, even after I have updated all of my plugins.
How can I make this stop?That is a bug with blocklisting plugins that has been fixed.<br />
You can correct this issue by forcing the file blocklist.xml to update or wait until Firefox updates the file.<br />
That update will remove the severity="0" flags in the file that cause the problem.
See:
* [/questions/832793?page=2#answer-198407]
* http://forums.mozillazine.org/viewtopic.php?p=10899869#p10899869
* [https://bugzilla.mozilla.org/show_bug.cgi?id=663722 Bug 663722] - The blocklist output is including severity="0" where it shouldn't be -
I seem to have less space for my download.How can I make this download happen?????? Will I have to uninstall my old Adobe Photoshop(which has long since worked) in order for this to be installed??
What exactly are you trying to download on what system? Feel free to download to external drives to bypass the immediate bottleneck, but that may not resolve your issue once you install....
Mylenium -
For some reaon, when I launch iphoto, or any other photo program, my monitor changes to a different scheme. How can I make this stop? Thanks.
try disabling it, take a took at these snaps from my phone. Might not be really clear but can give you an idea
Hope this is clear,
Thanks for the suppport
Nazmul -
Since I have downloaded the iOS7 software my photos no ,longer automatically sync and upload to my lap top. How can I make this happen again?
Hi missvashenca,
Thanks for using Apple Support Communities. If your photos are not appearing on your computer from your iOS device anymore through Photo Stream, I'd first verify that the Photo Stream service is still enabled on your iOS device:
iCloud: Set up Photo Stream
http://support.apple.com/kb/PH2605
If it is, you may also want to try switching it off and back on again.
Likewise, I would also try this with your computer's Photo Stream settings.
As always, I recommend backing up your photos before performing troubleshooting:
iOS: How to back up and restore your content
http://support.apple.com/kb/ht1766
Cheers,
- Ari -
When I send an email notification that the form has been sent I want the receiver to get a copy of the actual filled out form not a ling to the data, how can I make this happen?
Hi,
you can find documentation for Designer under this website
http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=4,5&module=2
In Designer you can use the JavaScript API of Acrobat.
So the Devnet for Acrobat is also a good source.
http://www.adobe.com/devnet/acrobat.html
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf -
How can i make my scrollpane in a way that at the opening of a frame it doe
How can i make my scrollpane in a way that at the opening of a frame it does not scroll down automatically?
code is below
import java.awt.*;
import javax.swing.*;
import javax.swing.*;
import java.awt.event.*;
import java.net.*;
import javax.swing.JOptionPane.*;
import java.io.*;
import javax.swing.colorchooser.*;
import javax.swing.filechooser.*;
import javax.accessibility.*;
import javax.swing.border.*;
import java.sql.*;
public class Signup extends JFrame
JLabel p1,p2,p3,p4,p5,p6,uid,upass,cpass,fname,sname,hint,sl,ed,age,adr,cit,zip;
JTextField uname,fnamet,snamet,hintt,adrt,adrt1,city,zipcode;
JPasswordField upassw,cpassw;
JComboBox sex,education,agegr;
Signup()
Container c=getContentPane();
c.setLayout(null);
c.setBackground(Color.white);
/** JPanel c = new JPanel();
c.setBackground(Color.white);
int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
JScrollPane jsp = new JScrollPane(c, v, h); ***/
p1=new JLabel("Create Your Icafe!ID",10);
p2=new JLabel("Personal Information");
p3=new JLabel("User Address");
p4=new JLabel("Tell Us About Your Hobbiess (Optional) ");
p5=new JLabel("Tell us something about what you like. This will help us choose the kind of content to display on your pages.");
p6=new JLabel("--------------------------------------------------------------------------------");
uid=new JLabel("User Id");
upass=new JLabel("Password");
cpass=new JLabel("Confirmation Password");
fname=new JLabel("UserName");
sname=new JLabel("SurName");
hint=new JLabel("Hint Question");
sl=new JLabel("Sex");
ed=new JLabel("Education");
age=new JLabel("Age Group");
adr=new JLabel("Address");
cit=new JLabel("City");
zip=new JLabel("ZipCode");
uname=new JTextField(10);
uname.requestFocus();
uname.setToolTipText("UserName");
upassw=new JPasswordField(10);
upassw.setToolTipText("Password");
upassw.setEchoChar('*');
cpassw=new JPasswordField(10);
cpassw.setToolTipText("Confirmation Password");
cpassw.setEchoChar('*');
fnamet=new JTextField(10);
fnamet.setToolTipText("FullName");
snamet=new JTextField(10);
snamet.setToolTipText("SurName");
hintt=new JTextField(10);
hintt.setToolTipText("Hint Question");
String[] gender={"[Select one]","Male","Female"};
sex = new JComboBox(gender);
String[] edu={"[Select one]","S.S.C","Inter","Graduate","Post Graduate"};
education= new JComboBox(edu);
String[] ageg={"[Select one]","0 - 15","16 - 35","36 - 70","70 - 100"};
agegr= new JComboBox(ageg);
adrt=new JTextField(15);
adrt.setToolTipText("Address");
adrt1=new JTextField(15);
adrt1.setToolTipText("Address");
city=new JTextField(15);
city.setToolTipText("City");
zipcode=new JTextField(15);
zipcode.setToolTipText("ZipCode");
p1.setBounds(200,70,160,30);
uid.setBounds(350,100,160,30);
uname.setBounds(400,100,160,30);
upass.setBounds(335,140,160,30);
upassw.setBounds(400,140,160,30);
cpass.setBounds(260,180,160,30);
cpassw.setBounds(400,180,160,30);
p2.setBounds(200,220,160,30);
fname.setBounds(330,260,160,30);
fnamet.setBounds(400,260,160,30);
sname.setBounds(335,300,160,30);
snamet.setBounds(400,300,160,30);
hint.setBounds(315,340,160,30);
hintt.setBounds(400,340,160,30);
sl.setBounds(370,380,160,30);
sex.setBounds(400,380,160,30);
ed.setBounds(335,420,160,30);
education.setBounds(400,420,160,30);
age.setBounds(330,460,160,30);
agegr.setBounds(400,460,160,30);
p3.setBounds(200,500,160,30);
adr.setBounds(340,540,160,30);
adrt.setBounds(400,540,160,30);
adrt1.setBounds(400,580,160,30);
cit.setBounds(370,620,160,30);
city.setBounds(400,620,160,30);
zip.setBounds(590,620,160,30);
zipcode.setBounds(640,620,160,30);
Font font = new Font("SansSerif",Font.BOLD, 12);
setFont(font);
c.add(p1);
c.add(uid);
c.add(uname);
c.add(upass);
c.add(upassw);
c.add(cpass);
c.add(cpassw);
c.add(p2);
c.add(fname);
c.add(fnamet);
c.add(sname);
c.add(snamet);
c.add(hint);
c.add(hintt);
c.add(sl);
c.add(sex);
c.add(ed);
c.add(education);
c.add(age);
c.add(agegr);
c.add(p3);
c.add(adr);
c.add(adrt);
c.add(adrt1);
c.add(cit);
c.add(city);
c.add(zip);
c.add(zipcode);
setResizable(false);
//int a=DO_NOTHING_ON_CLOSE;
//setDefaultCloseOperation(a);
show();
setSize(800,500);
// Border raisedBorder = new BevelBorder(BevelBorder.RAISED);
setContentPane(c);
public static void main (String arg[])
try{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}catch(Exception s)
Signup swu=new Signup();just try the following:
jsp.getVerticalScrollbar().setValue(0);after inserting and adding all your components. this will set the vertical scrollbar up to the very first line.
regards -
I have changed the email signature on my iPhone, when composing a new email the signature is there, however when I am replying to an email it is not, how can I make sure that the signature is at the end of every email I send?
Yes I know what you mean about it cluttering the thread and for personal emails it is better without the signature. However this relates to sending business emails from an iPhone so I need the signature present on every email.
I can't find anything in Settings so I was hoping someone may have some knowledge/information/experience regarding this problem.
Maybe you are looking for
-
I am considering switching from an android to an iPhone and one of the features I use heavily on my android is my google now cards. It automatically reminds me to check in for flights and gives me flight status information based on flight information
-
Hi Fnrds, When in execute the MB5B Report for one of my finished products , i get some variations . In the Stock type tab i have two options : a) Storage Loc/batch stock b) Valuated Stock . When i execute( Current month ) this repot with option A a
-
How can i call a taskflow methode from backing bean ??
Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660 i like to call a Methode (taskflow) from backing bean! my bean code : public void imageLinkActionListner(ActionEvent actionEvent) { String id = actionEvent.getComponent
-
I can't install Sun Java System Application Server!! Who can help me??
I download Sun Java System Application Server(sjsas_pe-9_0_01-p01-windows.exe),and the first time of my installation, it was blocked after it was istalled 14%, half an hour later I canceled the installation and wanted to re-install it, and I tried ma
-
Hi, I am using an applet in my application, which creates charts. But its not opening, its giving exceptions. I create jar using jar cvf command. After that i aslo sign and verify this jar using jar signer. My jsp and this jar file are in the same di