How to convert JSP Compiled class file back to JSP
Is their any way to convert the JSP converted class file back into JSP file, I have few JSP files missing in my application but i do have class files deployed corresponding to the JSP file. Is their any way where i can convert my JSP class file back to JSP. I tried used decompliers but it conerts the class file into JAVA files, Is their any such decompiler that converts the JSP converted class file into Java files.
Thanks in Advance.
nope...its not et al possible...!!!
You cant convert class file back to JSP....!!
Similar Messages
-
How can I hide the class file ??
Hi !
I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. ThinksSee these....
http://www.saffeine.com/
http://www.jarsafe.com/
I recently read this. This will help you.
http://developer.java.sun.com/developer/qow/archive/160/index.jsp
Enojy....
Rajesh -
How to convert IDOC to flat file in XI
Hello SDNers
I have a scenario IDOC --> XI --> Flat file. My question is how to conver IDOC to flat file. At least there are two ways to do that:
1) Define a flat structure in PI that reflects the IDOC structure, then using content conversion to convert the flat structure to flat file in hte receiver communication channel.
2) There is a [document |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a] talking about using a generic ABAP mapping to map any IDOC to flat file.
For the option 1, I don't want that way, because I would need to define a flat structure in PI for each IDOC which is too much effort. (I would have dozens of IDOC scenarios)
The second one is very attractive. However the document is not complete to follow. Basically it does not explain how the inbound flat structure looks like. I guess the generic ABAP mapping is used to map any IDOC_XML structure to a flat structure, then in the file receiver communication channel to convert the flat structure to flat file format. But the document does not mention how the flat structure looks like. Has somebody tried this scenario? If yes, can you please let me know the steps to do in ESR (IR) and ID? Basically what structure the IDOC_XML should be mapped to using the generic ABAP mapping class?
Or somebody has other ideas on how to convert IDOC to flat file?
Thank you so much
Eric> 1) You are saying that for Java mapping and abap mapping, the target data type (messag type) is just a dummy one, the real (XML) message the receiver will recieve is the one (stream) produced by the java or abap mapping. Is that correct?
Definitely yes!
>
> 2) For the abap mapping option, I would define a dummy target data type. Do I need to do any content conversion in the receiver adapter (communication channel)?
None wat so ever.The output of your Java Mapping will be the Native Idoc Format.
>
> 3) I tried with a dummy target data type as mentioned in my second post, can you see any clue in the error message what is wrong?
Dats one thing I cant help much. Just make sure that the ABAP report is valid and take the help of a ABAP'er to debug what is going wrong. Not much of a ABAP guy, can read ABAP code, but cant write one myself
Try to test the program standalone to see how it works. Maybe take some Idoc XML file as input and then dump the output to a .txt file and so on.
Regards
Bhavesh
PS : All this is from what I have read of this guide. I have not convert Idoc XML to Native Idoc but have used this guide to convert Native Idoc to Idoc XML . -
Hi, I created a hello.java file, converted into a hello.class file by using the java 2SDk compiler. The problem is that the hello.class file is in a directory I created: C:\JavaBuilder\hello.class
I have a problem converting the hello class file into a jar file. I don't know which approach to take. I've looked at tutorials...but I keep getting more confused each time I view the tutorials on creating jar files. Please can someone help..by taking me through a step by step process. Please be explicit and do not leave or assume that I know any details because I'm a new born beginner. Thank you very much, I seriously appreciate it.Hi i did as you suggested, only with these exceptions:
jar -cvf hello.jar C:\JavaBuilder\hello.class
I did this and got the message: "adding : C:\JavaBuilder\hello.class (in=1150) (out=708) (deflated=38%)"
The problem is that when I tried to execute the jar file...by typing: " java -jar hello.jar" I received the error message: "Failed to load Main-Class Manifest attribute from hello.jar" Is there any way to correct this problem? please help, thank you. -
Hi, I created a hello.java file, converted into a hello.class file by using the java 2SDk compiler. The problem is that the hello.class file is in a directory I created: C:\JavaBuilder\hello.class
I have a problem converting the hello class file into a jar file. I don't know which approach to take. I've looked at tutorials...but I keep getting more confused each time I view the tutorials on creating jar files. Please can someone help..by taking me through a step by step process. Please be explicit and do not leave or assume that I know any details because I'm a new born beginner. Thank you very much, I seriously appreciate it.Hi!
first of all, you should use an upper-case character for the first letter of your classes...
To answer your question :
1) you must create a directory named "meta-inf" in your directory "C:\JavaBuilder"
2) then,you must create a file named "manifest.mf" in this directory
it's like a property file and it must contain this :
Main-Class: hello
(don't forget to type <enter> after "hello")
3) in the directory "C:\JavaBuilder", you can enter the following command :
"jar cvfM hello.jar meta-inf\manifest.mf hello.class"
(check jar.exe is in your path)
4) you can run your jar by the command :
"java -jar hello.jar" -
Error while De-Compiling class files
Hi Gurus,
I am facing one issue.
While de-compiling class files, Some of the class files are not getting de-compiled correctly. When I open de-compiled Java file, the code is with errors where some of the code lines are not in proper form.
I have experienced this with couple of times now. I am using JAD as a tool.
Please help.
Thanks,
-Abm"Some of the class files are not getting de-compiled correctly. When I open de-compiled Java file, the code is with errors where some of the code lines are not in proper form."
Well, unless you put a sample of error, how do you expect any solution?--Shiv -
I used a third party programme called Mackeeper UGHHH SOOO Stupid i know,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??and will not work even when i highlight one by one!!
how can i manually put these files back where they belong?
i know i should have used time machine but i have not set it up and its too late for that now
i have been researching and racking my brain on how to put these folders and contents of them back to where they once were all of the contents of the folder are still in tact AND i have not emptied my trash,my programmes and some of my apps are not working properly now...i use my computer alot for making music and things are jumbled up now...
is there anyone out there who knows the answer to my prayers on how to go about putting these folders/files back to where they came from to restore functionality to my mac..Yes and thank u if u were going to tell me i HAVE un installed mackeeper...A very sad and upset Mac user!! Cheers Shanehello there thank u so much for ur reply!! ok i uninstalled mackeeper now and the put back option is still in grey im so confused...i tried restarting my computer like u said and put back still in grey??!! the files that are in my trash are everything from Accounts,address book plug-ins,address book,adobe,aim.........then stuff like apple,Audio,....to caches color pickers,colors,com.apple.TCC,to DVD player to facebook,google to ilifemedia browser to itunes to keychains to movie effects,preferences printers to skype...my Native instruments files BUT not all of them my garage band but not all of it...it seriously looks like my whole library is in the trash i tried to put things back where i THINK they belong and it just added the item or folder under where i thought it went and didnt restore functionality to for instance google chrome and all my book marks are there....they seem to be only certain things from my library that would have added some functionality to apps and programmes like my garageband is missing stuff photobooth wont work so on.......kinda looks a bit like this thats only the half of it!! Cheers shane!!!
-
How to convert FLV and F4V files to other media formats
How to convert FLV and F4V files to other media formats
Nowadays, every one can download their favorite videos from video sharing websites like YouTube, Hulu, MySpace, Google Video, metacafe, Yahoo! Video, Reuters.com and so on at will. However, these video files we got are usually in the format of FLV, or F4V, which are not workable by most portable devices, or some video players and video editors on our PC. With the intention of solving these problems, this guide will show you how to convert FLV and F4V files to other video and audio formats in detail.
1. Download, install and run Pavtube FLV Converter
As soon as you run this program, the following wine red interface will show up:
2. Add files, set output format and destination folder
Input FLV and F4V files to this program by clicking on “Add” button, and select a format as the output format in the drop-down list of “Format”, meanwhile, you can press the output folder to specify the destination folder or just use the path set by default. Moreover, “merge into one file” enables you to combine multiple FLV and F4V files to be as a single file, if you have this needs, just tick it.
3. Set advanced settings
Click “Settings” button, the following interface will pop up. You can change the parameters like screen size, bit rate, frame rate, sample rate, etc. on it to optimize the output quality or compress file size.
4. Convert
After all settings are done, you can press “Convert” button to start transferring, and then the following window will show you the conversion info in detail. According to the info you can manage your time and disk space properly.
Pavtube FLV Converter can definitely complete the conversion at a swift speed with excellent quality; also it adopts an advanced audio-video sync technology, so that audio and video match very well in the resulted files. Therefore you need not worry about these issues.
Useful tips:
Free online FLV downloader:
www.convertdirect.com
http://vixy.net/
http://www.videoconverterdownload.com/online-free-flv-converter.html
http://www.flv2mp3.com/
http://www.mediaconverter.org/
http://2conv.com/
http://online.movavi.com/
http://www.youconvertit.com/
http://www.playtube.com/
http://www.convert.net/Flip4Mac
-
Getting the class name from within the compiled class file
hey!
I was wondering (i know its possible) how to read a .class and get the name of the class. ok that made not much sense^^ so, You have a file: c:\f.class but it wont run because the file name has to be the same as the classes name, right? so how can you read the class file i guess in binary mode to receive the correct class name.
I saw inside my f.class i have "realname.java" so i know now that the name of the class file should be realname.class, i tried ways to extract it from the class file but never had any success.
i think i need to study english^^
ps: i need this because i have some class files sent to me and the file names have been changed so they wont work, they only work when i open the class file in notepad and find out what its real name should be and then rename the file.
Edited by: forgotmydamnpass on May 7, 2009 11:23 AMah looks interesting, problem is i cant use it.. im prone to errors!
import java.net.URLClassLoader;
public class NewMain {
* @param args the command line arguments
public static void main(String[] args) {
FileClassLoader loader = new FileClassLoader();
Class clazz = loader.createclass("c:\\f.class");
Method method = clazz.getName();
}apparently "createclass" doesnt exist :/
FileClassLoader = cannot find symbol
Method = cannot find symbol -
How to convert oracle form fmb file to java swing file using Jdeveloper
how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available
thanks
Message was edited by:
user591884There is no automatic way to do this in JDeveloper. I know there are some Oracle Partners offering forms to java conversion, I don't know how much of their tools are automated and done with JDeveloper. With JDeveloper+ADF you basically rewriting the Forms application from scratch (and using ADF is helpful during this process).
-
How can we call a class file of one package for class file of another
How can we call a class file of one package from class file of another package and both packages exist in a same folder
How can we call a class file of one package from
class file of another package and both packages exist
in a same folder
Luckily they don't so it's really not a problem after all. -
How To Convert IDOC to FLAT File ?
Dear Expert,
My requirement is to convert the IDOC to FLAT File using XI. How can i do this. I have gone thru the Guide How to convert IDOC to Flat file using ABAP mapping but it does not talk about what are all the stpes i need to do in IR & ID.
I am ready to use ABAP mapping since i am an ABAPER.
Is it recommended to use ABAP mapping since we expect daily 500 IDOCs to be converted to a flat file & transfer this flat file to some FTP location.
Can anybody tell me the stpes how to do this in XI. The steps i am expecting like how to define the Data Type / Message type / Mapping etc & how to configure the channel ?
The Flat file i want to convert should look like the way IDOC file gets created in FILE FTP port in SAP.
Regards,
UmeshI think there is some confusion... Let me explian my problem once again.
I want to convert the Shipment IDOC as it is the moment the shipment documents gets created in R/3. I dont want to collect many IDOCs & make as single file. For each IDOC it should create a Flat File.
Secondly if i have to MAP the whole IDOC the graphical mapping is too difficult.
So instead of that can i use ABAP/XSLT/JAVA whichever is easy. ?
Since i am ABAPER i can use ABAP mapping.
The Output file should look like as below.
EDI_DC40 9000000000011785526620 3012 OILSHI01 OILSH1 SAPP01 LS SAPCLNT900 A000000018LS WBIMQSI 20071031161506 20071031161506
E2OILSH001 90000000000117855260000010000000250 1011537344 1101 1 300X1 TRKGMKG 0202KG KG X ZTLF X XX 000 BLX X X60002200710310000002007103100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 E2OILSA 9000000000011785526000002000001031011537344000001SP 0000201496000000000000000000 00 00 V E2OILSA 9000000000011785526000003000001031011537344000002SP 0000201496000000000000000000 00 00 S
E2OILSV 900000000001178552600000400000103MH04CG6052 LPBW50D62401033 000020149601KG KGM 35200.00000 17200.00000 18000.00000 0.000 0.000 0.000 DLLPGB220071031000000 00000000000000000000000000000000000 0000XX 6000AAAA0.00000 0.00000 17200.00000 35200.00000 18000.00000 MH04CG6052 new bulk tender approved rs LPG Bulk Lorry - WR Refinery TPP BABA TRANSLINES kg kg 0.000 0.00 0.00 E2OILSC 9000000000011785526000005000004041 001 18000.000000 18000.000000 35200.000000 0.000000 0.000000 KG E2OILSQ001 9000000000011785526000006000005050011 MH04CG6052MH04CG60521J 05041089055000 00000118000.0000000 KG 18000.000000 18000.000000 6000V04 18000.000 KGM18000.000 KGM00000000 V 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0001 E2OILS2 9000000000011785526000007000004040001000001000200020000.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 XX0000000000000000000000000000 XX0504108905J5000 PUNE LPG BOTTLING PLANT START 0001 1END 0001 10.000000 0.000000 0.000000 0.000000 0.000000 0.000000
Pl. Help me its Urgent.
Regards,
Umesh -
Hi there.
i'm just wondering, is it possible convent .Class file back to .java file? or human readalbe chars?Search for jad decompiler then install into what ever directory you wish.
Its dos base so copy what ever .class into the jad directory then
in command prompt go to the directory with jad, run jad then type
jad -s<java> <filename>.class
It is a very good program -
How to convert Ms Word (.doc) file to Protected pdf
Hi all,
Is anybody out there could help me on how to convert Ms Word (.doc) file to protected pdf file using java? May be there are some jar file I need to download or any tools you used before? Thanks in advance... =)Hi all,
Is anybody out there could help me on how to convert
Ms Word (.doc) file to protected pdf file using java?
May be there are some jar file I need to download or
any tools you used before? Thanks in advance... =)Hi All,
Thanks for your replies..I think i almost find the solution. I found 2 options to do this. They are :
1. Get Adobe Acrobat and it's SDK (has to buy)
2. Get OpenOffice 2.0.4 and it's SDK (opensource)
So, i do option 2. I install them in my system.then i call them from my ide. Then i follow the code from this link..
http://weblogs.java.net/blog/tchangu/archive/2005/12/open_office_jav_1.html
Thanx.. =) -
How to convert bytes[] into multipage File object
Hi,
How to convert bytes[] into multipage File object??
I used the java.io.SequenceInputStream to concatenate two input streams (basically .pdf files) into a single input stream. I need to create a single multipage pdf file using this input stream.
Thanks for you help in advance..Only text format allows you to concatenate two files together to get a longer files.
Most formats have a header and a footer and so you cannot simply add one to the other.
You need to use a PDF API which will allow you to build the new document (if one exists)
Maybe you are looking for
-
Error Code 505, proxy, Mail, DNS . . .
No broadband where I live; wireless out of reach of my budget; so stuck with slow-as-cold-molasses dial up. My telephone company and isp techies say 4.5 kbs is pretty much as good as it gets speedwise. Can you imagine, those of you who are racing a
-
Sound in only one ear of headset
I get sound out of only one speaker of my headset. (I have two headsets; same problem with both. Yesterday I went into the control panel and reset the audio to the default setting. That worked yesterday. But when the same problem reappeared today
-
Half of my header disappears on pages 3 through 6
Hello! I am writing a research paper for my Psych class and we are required to have a header at the top of each page. I added the text for the header and each page is numbered but pages 3-6 only show half of the header text. When I click on it to sho
-
Sorry if this has been answered before but is there a simple way to import my images, not from iPhoto, that have meta in .xmp files into Aperture. I do plan to keep my file structure and not actually import them into the Aperture Library. An automato
-
After hitting link in nbc news, there is no return to same spot on previous page.
After hitting link in nbc news, there is no return to same spot on previous page.