Inside  WEB -INF

We are developing the current version for better.
These are what we have done....
1)Check out the latest  code from subversion.
2) Now, using Jdeveloper, open up an existing application
3) point it to the *.jws JavaWebStart file that should pull in all the application data need to compile and deploy  the code.
4) add password weblogic1 and listen address (RUN> Start Server Instance)
5) View Content,Web Content, WEB -INF
What is next step?

How about a look into the doc?
1) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD21876
2) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD22049
3) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD1815
Timo

Similar Messages

  • Forwarding to jsp page inside web-inf

    hi everyone,
    i have a question. i have jsp pages inside web-inf folder and i have welcome page of project(outside web-inf) in pages from where i want to give link to jsp page inside web-inf folder. this project is absed on spring framework. how can i do this?
    thanks in advance

    hi everyone,
    i have a question. i have jsp pages inside web-inf folder and i have welcome page of project(outside web-inf) in pages from where i want to give link to jsp page inside web-inf folder. this project is absed on spring framework. how can i do this?
    thanks in advance

  • Putting javascript inside WEB-INF

    I could not call a javascript function test() from JSP. my function is defined in .js file places inside WEB-INF/javascript/script.js
    and my JSP is inside WEB-INF/jsp/report.jsp. Its says object expected. I have tried all ways but could not access that function from JSP. Both javascript and jsp are inside WEB-INF folder. This is required.
    Following is the code...
    <html><head><title>Main Menu</title>
    <script type="text/javascript" src="../javascript/tabpane.js"></script>
    <link type="text/css" rel="StyleSheet" href="../css/tabpane.css" />
    </head>
    <body><h1>Report types</h1>
    <div class="tab-pane" id="tab-pane-1">
    <script language="javascript">
    test();
    </script>

    I could not call a javascript function test() from
    JSP. my function is defined in .js file places inside
    WEB-INF/javascript/script.js
    and my JSP is inside WEB-INF/jsp/report.jsp. Its says
    object expected. I have tried all ways but could not
    access that function from JSP. Both javascript and
    jsp are inside WEB-INF folder. This is required.
    Following is the code...
    <html><head><title>Main Menu</title>
    <script type="text/javascript"
    src="../javascript/tabpane.js"></script>
    <link type="text/css" rel="StyleSheet"
    href="../css/tabpane.css" />
    </head>
    <body><h1>Report types</h1>
    <div class="tab-pane" id="tab-pane-1">
    <script language="javascript">
    test();
    </script>The script element includes a client-side script into the document. Client-side script is executed by web browser in this case, while WEB-INF is an "protected" area and is not accessible to web browser. So you can not put javascripts, images and css files into WEB-INF directory.

  • Jspc jsps inside WEB-INF?

              jspc skipped jsps inside web-inf folder (eg /webapp/WEB-INF/index.jsp) if -compileAll
              is specified. Is there any way to compile all jsps in a webapp without compiling
              one by one?
              thanks
              

    How about a look into the doc?
    1) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD21876
    2) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD22049
    3) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD1815
    Timo

  • Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Experts,
    I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
    The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
    This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
    I've checked that the path to the viewer generated HTML is not correct. see code below.
    src="../../../crystalreportviewers/js/crviewerinclude.js"
    But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
    This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
    Viewer generated HTML below.
    src="crystalreportviewers/js/crviewerinclude.js"
    This might be a common problem and that you can share to me your solution.
    Note: I removed the script tags because I can't submit this entry.
    Thank you  in advance,
    Regards,
    Rulix Batistil
    Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Saravana,
    After a few experimentation from your idea i was able to figure out the problem and now it is working.
    I don't have to copy the folder to where my jsp resides but still maintains it in the root location:  web/crystalreportviewers
    The changes should always be in web.xml.
    1st: change the crystal_image_uri value to ../crystalreportviewers
    2nd: change crystal_image_use_relative value to "web"
    Change to "web" instead of webapp because that is what I named my web root folder.
    <context-param>
              <param-name>crystal_image_uri</param-name>
              <param-value>../crystalreportviewers</param-value>
         </context-param>
         <context-param>
              <param-name>crystal_image_use_relative</param-name>
              <param-value>web</param-value>
         </context-param>
    Thank you. You showed me the way on how to solve the 3 day problem.
    BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
    Well, at least for now I can view my initial report.  I just need to figure out the next issue and with the help of the great people here in the forum.
    Thanks a lot.
    Regards,
    Rulix
    Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM

  • Help required with downloading files from inside WEB-INF folder

    I am working on a web application and I have an upload script which uploads different files to a foler called 'uploads' . To stop users from accessing the folder content I have put it in the /WEB-INF/.
    In my JSP file, I used to link to the uploaded files like this before for users to download them :
    if(filesListIterator.hasNext()
    files = (FilesBean)filesListIterator.next();
    <tr><td><a target="_new" href="<%=files.getFileName()%>">"<%=files.getFileName()%></a></td></tr>
    }I need to know how to alter the above link to make it access/download files from the /WEB-INF/uploads/ while still restricting direct access to the files.
    Thanks
    Message was edited by:
    topiwal

    Anything under WEB-INF is not directly accessible via the browser/ client. You could try defining the JSP/ Servlet inside web.xml deployment descriptor and see if you can access the file from there.
    I think a better way to accomplish this would be to keep the file outside WEB-INF , and use other techniques to protect the folder that contains the file - for example password-protection, or defining a .htaccess file and serving a 403 Forbidden error.

  • JSF forms inside WEB-INF

    Hi, I have a struts web-app which contains all its jsps below WEB-INF. These pages are accessible via forwards in the struts-config.xml file, e.g. xy.do forwards to /WEB-INF/pages/content/xy.jsp.
    I have added a new forwards entry to struts-config.xml that points to a jsp page containing jsf tags. e.g. myjsfform.do forwards to /WEB-INF/pages/content/myjsfform.jsp. When myjsfform.do is accessed the jsf page is correctly rendered. However, when I try to submit the form I get error 404 "The requested resource (myapp/WEB-INF/pages/content/myjsfform.faces) is not available".
    How do I get my form to successfully submit? Do I need to move it out of WEB-INF?

    bumped, now with duke dollars!

  • Org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not foun

    hi
    i have developed small stuts sample using eclipse.When i tried to run the sample its giving following error..
    org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
         org.apache.jasper.compiler.Parser.parse(Parser.java:127)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    But i ahve placed the tld files inside WEB-INF.
    please anybosy help me why i am getting this error?
    regards
    shruthi

    Hello,
    Were you able to find out the cause of the problem you were having with the "/WEB-INF/struts-html.tld" error?
    I'm stuck for a while on this problem, your input would help a great deal.
    Thanks,
    -Rick

  • When is it mandatory to create a taskflow under WEB-INF folder?

    Hi,
    Today, I accidentally created a taskflow with a folder structure which is not under WEB-INF. To my surprise it is working. :)
    1) Is it safe practice to create a taskflow not under WEB-INF folder?
    2) When is it mandatory to create a taskflow under WEB-INF folder?
    Thanks,
    Srini

    Placing the taskflow in a) inside WEB-INF or b) outside WEB-INF folder will work as expected.
    But when a taskflow is placed inside the WEB-INF folder, it is secure.
    The blog post by Andrejus Baranovskis (http://andrejusb.blogspot.com/2011/02/beware-of-hackers-keep-adf-task-flows.html) suggested by Vinod has the detailed information regarding this.
    Thanks,
    Navaneeth

  • Can we downlod jar from WEB-INF/lib using webstart?

    Hi,
    Can we down jars which are in WEB-INF/lib directory
    using jnlp (webstart)?

    I got the basic concept of webstart.
    I can download jar only if publicly accessible (It
    should form a valid URL).Note an important distincion here..
    1) It is possible to form valid URL's that
    point to WEB-INF/lib.
    2) The server should not allow access, to
    that URL (any URL pointing inside WEB-INF/lib)
    and should return instead the HTTP code that says
    'not allowed/barred/forbidden'
    There is a big difference between a[b] valid URL,
    and a valid URL pointing to a forbidden resource.
    But yes, you seem to understand correctly,
    that the jar's for web-start cannot be loaded
    back to the client, from this directory.
    Thanks for your help.You're welcome.

  • Appc does not compile JSPs under WEB-INF

    Hi,
              We are using WLS 8.1 and I noticed that appc does not compile jsps that are
              under WEB-INF. Is this expected? If the jsps are outside of WEB-INF then
              appc works fine...
              Thanks!
              John
              

    Although the client is not allowed to directly access jsps under WEB-INF, it
              is perfectly acceptable (and often recommended) to use a front controller to
              forward to jsps. Often these jsps are "hidden" in the WEB-INF directory so
              that they can't be accessed directly by the client. This pattern works fine
              under 8.1 except that appc won't precompile the jsps under WEB-INF (the
              container does compile the jsps when they are called). I believe this is a
              bug... If jsps are allowed in WEB-INF then appc should compile them...
              John
              "Stjepan Brbot" <stjepan.brbot@@zg.hinet.hr> wrote in message
              news:[email protected]...
              > Yes, this is expected! Web container, or better to say it's web component,
              > does not serve content of WEB-INF directory directly mening you cannot
              > access jsp inside WEB-INF like
              http://host:port/WebApp/WEB-INF/something.jsp
              > hence there's no need for compiling JSP's in it! The content of WEB-INF
              > directory can be accessed only via internal links so it is mostly used for
              > referencing taglibs. JSPs, HTMLs, images and all other file type that has
              to
              > be accessible directly by client web-server (not container internally)
              > should be in application directory or one of it's subdirectories.
              >
              > "John Hampton" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > >
              > > We are using WLS 8.1 and I noticed that appc does not compile jsps that
              > are
              > > under WEB-INF. Is this expected? If the jsps are outside of WEB-INF
              then
              > > appc works fine...
              > >
              > > Thanks!
              > > John
              > >
              > >
              >
              

  • Locale on facesconfig pointing to web-inf

    Hi all
    I have a resource bundle (localization) on my application defined on faces config like this:
    <locale-config>
    <default-locale>pt</default-locale>
    <supported-locale>pt</supported-locale>
    </locale-config>
    <message-bundle>com.commons.locales.locale</message-bundle>
    but... i have all my configurations files inside WEB-INF, so i'dlike to know if is there any way to define the bundle to point to WEB-INF.
    thanks in advance.

    The message bundle needs to be found on the classpath for the application. So you could put it under WEB-INF/classes or WEB-INF/lib within a jar.

  • Unable to load classes from jar files inside APP-INF/lib in EAR.

    Weblogic version: 10.3.3
    Platform: Linux x86-64 bit
    We deployed an ear packaged with all the common library jars inside APP-INF/lib. Deployment was successful.
    for some reason, it is always giving ClassNotFoundException for the classes inside the jars. This does not happen
    in 10.3.2 version of weblogic.
    We tried to add them to domain/lib directory (instead of APP-INF/lib) but still it is not able to resolve the classes.
    Any pointers would be appreciated.

    try using prefer-web-inf-classes in the weblogic.xml file in your WAR file
    or using prefer-application-packages in the weblogic-application.xml file in your EAR.

  • Bug using WEB-INF/lib Jar archives

    Hi, I am running iPlanet 6.0Sp3 on Windows 2000. I deployed our Web
    application in the form of a War file and it is now under the APPS/modules
    directory as the following directory: APPS/modules/ourapp.
    When I start the iPlanet Application Server, it fails to find any of the
    classes in the Jar files in APPS/modules/ourapp/WEB-INF/lib/. Is this a bug?
    One workaround is to unjar all of these files, but this is counter to the
    J2EE spec. Another workaround is to modify the classpath in the iPlanet
    registry, but this would expose the classes to other Web applications
    running in the same server.
    Thanks for any help. Martin

    Hi Martin,
    I think you are packinh up the jar file inside the war module, as far as i know
    there should be no jar file inside the module/App-name dir tree.
    all the modules either war or jar should be in <GX_ROOT_DIR>/JAR dir.
    So try making the war module with class files only(static content can also be
    added) with appropriate deployment descriptor.
    I will mail you separately the procedure for creating a war file from deployment
    tool gui.
    Please mail me back if you have any other problems.
    Sanjeev.
    Developer Support Group iAS.
    Martin Gilchrist wrote:
    Hi, I am running iPlanet 6.0Sp3 on Windows 2000. I deployed our Web
    application in the form of a War file and it is now under the APPS/modules
    directory as the following directory: APPS/modules/ourapp.
    When I start the iPlanet Application Server, it fails to find any of the
    classes in the Jar files in APPS/modules/ourapp/WEB-INF/lib/. Is this a bug?
    One workaround is to unjar all of these files, but this is counter to the
    J2EE spec. Another workaround is to modify the classpath in the iPlanet
    registry, but this would expose the classes to other Web applications
    running in the same server.
    Thanks for any help. Martin

  • WLS 8.1 SP4 and web-inf/lib ClassNotFoundExceptions

    Hi
    Is anyone else having problems with this issue ?
    I saw it was resolved (CR161884 & CR173695) in the 8.1 SP3 release, but I'm unable to deploy a web app (either through the console or in the applications directory of the domain) in SP4 as the classloader can't see my JAR file in WEB-INF/lib.
    <30-Dec-2004 15:51:47 o'clock GMT> <Error> <Deployer> <BEA-149201> <Failed to co
    mplete the deployment task with ID 7 for the application appsdirdp-application
    -1.0-SNAPSHOT_war.
    weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException: start() failed.
            Module: dp-application-1.0-SNAPSHOT     Error: weblogic.management.Deplo
    ymentException: org/picocontainer/gems/StaticFactory - with nested exception:
    [java.lang.NoClassDefFoundError: org/picocontainer/gems/StaticFactory]Inside my WAR file, I have a WEB-INF\lib directory, containing picocontainer-gems-1.1-SNAPSHOT.jar which contains the org.picocontainer.gems.StaticFactory class.
    I've tried deploying the app both with and without a weblogic.xml file declaring prefer-web-inf-classes set to true.
    Rgs
    Erik

    Just as a check, I moved the JAR files to a common lib directory on the server and added them to the system classpath specified in startWeblogic.cmd, and the application starts fine.
    Maybe not related, but yesterday I was tried deploying an EJB that was dependent on a JAR file NOT included within its JAR file, but specified with the Class-path entry in the manifest.
    The behaviour I saw was WLS swallowed the ClassNotFoundException silently, the admin console reported that the EJB was deployed successfully but inside the ejbCreate method - I had two print line statements, one prior to calling the missing class, and one after. Only the one prior appeared on the system console, suggesting that the ejbCreate method wasn't completing, yet no exception is thrown ?

Maybe you are looking for

  • Change evtloglvl for a single user using srvmgr?

    We want to analyze some problems in our environment with one specific user. We use Oracle Siebel 8.2.2.3. We know commands for changing evtloglvl for components, but not for users. Is there any possibility to change the evtloglvl based on a user that

  • Migrating from Time Machine from old iMac to new used iMac.

    So, I bought a used iMac, and want to migrate to the new one using my Time Machine backup. Problem is, I go to Migration Assistant, and it asks for the admin password, which I don't have, and the place I bought it from is closed, of course. I had Lio

  • Using XML to create files through API

    Hi. I created a new custom type - a subclass of "Document", with a few private attributes. I wrote a small XML file that creates an instance of that type. I have no problem using that XML with FTP or with the web interface - it parses the XML automat

  • ColdFusion did not adjust for Daylight Savings Time change

    Both my 8 and 11 machines did not adjust for DST over the weekend. The computer times look ok, but CF times are still an hour behind. We've restarted the server, which did not fix the problem. Any suggestions? Thanks!

  • How to using one HTTPService to handle multiple result returns

    I have a HTTPService class that handles one fault and one result events. Is there a way to the same HTTPService to handle more than one result returns. For example, to handle Result1, Result2, ... events with different Listeners: Listener1, Listerner