Modify jsp files without redeploy

Hello,
i modify jsp files without redeploy using tomcat.is there anyone know how
to enable wls has this future.
do you have any advice
Best Regards,
rechete

Hey Rechete. Check out "Split Development Directory Environment" which we introduced in 8.1.
The WebLogic split development directory provides these benefits:
* Fast development and deployment. By minimizing unnecessary file copying, the split development directory Ant tasks help you recompile and redeploy applications quickly without first generating a deployable archive file or exploded archive directory.
* Simplified build scripts. The BEA-provided Ant tasks automatically determine which J2EE modules and classes you are creating, and build components in the correct order to support common classpath dependencies. In many cases, your project build script can simply identify the source and build directories and allow Ant tasks to perform their default behaviors.
* Easy integration with source control systems. The split development directory provides a clean separation between source files and generated files. This helps you maintain only editable files in your source control system. You can also clean the build by deleting the entire build directory; build files are easily replaced by rebuilding the project.
http://e-docs.bea.com/wls/docs81/programming/environment.html#1097239

Similar Messages

  • Modify JSP file without restarting the server

    Hi guys,
    I need to do small change in the JSP in the production.
    How can I do it without restarting the server?
    I have deployed the application as an EAR file.
    I use WLP8.1 SP3
    IS there any way?
    Ananth

    You can try expanding (use jar util) that ear into temp dir, then make the change, use jar util again to create the ear. try redepolying it. Make sure change the jsp recheck and hit that page. see if it works. Incase if it works put the jsp recheck back to -1.
    Note: This is just an idea, I never done.
    Thanks
    Srini

  • I want to send a value from JSP file to another JSP file without..

    I want to send a value from one.JSP file to another two.JSP file without to show the content HTML of the one.JSP in two.JSP (with include), only take the values processed in a Bean :
    ===================
    Bean
    package pck;
    import java.io.*;
    public class yyyy {
         public String getXxx() {    
              return cccc;
    ========================
    one.JSP
    <jsp:useBean id="idBean" class="pck.yyyy" scope="??"/>
    <%idBean.setXxx(ccc);%>
    ========================
    two.JSP
    <%@ include file="one.jsp"%>
    <%=idBean.getXxx()%>
    but without to show the content HTML of one.JSP in two.JSP.
    Can someone help me?, please.

    Why don't just put the common code in a separate file and include it in both. i.e. the code that is in one.jsp that is needed by two.jsp could be put in a common file and included in both pages, thus the HTML is separated off. If this will not work, set a boolean value in two.jsp that can be used by one.jsp to decide if the HTML should be displayed or not.
    Steve

  • Can I make cluster servers auto reload html files without redeploy applications?

    For example, I have some html files under application directory, these html
              files were
              generated and synchronized to all clustered servers by other external
              programsfrom time to time¡£ But with weblogic, I have to redeploy these html
              files to enable these files been viewed via browser.
              Is there any way to let weblogic auto refresh these files without redeploy?
              

    OS X Lion- About Auto Save and Versions
    Handles this automatically. Otherwise, such frequent backups will overtax the drive and probably cause some slowdowns, but you can change the interval using the freeware utility, TimeMachineEditor 3.0.3.

  • Modify Business Rules without redeploying the application

    Hello everyone,
    When using a "Business Rules" with a BPMN Process, we can change the business rules without redoploying the application by using BPM Composer. I would like to know if it is possible to do the same thing when we use a business rules with a BPEL Process.
    Thank you in advance for your answer

    Hi Neeraj,
    Thanks for your answer,
    BPMN Process exist only in Oracle BPM Suite, in Oracle SOA Suite we have a BPEL Process to model the business activities
    My problem is when I try to open a deployed project from Business Composer, it opens only projects where I use a BPMN Process. So when I use a business rules with a BPEL Process, I can't open the deployed project from the Business Composer.
    Regards,
    Edited by: Bilou on 1 juin 2012 12:53

  • Refreshing JSP file for an exploded WAR without undeploying the WAR - 7210

    The weblogic.Deployer utility with -activate option does redeploy my application. How do I prevent redeployment while refreshing. I'm using Weblogic 7.0.0.0.
              Thanks
              Senthil Kumar.S
              

    Thanks mbg for your response.
              Our production environment does not support the option a. We use the
              option b approach.
              My config.xml looks like this for the webapplication
              <Application Deployed="true" Name="oas"
              Path="/tmp/senthil/oas3.7.1.5"
              StagedTargets="DOAS_MT_021_20501" TwoPhase="true">
              <WebAppComponent Name="oas" Targets="DOAS_MT_CLUSTER_1"
              URI="oas"/>
              </Application>
              I performed the following steps..
              1) Modified the following jsp file on the admin.
              /tmp/senthil/oas3.7.1.5/oas/customercare/contactus.jsp
              2) Ran the following command on the admin
              java weblogic.Deployer -adminurl t3://n.n.n.n:20501 -user system
              -password weblogic -name oas -activate customercare/contactus.jsp
              after running the command,
              I was able to identify the corresponding jsp file immediately updated
              on the managed instance under the stage folder. But the class file on
              the stage folder was not updated and neither the class file on the
              .wlnotdelete folder. I was using the pagecheckseconds on the
              weblogic.xml as -1.
              I stopped both the admin and manage, modified the pagecheckseconds to
              1 Hour and when I performed same steps as before, I was able to see
              the jsp file updated and also getting compiled (when accessed) and
              serving the updated content. Also the user session was kept intact.
              i.e. no interruption to the session. This was what I was expecting
              for. The strange thing is, it didn't wait for one hour to compile. It
              was compiling immediately when I accessed the modified jsp file. I'm
              not sure whether it would behave the same way if I put that value as 1
              day or some very big +ve value.
              I'm not sure whether I'm doing the right way. i.e. changing the
              pagecheckseconds to ve value. Also I'm not sure whether the ve value
              for the pagecheckseconds would create impact on performance.
              Thanks for your time.
              Senthil Kumar.S
              "Mark Griffith" <[email protected]> wrote in message news:<[email protected]>...
              > Ahh clarity. :D
              >
              > You can:
              >
              > a) deploy your exploded web app with -nostage option. Meaning nocopy, or in
              > otherwords "WLS when you deploy this Application to each server in the
              > cluster, don't copy the bits to each server, just deploy from this src".
              > What that means is that the path that maps to the directory of your webapp
              > must be accessible, or resolvable on each server that it is deployed to.
              >
              > java weblogic.Deploy .... -nostage -activate -source /myapps/mywebapp
              >
              > so that /myapps/mywebapp must be resolvable on each server that it is
              > deployed to. You can accomplish this via a shared network directory for
              > /myapps or you can copy and create /myapps your self on each of the
              > machines.
              >
              > b) deploy your exploded web app with -stage option. Meaning copy, or in
              > otherwords "WLS when you deploy this Application to each server in the
              > cluster, do copy the bits from my "source" to each server" In this case,
              > you will have to use refresh
              >
              > What command did you execute on with weblogic.Deployer
              >
              > Cheers
              > mbg
              >
              >
              >
              > "Senthil Kumar S" <[email protected]> wrote in
              > message news:[email protected]...
              > > Let me rephrase my requirement..
              > > My production environment is Weblogic 7.0.1 with a clustered environment
              > with exploded WAR.
              > > How do I refresh my jsp files with out undeploying my web application?
              > >
              > > When I tried by modifying the jsp file on the exploded directory on the
              > admin and ran the weblogic.Deployer utility, it successfully updated the
              > copy on the managed instance (I verified by checking the stage directory).
              > But the jsp was never recompiled on the managed instance and it was serving
              > old content.
              > >
              > > Thanks
              > > Senthil Kumar.S
              

  • Incremental Version releases without redeploying the ear

    We had deployed the ear in oracleAS10g server on windows2000 platform.
    We need to apply the incremental version(patches) changes of jsp/.class files without redeploying the ear file. Where exactly we need to change the files for this to happen, So that we the changes in the files can be viewed. At most we may stop/start server without redeployment of the ear. Plz help usASAP.
    Thanks & regards.
    S. Anand Mohan

    Hi Andreas,
    Thanks for Your help. Could you plz help us in the .class files. What should we do to get the .class files changed without redeploying the ear.
    My mail Id is [email protected]
    with regards,
    S. Anand Mohan

  • J2EE, possible to serve clients jsp files that are outside the war file?

    Hi, I was wondering with a J2EE webserver if it was possible to serve clients webpages from jsp files that were outside the client.
    For example say you got your war file in the auto deploy directory on the server and also on the server you got a directory full of jsp files that could be accessed by the webserver just like normal jsp files inside the war file?
    ...I want to do this because I want to be able to add jsp files without rebuilding the war file.
    ....Or is it possible to make the webserver rebuild itself, eg to add or remove files?
    Thanks

    If you are using a S1WS6.1, please try to find a line with WEBAPP in server.xml.
    You should find a line like this.
    <WEBAPP uri="/simple" path="/opt/SUNWwbsvr/https-test/webapps/https-test/simple" enabled="true"/>
    The path parameter shows the directory where the S1WS refers to when the webapplication is executed.
    You can put a jsp into the directory and modify it accordingly.
    Please refer to the following docs. They might help.
    http://docs.sun.com/source/817-6251/pwadeply.html#wp25317
    http://docs.sun.com/source/817-6251/pwadeply.html#wp25890
    thanks,
    -Yuji

  • Calling a java class in a JSP file

    Hello,
    I have a jsp file in which I call a java class.
    I work with Tomcat 4.0.1
    If I modify the java class and then I execute my JSP, it still be the old version of my class that is executed.
    I don't understand why since if I creates a main function and I execute it, it works correctly!
    Do you know what is the problem?
    Thanks

    i also have this problem.when i modify jsp file,it didn't execute inmediately. Then i restart tomcat,but problem also exist.
    a few minute age,i execute jsp file again,it can appear the modified jsp.i don't down why
    i work tomcat 5.0 windowxp

  • Can we call a javascript fun through jsp page without any event

    Hi ,
    I am new to jsp,javascript and i have a little question.
    If i make a function in a js file and want to call it from a jsp file without any event ,ie can i write some thing like <%abc()%> in ths jsp page ,which call the function from another .js file.
    I suppose that it can be done as gmail page reloads it self after some time and for http mostly we use pull ie request from the client side ,so i think that they must be doing something like timer expiry and reload themselves.
    please help me with the solution.
    Thanks & Regards
    Saurabh

    sorta....
    The JS runs in the client, not on the server, so you would just be writing JS code as HTML... If your page is like this and the myscript.js file defines 2 functions (function1, function2), you can call them on page load in either of these ways. I'm not sure offhand which would get called first, but the scripts called inline in the page would be called in the order they are defined in the page. But that is all HTML, it has nothing to do with JSP.
    <head>
    <script language="JavaScript" type="text/javascript" src="myscript.js" />
    </head>
    <body onload="function1();">
    <script language="JavaScript" type="text/javascript">
    function2();
    </script>
    </body>

  • Modifying JSP in OAS installation

    .I am auto generating user id and password field and I need to hide these two field from user creation page.I modified JSP in OAS installation.I followed the following steps for doing
    this.
    1.Unpacked xlWebApp.war.
    2.Modified tiles/util/tjspGenerateCreateUserForm.jsp and packed the war file
    again.
    3.Placed the war file in /webapp folder.
    4.started patch_oc4j.cmd (oc4jadmin password) (database password).
    5.Build was successful.
    6.I checked exploded file in
    E:\oracle\oas\j2ee\home\applications\Xellerate\xlWebApp/tiles/util/tjspGenerateC
    reateUserForm.jsp.
    and I can see my modification there.
    7.I tried to access user creation page but it is still showing my old jsp with no
    modification.
    Please tell me what I am missing.I know for Jboss I need to comment out web.xml but I do not see jsp related section in above exploded web.xml .
    installation.
    Regards
    Nitesh

    Hi
    I am having exactly the same problem here but could not make it work even with cleaning precompiled folder before running the patch.
    What i did :
    1. Unpacked xlWebApp.war.
    2. Modified tiles/tjspViewUserDetailsTiles.jsp and packed the war file
    again.
    3. Placed the war file in /webapp folder.
    4. Stopped OIM services with "opmnctl shutdown"
    5. Placed war file into $APPSERVER/j2ee/home/applications/Xellerate
    6. DELETED EVERYTHING INSIDE "$XELLERATE_HOME/xellerate/webapp/precompiled" FOLDER.
    7. Started OIM services "opmnctl startall"
    8. I can see my modified jsp at $APPSERVER/j2ee/home/applications/Xellerate/xlWebApp/tiles/
    9. I started patch_oc4j.sh. Ended successfully.
    10. Now I can see my modified jsp file in $XELLERATE_HOME/xellerate/webapp/precompiled/jsp-temp/tiles folder also.
    11.I tried to access the page but it is still showing my old jsp with no modification.
    What in the name of god am I doing wrong???

  • Problem in saving modified rtf file in jsp

    hi,
    I have [b]problem in saving modified rtf file in jsp. My scenario is like this:
    I need to open rtf file in jsp and allow user to modify it, after user modifies rtf file in browser, user will press send button. After user pressing send button rtf has to be saved into destination directory(the directory from which its been fetched. I appreciate if any one could send me relevant code for the same.
    thanks
    ram

    1) RTF is not opened in your browser, but in an application that is set to handle the file type (like Word or Wordpad)
    2) from the web you have no control over what that application does
    3) conclusion: what you want is not possible using the web
    Other than that, asking for code without showing that you put some effort into the problem yourself is a sure way of getting flamed. You should know that by now, since you registered more than 2 years ago...

  • How to modify JSP on Weblogic without restarting a server

    Hello,
    Could someone explain how to modify JSP on Weblogic without restarting a server?
    We use WL 10.2.
    I search and modify required jsp on a server, but nothing happens on a Web Browser. I run in Development mode.
    Please advice,
    Thanks,
    Yuri

    Hi Yuri,
    As you are in Development mode you have one options to use the Auto Deploy folder which can be found in the following path (domain_name/autodeploy).
    More information on Auto Deployment check the below link:
    http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021626
    Other option is to use the following parameter "*page-check-seconds*" in your weblogic.xml file
    For more information check out the below link
    Topic: jsp-descriptor
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1038491
    Hope this helps you.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Middleware Magic | Come, Join Us and Experience The Magic…

  • Jsp file to modify for account expiry

    Hi,
    I have a task to modify the jsp file for account expiry.
    I have a user whose password has expired and when he tries to login he is redirected to the password expiry page of sun access manager (jes 2005Q4) which mentions the below
    "Your password has expired. Please contact service desk to reset your password "
    I basically have a task to change the look and feel and the messages that are shown, from the default sun AM to the one that the client requires.
    I tried modifying the following file
    "/AccessManager-base/SUNWam/web-src/services/config/auth/default/account_expired.jsp"
    But it seems that this is not the file that needs to be changed.
    Can anyone point me to specific documentations which should help for customizations of the look and feel.
    I am going through the developers guide (819-2139) but it seems to be of little help.
    Thanks,

    Hello,
    Have you take a look in those directories ?
    /opt/SUNWam/web-src/services/config/auth/and
    /opt/SUNWwbsvr/https-<yourservername>/is-web-apps/services/config/auth/defaultThere is several pages for logout, password denied...
    a+
    Philippe
    Edited by: beutin on Jan 30, 2008 5:00 PM

  • Without touching the JSP file

    Hi,
    I just want to set a text in my browser with bold face from my
    begin....Display method. say <B>Back></B>.
    Since i decalare this as a text and using .setvalue() i'm getting it
    as it is(i.e <B>back</B> in browser o/p.
    Can u suggest me the solution ?
    Todd, thanks for ur previous suggestion.
    Thanks and Regards,
    Vidyasankar.

    I'm not sure, but I assume what you're indicating is that you're getting
    back literally "<B>Back</B>" in the rendered browser text (meaning the HTML
    source is "<B&rt;Back</B&rt;"). If so, it's because you need to set
    the "escape" attribute to false for the text field:
    <jato:text name="FooText" escape="false"/>
    Todd
    ----- Original Message -----
    From: "VidyaSankar" <dnvidyasankar@y...>
    Sent: Friday, February 09, 2001 2:49
    Subject: [iPlanet-JATO] Without touching the JSP file
    Hi,
    I just want to set a text in my browser with bold face from my
    begin....Display method. say <B>Back></B>.
    Since i decalare this as a text and using .setvalue() i'm getting it
    as it is(i.e <B>back</B> in browser o/p.
    Can u suggest me the solution ?
    Todd, thanks for ur previous suggestion.
    Thanks and Regards,
    Vidyasankar.
    [email protected]

Maybe you are looking for