Where's the location of JSP's java files in weblogic

When I put *.jsp in my Web application,
          I can find the complied class in
          C:\bea\user_projects\mydomain\myserver\.wlnotdelete\extract\myserver_BOFT_BO
          FT\jsp_servlet\****.class
          But anyone can tell me where the ***.java?
          What's the location of these java files ?
          Samuel
          

In WL8.1, it appears that the .java files are placed in the same directory,
          but are removed after the class is compiled successfully. (Is there a
          setting to prevent the .java files from being deleted?)
          Try placing an intentional syntax error in your JSP file so that the
          compilation fails, and you should see the .java file where the .class file
          would have been.
          -- Craig
          "Samuel Hsu" <[email protected]> wrote in message
          news:3fc4365a$[email protected]..
          > When I put *.jsp in my Web application,
          > I can find the complied class in
          >
          C:\bea\user_projects\mydomain\myserver\.wlnotdelete\extract\myserver_BOFT_BO
          > FT\jsp_servlet\****.class
          > But anyone can tell me where the ***.java?
          > What's the location of these java files ?
          >
          > Samuel
          >
          >
          

Similar Messages

  • Where is the location of the default package?

    I'm using jdk1.6.0_14. There is a folder src. I guess the folder contains all the default package. And I try to delete the src folder, and then compile and run a simple program:
    import java.util.Scanner;
    public class TesImport {
         public static void main(String[] args) {
              Scanner s = new Scanner(System.in);
              System.out.println(s.nextDouble());
    }...but it still work... Actually, where is the location of the default package?
    Really need your help.
    Thanks

    JoachimSauer wrote:
    georgemc wrote:
    Eclipse defaults to thisSince I'm using maven, I really like the default structure of files there:
    - */src/main/java* is for Java sources
    - */src/main/resources* is for resources
    - */src/test/java* is for Java sources for the tests
    - */src/test/resources* is for resources for the tests
    - */target* contains everything produced by the build
    - */target/classes* contains compiled Java classes from /src/main/java and resources from /src/main/resources
    - */target/test-classes* contains compiled Java classes from /src/test/java and resources from /src/test/resourcesMe too. Presumably you use the Maven plugin to generate Eclipse projects too? One of the things Maven-haters moan about is that it enforces it's own directory structure on you, which quite apart from not being not true, isn't a bad thing anyway. That structure is a pretty sensible default

  • Where is  the location(path) of the videos that the 3GS recorded?

    Where is the location(path) of the videos that the 3GS recorded? Thanks. Kevin

    that's a private folder, so there's no method to access it. The only documented way to get videos from the camera roll is by using image picker (in 3.0 atleast)

  • Where is the location of tablespace file and control file

    Hi, all
    where is the location of tablespace file and control file? tks

    For DataFiles, query DBA_DATA_FILES or V$DATAFILE
    For TempFiles, query DBA_TEMP_FILES or V$TEMPFILE
    For Online Redo Logs, query v$LOGFILE
    For Archived Redo Logs, query v$ARCHIVED_LOG
    for Controlfiles, query v$CONTROLFILE
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Where is the location of Adobe Connect server?

    Where is the location of Adobe Connect Server?
    At the moment we are experiencing too much delay.
    It seems that Adobe connect server is not around Korea ,Japan nor China.
    That's just my guess.
    Is there any specialist who can give me the right answer for the locations of Adobe Connect server?

    Depending on which cluster you have an account on they can be in a few locations in the US,  Canada (I think) or Western Europe. Adobe doesn't have a hosted cluster in APAC, so it is likely that you are seeing lag due to communications to a server in the Western US.

  • Help me to control the transactions from jsp to java bean

    Please anyone can guide me how to control the transactions from jsp to java bean. I am using the Websphere studio 5.1 to develop the database application. I would like to know two method to handle the database. First, I would like to know how I can control the transactions from jsp by using java bean which is auto generated for SQL statement to connect to the database. Following code are jsp and java bean.....
    // call java bean from jsp
    for (i=0;i<10;i++)
    addCourse.execute(yr,sem,stdid,course,sec);
    I write this loop in jsp to call java bean..
    here is java bean for AddCourse.java
    package com.abac.preregist.courseoperation;
    import java.sql.*;
    import com.ibm.db.beans.*;
    * This class sets the DBModify property values. It also provides
    * methods that execute your SQL statement and return
    * a DBModify reference.
    * Generated: Sep 7, 2005 3:10:24 PM
    public class AddCourse {
         private DBModify modify;
         * Constructor for a DBModify class.
         public AddCourse() {
              super();
              initializer();
         * Creates a DBModify instance and initializes its properties.
         protected void initializer() {
              modify = new DBModify();
              try {
                   modify.setDataSourceName("jdbc/ABAC/PreRegist/PRERMIS");
                   modify.setCommand(
                        "INSERT INTO informix.javacourseouttemp " +
                        "( yr, sem, studentid, courseid, section ) " +
                        "VALUES ( :yr, :sem, :studentid, :courseid, :section )");
                   DBParameterMetaData parmMetaData = modify.getParameterMetaData();
                   parmMetaData.setParameter(
                        1,
                        "yr",
                        java.sql.DatabaseMetaData.procedureColumnIn,
                        java.sql.Types.SMALLINT,
                        Short.class);
                   parmMetaData.setParameter(
                        2,
                        "sem",
                        java.sql.DatabaseMetaData.procedureColumnIn,
                        java.sql.Types.SMALLINT,
                        Short.class);
                   parmMetaData.setParameter(
                        3,
                        "studentid",
                        java.sql.DatabaseMetaData.procedureColumnIn,
                        java.sql.Types.CHAR,
                        String.class);
                   parmMetaData.setParameter(
                        4,
                        "courseid",
                        java.sql.DatabaseMetaData.procedureColumnIn,
                        java.sql.Types.CHAR,
                        String.class);
                   parmMetaData.setParameter(
                        5,
                        "section",
                        java.sql.DatabaseMetaData.procedureColumnIn,
                        java.sql.Types.SMALLINT,
                        Short.class);
              } catch (SQLException ex) {
                   ex.printStackTrace();
         * Executes the SQL statement.
         public void execute(
              String userid,
              String password,
              Short yr,
              Short sem,
              String studentid,
              String courseid,
              Short section)
              throws SQLException {
              try {
                   modify.setUsername(userid);
                   modify.setPassword(password);
                   modify.setParameter("yr", yr);
                   modify.setParameter("sem", sem);
                   modify.setParameter("studentid", studentid);
                   modify.setParameter("courseid", courseid);
                   modify.setParameter("section", section);
                   modify.execute();
              // Free resources of modify object.
              finally {
                   modify.close();
         public void execute(
                   Short yr,
                   Short sem,
                   String studentid,
                   String courseid,
                   Short section)
                   throws SQLException {
                   try {
                        //modify.setUsername(userid);
                        //modify.setPassword(password);
                        modify.setParameter("yr", yr);
                        modify.setParameter("sem", sem);
                        modify.setParameter("studentid", studentid);
                        modify.setParameter("courseid", courseid);
                        modify.setParameter("section", section);
                        modify.execute();
                   // Free resources of modify object.
                   finally {
                        modify.close();
         * Returns a DBModify reference.
         public DBModify getDBModify() {
              return modify;
    I would like to know that how can I do for autocommit from jsp. For example, the looping is 10 times which mean I will add 10 records to the db. If the last record is failed to add to db, "how can I rollback the perivious records?" or guide me to set the commit function to handle that case. Thanks a lot for take your time to read my question.

    Hello.
    The best method is using a session bean and container managed transactions. Other method is using sessions bean and the user transaction object (JTA-JTS).
    so, JDBC has transaction management too.
    good luck.

  • In Mountain Lion, how do I find the location of an open Preview File?  The file "properties" tab is no longer available.

    I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them.  In Mountain Lion, how do I find the location of an open Preview File?  Tried holding option + command in spotlight but I don't see a path name appear anywhere. 

    Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
    EDIT: Also, if it is bookmarked the path is in Bookmarks.

  • I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the prefer

    I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the preferences, cleaned up the file. Renamed it to another file and 2 weeks later it is doing the same thing. Luckily I had my main subjects as smart objects and it saved them. This second time I just closed it out and opened it again and it is fine. Anybody else have an issue with this? Also it runs really slow these days on my MacBook Pro Retina 2.6 Core i7 with 16gb Ram.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • How to view the change immediately after a java file is modified without restarting server or redeploy?

              Hi All,
              How to view the change immediately after a java file that is used in jsp is modified
              without restarting server or redeploy?
              Moreover, it is better to keep the original session.
              Any suggestion is appreciated.
              Kammau
              

              Hi,
              In order to have a new version of a java class, the current classloader must be
              deleted and a new one created. This is what redeployment does. I believe that
              this is more of an issue with Sun's implementation of classloaders. You could
              ask BEA support (719.232.7878) and see if they have any plans to periodically
              check jar files to see if java class file timestamps and destroy and re-create
              classloaders on the fly.
              1) You will still have to accept the performance hit of destroying classloaders
              and creating new ones. There isn't any way around that.
              2) I would think you would want to have more explicit control in production and
              integration anyway.
              You can redeploy applications from the command line (script) file not just the
              console.
              Hope this helps,
              pat
              "Kammau" <[email protected]> wrote:
              >
              >Hi All,
              >How to view the change immediately after a java file that is used in
              >jsp is modified
              >without restarting server or redeploy?
              >Moreover, it is better to keep the original session.
              >Any suggestion is appreciated.
              >
              >Kammau
              

  • How do I stop GoLive from changing the location of my CSScriptLib.js file?

    How do I stop GoLive from changing the location of my CSScriptLib.js file?
    I am making rollovers and want my CSScriptLib.js to be in the same folder as my HTML files.
    Every time I edit the rollovers GoLIve recreates the path of the CSScriptLib.js to file:///Users/xxx/Library/Preferences/Adobe/GoLive/Settings8/JScripts/GlobalScripts/CSScr iptLib.js so it won't work when uploaded. I always need to edit my HTML before uploading. All I want it to say is src="CSScriptLib.js" as the default.

    The site file is a database that keeps track of all your assets (and much more), including the scriptLib file. As soon as the page is saved (when you use the site file and it's open) the link will be change to the correct path that will work on the server.
    If you're not using the site file you might as well use a text editor, since most of GL functionality is gone.

  • Like an idiot I changed the location of my iTunes Media File in the Advanced section of my Preferences - now half my songs won't play as they can't be found....I know they are there as I played these songs yesterday.....help !!!....

    Like an idiot I changed the location of my iTunes Media File in the Advanced section of my Preferences - now half my songs won't play as they can't be found....I know they are there as I played these songs yesterday.....help !!!....
    .....what folder do I need to reset it to so I can play my entire library??
    Frankie C

    You can also reset the location fo the media folder in the advanced tab.

  • Where is the procedure for uploading my music files to Cloud?

    Where is the procedure for uploading my music files to Cloud?  I have a portable hard drive that has all my burned songs on it, and I'm trying upload and match those songs for the first time.....

    There is no "procedure." When you sign up for iTunes Match, iTunes does all the work for you. But you must have the external HDD connected for it to work.
    Also, keep in mind that iTunes Match is not a streaming service. To play your music on your computer you'll still need to have the external HDD connected, unless you decide to delete all the music from your iTunes library.

  • Compiling new classes on the fly without having a .java file

    Hi everybody,
    I'd like to compile dynamically produced JAVA code (code from user input in my application). I don't wanna store the source code in a .java file, but just compile the code (as char[] or something like that) to a byte[].
    Does anybody have an idea ??
    Thanks
    Jan

    Have you looked at the idea of interpreting rather than compiling, say using Jython (a python interpreter written in Java). Python and Java are extremely close in syntax, and it should be relatively easy to do what you are talking about.
    I am worried though, that you are going to let users type in text, and assume that it has valid syntax in the language you are using. Many years of UI experience indicate that letting users type in anything results in a certain error rate. Letting it be instructions you are to follow in your code is even more dangerous.
    There are many programs that let users define actions interactively. They seem to either let the user type in text, and error check it to death (a lot of work, think spreadsheet type programs), or they present the user with a set of choices, often using a wizard type interface, which takes more up front UI work, but only lets the users select valid options.
    It sounds like you want to interpret what the user types in as instructions. Even with Jython (or a similar interpreter), you would need to parse the user input for formatting errors, invalid variable names, and anything else they could make a mistake on, before you could pass any of it to the interpreter.
    Good luck.

  • What's the relationship between JSP and Java?

    hi,dear friends here.......^_^ I'm a graphic/web designer,
    cause the needed of internet web design, I started to learn html and Java server page.But I never have experience of JAVA programs. It's kind of hard for me to know and use JSP now.Should i need to learn Java first? Or can anyone tell me what's the good way for me to
    learn JSP?
    I also want to learn how do make a web page as the first page of java.sun.com about "Industry News ".
    Thanks !!grace from Taipei,Taiwan

    Hi! JSPs allow Java code together with HTML in one document. The servlet engine "compiles" a JSP into a servlet prior to executing it. So, one must know Java prior to dealing with JSPs.
    IMVHO, "Thinking In Java" by Bruce Eckel is a very good book for introduction to Java. You can download the electronic version at no charge from http://www.bruceeckel.com.
    After you get a good handle on Java, "Professional Java Server Programming" (Wrox Press) can give you good information on servlets and JSPs, along with some other related topics.
    Hope this helps!
    Cheers!

  • Where is the location bar item list stored?

    Upon typing URLs in the location bar a drop down item list will appear.
    Is there somewhere in firefox where this list of items is stored?
    If so, is that in a format I can go through and see each item?
    Thank you

    It worked.
    Thank you very much the-edmeister.
    Some details:
    - Add-on installed: SQLite Manager 0.7.7
    - From SQLite Manager you need to open the places.sqlite and it is stored under
    [DRIVE]:\[users]\[pc user]\AppData\Roaming\Mozilla\Firefox\Profiles\[one of the profile]\
    on Windows 7(64bit).
    - On the left side of SQLite Manager program main window there is a tree structure of tables, Views, Indexes etc. You need to go to under Tables and click on moz_places. On the center of the SQLIte program main window now you should see the table with its columns. The URL column is the right one.

Maybe you are looking for

  • Error to open a data model in Report builder (Word)

    Dear all, Im troubles when i try to open a data model in Report Builder (Word). Someone know about this problem? The message is: A error has ocurred. Check the settings and try again. Any suggestion? Thanks for all!

  • Not able to deploy VIO 1.0.1 with NSX integration

    Hello, Whenever I try to deploy VIO with NSX integration I stuck on "Configure Neutron networking" step. Edge Cluster drop-down menu does not contain any options and so I cannot proceed with the deployment. (DVS works fine) As this a POC deployment,

  • Integrate third-party-tool with service desk (SOAMANAGER)

    Hello, to activate the web service for interface between service desk and third-party-tool I have to use transaction SOAMANAGER. My problem is that I can't find any documentation about this transaction belonging to the mentioned interface. Has anybod

  • No direct postings can be made to G/L acct. 157000 in CoCode ABB

    Hi all while creating purchase order iam getting this error: "No direct postings can be made to G/L acct. 157000 in CoCode ABB" please suggest. thanks all karna

  • Why won't my MBPr read my external ssd drive?

    hello.  quick question for anyone who may have some suggestions.  i've been using aoyen digital u32 shadow ssd drive for a few months now with my 2007 macbook pro.  i got this error message the first time i plugged it into my new macbook pro retina.