View source code of the page executed in browser...

Hi,
Request you to help me to view the source code of the page executed in browser using a Query/ Web Template. We can view the HTML code when we go to
Page--> View source code.
But i want to see the Java code behind the web page.
Regards,
Koundinya K

You can use tools like JD-GUI and the see the code. If you want to customize a cartirdge, you can always extend the class and add your stuff to the contentItem.
Thanks

Similar Messages

  • How to get the HTML Source code from the active browser ?

    Hi All,
    I need to get the HTML Source code from the active browser (IE). I tried with the below code, but I am not able to get the Source code all the time, with respect to the different applications (http or https) and the user authentication has to be changes in few applications (_I dont know or not able to given that in the below code_). More over there is also a dependence of the URL to get the HTML Source code.
    Therefore what I feel is getting the HTML Source code from the given or active browser will be consistent than the URL. Since the Source code is available in the browser (IE) . Please help me with a sample code to achieve this . . . !
    HTMLDocument doc=(HTMLDocument) kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
    URL url = new URL(strURL);
    Reader HTMLReader = new InputStreamReader(url.openConnection().getInputStream());
    kit.read(HTMLReader, doc, 0);Thanks in advance,
    Regards,
    Jothi Venkatachalam
    Edited by: j0o on May 7, 2009 3:11 AM

    The simple answer is: you don't.
    Not only is it simply not possible, but the entire concept of "the active browser" doesn't exist.
    You were on the right track with your code to retrieve the page directly from the server, but as you noticed that code will only work for regular http connections.
    For https and other protocols you will need to use appropriate libraries for each protocol. Something like Apache Commons can help you with that. There are networking libraries in there for a lot of commonly used protocols.

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • Hide a source code of the view

    is there any way (other than creating synonym) to hide a "source code of the view" from the users????
    Thanks

    It is not possible to wrap a view .
    Please refer :
    How to wrap a view in oracle
    Regards
    Rajesh

  • Where to get the source code of the owa_cookie.send procedure?

    I want to know where you get the source code of the owa_cookie.send procedure? I can only get the header of this package from ...\RDBMS\ADMIN\pubcook.sql. Could you paste the whole source code here and then I can modify it to set the 'httponly' attribute? I also have a problem that after changing the package, how to use the package I changed? Does it still a system package here? Or it has been changed to an user-defined package in database and I need to execute the package on the database for the web server?
    Thank you!

    Hi Arun,
    I am unable to see the pcui_gp components in the DTR ,I require this in order to get the source code of one of its component.
    Can you please tell me the step by step procedure getting those pcui_gp components from J2ee engine to the  dtr or  NWDI.
    If there are any documents on pcui_gp components exclusively please do forward to my mail id [email protected]
    Thansk and Regards,
    Anand.

  • How are the source code in the functions? Blank?

    In my SAP the source code of the some functions are blank.
    Is this correct?
    Can you view in your Systems and put the result, please?
    Functions:
    LSO_COL_GET_ROOM_PRIVACYTYPES
    LSO_COL_GET_ROOMS
    So, when i will to test, the functions return System Failure
    Thanks for Help.

    Hi,
    In our system in blank too.
    This is a RFC it means that others systens connect into this FM and it means that the implementation must be in the FM not in the other system.
    The note 1316954 - Integration: Collaboration for SAP NetWeaver 7.01 talks about the FM LSO_COL_GET_ROOMS.
    Best regards,
    Caíque Escaler

  • Source Code for the Package

    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    Augustine

    Augustine Vinish wrote:
    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this.

  • Where is the source codes in the project

    Help! NetBeans 6.5 Compile.
    Old man trying to learn Java and tools provided by SUN.
    I down loaded all those swing demos. I throw 3 demos into NB-6.5 to compile with existing source. When I start building got the message says compiled class file in the ?build? folder. Recommended to delete. If I clicked ?yes? or ?ignore?, it compiled and ran OK.
    One of my problem is, I like the source codes in the edit window and another one is I can not find my source in any folder in the project..
    Project folder :
    E:\NbProj\NbProj-1
    \NbProj-2
    \Nb/Proj-3
    Swing Demo source
    E:\DnLd\DemoZips
    \Source
    \demo.java-1
    \demo.java-2
    \demo.java-3
    Is it because of my setup?
    How can I get source codes into NB so I can learn NB and provided tools by editing compiling.
    Appreciate for any education to an old man.
    Myint

    In netbeans, File > New Project. In Categories select "Java", in Projects Select "Java With Existing Sources".

  • Is there any differnce between the Numeric Limit Test source code from TestStand 3.0 to TestStand 3.1? How to get the source code for the Numric Limit Test for both the versions?

    I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
    Thanks,
    Jeyan

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • OIC: Need to find the Source Code for the YTDSummary.java file

    Hi All,
    We have 11.5.10 implemention and we are using the OIC(Incentive Compensation) Application. In the Report Module for the Year-To-Date Summary we need look for the Java Source Code.The cnytdsum.jsp file call the YTDSummary.java file. We have teh following question
    1. How we can get the Java Source Code and where and which directory we need to look into?
    2. Let say if we need to customize the java file how we can do that?
    3. where and which directory we have to complie the java file?
    Highly appreciate for any pointers
    Thanks,
    Johnson.

    But those must be platform dependant, not really that
    interesting to look at. I have never felt any need to
    look at those at least.Wake up and smell the coffee, abbie! I read the source code all the time and constantly tell my students to do that, too.
    1. Java source code is not platform dependent. The original poster wanted to look at linked list code, how could that be platform dependent?
    2. It is the implementation of the SDK APIs, so by definition it is implementation dependent code, liable to change in a later version. So don't assume anything beyond what is claimed in the API documentation. However, sometimes the documentation is incomplete or ambiguous to you, and reading the source can provide some insight, however implementation dependent. (Light a candle or curse the darkness.)
    3. Why read source code? It's a good way to learn how to program. You see something in the API and ask: how'd they do that? Or you realize you want to do something broadly similar, but you can't reuse the source code.
    For example, Images are not Serializable, but suppose you want a small image that is part of an object to be serialized with the rest of the object without too much fuss (ie, without using javax.imageio). You notice ImageIcon is serializable, so you use it. (An ImageIcon has-an Image.) Then you wonder: how'd they do that? You read the source and then you know.
    You live, you learn,
    Nax

  • How to see the source code in the API?

    Is it possible to see the source code for the String class in the Java API 1.4.2 somehow?

    one of the IDE's I have is GEL (gexperts.com), all you do is
    Search/Go To Class/
    select the class String, and the source code is displayed.
    pre-requisite is you have to specify the location of the api docs on your pc when
    installing GEL

  • Sapscript - print a list with all source code of the windows in layout

    hi all,
    i need a way to print all source code of the layout (include the source of all windows in the layout).
    thanks,
    dany

    Hi Dany
    From SE71, you can go to FORM INFO: Utilities->Form Info
    Max

  • Source codes of the Unix commands

    It is still me, in spite of my bad English, I hope that you would understand my question. In fact, I am with the research of the place where I could find the source codes of the various commands of the Unix(sunSolaris) environment. Thank you .
    Patrick

    It is still me, in spite of my bad English, I hope
    that you would understand my question. In fact, I am
    with the research of the place where I could find the
    source codes of the various commands of the
    Unix(sunSolaris) environment. Thank you .If you want the source for the Solaris commands, you'll have to talk to Sun. It usually costs a lot of money, though there may be educational discounts available.
    If you just want to see source for commands that are similar to the Solaris ones, there are plenty of Open Source UNIX-like OSes available on the Web. I'd recommend looing at OpenBSD if you want to see clean well-coded implementations.

  • How to protect JSP source code on the Server Side ?

    I am new on JSP. I Already know about various Web and Desktop technologies but is the first time on JSP. I know ASP for example.
    Well, about .NET platform, it protects my source code on the server, the source code is compiled and on the server, only the compiled file are installed, my source code stay with me...
    About JSP, how it works about ? Is possible to hide my source code too ? What the technique to hide the codes ? I need to prevent access to my source codes...
    Roberto

    roberto.novakosky wrote:
    About .exe files, do you know if a java class is more easy or dificult to do reverse engineering ?Depends on who your enemy is. If it's for example a hacker with a lot of C knowledge but zero of Java knowledge, reverse engineering .exe would be easier than .class. If one was interested, one would always take time to learn how to decompile the one or other. Making files secure is a waste of time. It's always "hackable".
    If there was a proof of concept, no one major software vendor would have had so much problems with piracy and cracks/keygens. Think about it once again. It's simply impossible. Just have a clear EULA and actually make work of it whenever you discovers if someone breaks your EULA.
    I was thinking about, the .JSP can be converted to servlet .java, and converted to .class, this way hide the source code.Once again, one could still decompile it (or reverse engineer, so you call).

  • How can I get the source code of the google chrome ios app

    How can I get the source code of the google chrome ios app

    Google is your friend
    http://www.chromium.org/
    and
    https://developers.google.com/chrome/mobile/docs/iosoverview

Maybe you are looking for

  • Problem with BLOB image retrieval

    We are on Coldfusion 9,0,1,274733. I checked on "Enable binary large object retrieval (BLOB)" on the database but the image is still cut off (3/4 partly grey). On our dev server it works perfectly, our production server just gives off the partly grey

  • Add a Customizable Slideshow | Adobe Muse Feature Tour | Adobe TV

    Drag and drop a fully customizable slideshow widget for an easy, eye-catching way to display a series of images. http://adobe.ly/I5cONW

  • Data access from weblogic

    Hi,trying to figure out the most optimum of data access from weblogic. We initially used to do a preparestatement and then execute inside the dopost method of the servlets, but this causes the statement to be parsed everytime. To avoid this we decide

  • Mac installation?

    Hello.  I have Mac OS 10.5.8.  I'm trying to install Adobe flash player 10.1.183.43.  I started by uninstalling my previous version, which was outdated.  The progress bar gets stuck, and I tried manual installation.  On manual installation, the messa

  • Scheduling a task on jsp

    Hi, I need help, i'm trying to schedule a task on jsp, but i have no idea how i can do it... I did this class: package util; import java.util.Timer; import java.util.TimerTask; import java.util.Calendar; import java.util.Date; public class Horas{ Tim