Virtual Directory with struts-tiles
is have serious problems in configuring struts-tiles with virtual-directories for local developement. I have got my tiles-def.xml deployed in my ear. And i have got virtual-directory mapping, which works great, but not with tiles, because i want to include the jsp in my tiles-def.
is this possible? Does anybody have an experience?
Thanks heaps.
A few methods that come to mind off hand would be:
1) Make an app on your server act as a proxy to the other app. That is, make a Servlet mapped to all URLs in the context. The servlet simply makes a corresponding request to the other server passing all pertinent information from the originating client. Your servlet then reads the response and pipes it directly to the response object
2) Try setting up a <context> element with the docBase attribute set to the other server's docBase. The other computer would have to give your server read/write access to the directory of interest. Since your server would be actually hosting the application you would have to check on environment and resources to make sure any required settings are duplicated properly.
3) Have the other application hosted on a different port, and your firewall map that port to their server and your port to your server.
Similar Messages
-
Integrating Oracle Virtual Directory with Oracle Internet Directory
Hi Experts,
Just wanted to know suggestions from you.... what are the advantages we have by integrating Oracle Virtual Directory with Oracle Internet Directory.
Thanks
parker.Hi Ken/Experts ,
Thanks for your response.
Still we need some more clarification on My Requirement that is, we are using ‘Oracle Single Sign On’ for my product and OID (Oracle Internet Directory) is enabled for this Single Sign On. Now we are planning to use OViD (Oracle Virtual Directory) for our Product so we integrated OID with OViD and now we are able to view the OID users in OViD. But Still My Product is using Single Sign On, which is enabled with OID only. Do we need to enable OViD (Oracle Virtual Directory) for Single Sign On? If yes please help us how to integrate (enable) OViD with Single Sign On.
Thanks in advance.
Thanks,
Parker -
Remote Virtual Directory with Tomcat
Does anybody knows if is it possible to set a virtual directory in Tomcat 4.1 or 6.0 in a remote PC ?
This is the example:
Mi PC running Tomcat. Mi PC IP: 172.16.8.212.
There is another PC in the company with another Tomcat running. Let's say in IP 172.16.8.213.
The public IP is asociated with my PC, and I need that when somebody tries to find certain web application (located in the Tomcat in 172.16.8.213 ) my Tomcat execute the remote application as if it is local.
Somebody could tell me: "Ok, so why don't you bring the remote application to your local Tomcat, and end with the complications". For some reasons (one of them is security), that's not a choice.
Thank you very much for any help, and sorry if for my ignorance somebody gets angry.A few methods that come to mind off hand would be:
1) Make an app on your server act as a proxy to the other app. That is, make a Servlet mapped to all URLs in the context. The servlet simply makes a corresponding request to the other server passing all pertinent information from the originating client. Your servlet then reads the response and pipes it directly to the response object
2) Try setting up a <context> element with the docBase attribute set to the other server's docBase. The other computer would have to give your server read/write access to the directory of interest. Since your server would be actually hosting the application you would have to check on environment and resources to make sure any required settings are duplicated properly.
3) Have the other application hosted on a different port, and your firewall map that port to their server and your port to your server. -
Need a help with Struts Tiles dynamic menu
Hello,
I am started few days ago with Tiles, try to develop web application.
Can anybody sugest very simple example with Tiles and menu.
So my definition looks like this:
tiles-def.xml
<tiles-definitions>
<definition name="MainDefinition" path="/layouts/myLayout.jsp">
<put name="title" value="This is the title." />
<put name="header" value="/tiles/header.jsp" />
<put name="menu" value="/tiles/menu.jsp" />
<put name="body" value="/tiles/body.jsp" />
<put name="footer" value="This is the footer." />
</definition>
I am simple layout.
I need to on menu click change body content, now i am doing it like this:
index.jsp
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%String body = request.getParameter("body");%>
<tiles:insert definition="MainDefinition" flush="true">
<tiles:put name="body" type="string"> <%= body %> </tiles:put>
</tiles:insert>
But now body is a string how to make it open url?
Maybe somebody have link to menu Tiles good examples.
ThanksBut here's some useful advice :P
I'm going to assume that the other two people involved in this have a bit more experience, have them do most of the designing. Have them leave most of the easy stuff for you. You can then spend your time learning the minimum of what you need to know. And if you have problems, or don't understand things, ask your partners for help.
And you'll want to set some spare time for you to all get together and do something fun so that you don't kill each other because of the stress :P
I've had a lot of bad project experiences, fortunatly they where all just at school :P I blame myself, mainly because I didn't do the whole thing myself (mostly because I listened to people when they said that I shouldn't or couldn't do everything myself.) I'd like to say that it's mostly because of poor communication, and disorganization, but an awful lot of it had to do with the fact that I tend to be the only person with any work ethic what so ever.
But whinning and repressed memories aside, good communication and organization help a lot. Come up with a good system with your team mates. And don't be afraid to ask questions. And don't worry about dividing up the work load equally. Just make sure you put in a good amount of effort, if not frightening amounts.
If all of you are clueless, divide up the learning stuff between yourselves too.
I have no experience with Struts. I've done a bit of stuff with XML, but nothing too complicated. The XML by itself tends to be extremely easy. What you plan on doing with it can vary (I don't like XML incidentally :P)
Other then that, good luck. -
How can we integrate OVD(Oracle Virtual Directory) with CDB(Content Databas
Hi,
We are using Oracle Content DB (10.2.0.0.0) which is integrated with OID (Oracle Internet Directory).
We are trying to use OViD (Oracle Virtual Directory) as Identity management for integrating multiple Directory sources like OID and Database.
Can you give us some suggestions or referrals on implementing OVD as Identity management for CDB.
Thank You,
ParkerHi,
I am looking at a similar architecture & would like to know if this can be achieved.
I have a set of users in OID and another set of users in Database tables. I want to abstract the two sources with OViD and present OViD as the single source of truth to Oracle AS 10.1.2 Single Sign On.
Can you please tell me if this is possible & if yes, can you please share some best practices ? Also, is this a certified & supported configuration ?
Thanks,
Sandeep -
Creating virtual directory with OC4J
Hello, all.
I thought this issue was going to be straight-forward, but after searching this forum and the General one I am not so sure.
Can someone tell me how to create virtual directory mappings or contexts for 10gAS so that jsps that reside in an remote directory (not under OAS_HOME) can be run through OC4J? The remote directory is already defined as a virtual directory in Apache and a servlet some of the pages hit is also deployed in OC4J.
I read that you should be able to use OEM to update either the global-web-application.xml file or the orion-web.xml file, but I am unsure as to whether you create the virtual directories for the dms or webapp applications? I need the virtual directory to be available to more than one particular app.
Thanks for any help,
Dixie.I don't know if one can use the apache virtual directory in oc4j, however, you can archive the same effect by using the
<virtual-directory real-path="pathRelativeToContextRoot" virtual-path="realPath" />
element in orion-web.xml. Please see the doc at
http://download-west.oracle.com/docs/cd/B10464_05/web.904/b10321/confdesc.htm#1019473
which is Oracle Application Server Containers for J2EE Servlet Developer's Guide, chapter 6 Configuration File Descriptions, Element Descriptions for global-web-application.xml and orion-web.xml
I believe you jsps will work if put in the virtual directory. -
Problem With Struts Tiles When Migrating from WL 8.1 to WL 10.3
Hi Folks,
When migration my project from WL 8.1 to WL 10.3, I got the follow error :
javax.servlet.jsp.JspException: Can't insert page '/tile/tilePesquisa.jsp' : null
at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
at jsp_servlet._web_45_inf._jsp._ferramenta._ferramenta.__listaferramenta._jspService(__listaferramenta.java:361)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
Can anybody help me ?
So do I need change some XML configuration file such as web.xml or weblogic xml ?
Thanks!!Hi,
I have realized the follow:
The error occurs on:
<tiles:put name="pageTitle" direct="true">
<tiles:get name="pageTitle" />
</tiles:put>
if I change to:
<tiles:put name="pageTitle" direct="true">
<tiles:getAsString name="pageTitle" />
</tiles:put>
it works!?
But the application is entire using the first code example ! I need other solution to this!
Thanks! -
Struts tiles to create event based loading of tiles on a JSP
Hi All,
I am working on a web app where I am using struts tiles to create my JSPs. I have tiles for header, footer & nav bar.
Now I want to break up my JSP body in multiple tiles. It is required that I insert only one body tile initially, say body1, which contains few hyperlinks. Depending on which link is clicked, I would attach another tile (body2) below the first one. Can any advanced tiles user inform me if it's possible with struts-tiles, & if yes how?
Thanks.Tiles is basically used to overload the jsp pages and reuse them.
In your tiles-defs.xml file:
//Tiles for header, footer and nav bar goes here
//Tiles for body1 and body2 goes here
<definition name="BodyTile" page="/yourPage.jsp">
<put name="body1" value="/blank.jsp" />
<put name="body2" value="/blank.jsp" />
</definition>
<!--Blank jsp is a simple html page without any data into it-->
Now create a customized tile for your module. Mapping has to be done in struts-config.xml.
Notice that the definitions here extend the tile from tiles-defs.xml, i.e. "BodyTile"
<definition name="ActionOneWithBodyOne" extends="BodyTile">
<put name="body1" value="/yourPage1.jsp" />
</definition>
<definition name="ActionTwoWithBodyTwo" extends="BodyTile">
<put name="body1" value="/yourPage1.jsp" />
<put name="body2" value="/yourPage2.jsp" />
</definition>Now when you first load the page forward it to "ActionOneWithBodyOne" and it displays you just your body1.
When ever u click a link on body 1, after performing the action populate the form bean corresponding to yourPage2.jsp and forward the action to "ActionTwoWithBodyTwo".
Hope that helps!!
SirG -
Problem register Oracle Virtual Directory to WebLogic - urgent ... pls help
Hi,
I'm a new to Oracle product and would like to install and run Oracle Virtual Directory for the following purpose:
Using LDAP client that connects to OVD and to issue ldapsearch command line based on the attrbiutes and filters of each one of the two Directories behind the OVD..
|-- Tivoli LDAP directory
LDAP client -> OVD ---|
|-- MS AD
I have downloaded the identity management package 11g and install only the OVD on Windows 2003 standard machine.
I then realized that I have to install the WebLogic package to have WEB UI to the OVD admin.
So I downloaded the WebLogic 10.3.1.0 package and install it.
I followed the installation instructions of
'Installing and Configuring Only Oracle Virtual Directory Without a WebLogic Administration Domain' at http://download.oracle.com/docs/cd/E12839_01/install.1111/e12002/ovd.htm#CIHFFAFH
and complete the installation.
Notice that the OVD and the WeblOgic SW are installed on the same Windows machine.
After that I had to register Oracle Virtual Directory with the WebLogic Administration Server.
Running the command-line I got the following error:
Deploying NonJ2EEManagement Application...Done
Command failed: Exception while registering the instance
Details are logged in C:\....\provision.log
opmnctl registerintance: failed
The provision.log file has the following exception call stack:
Aug 18, 2009 4:08:05 PM oracle.as.config.provisioner.InstallerCmdLine logInitialCommand
INFO: Start of command: [registerinstance, -adminHost, 127.0.0.1, -adminPort, 7001, -adminUsername, weblogic, -oracleHome, C:\oracle\product\11.1.1\OracleIDM_1, -oracleInstance, C:\as_admin\asinst_1]
Aug 18, 2009 4:08:14 PM oracle.as.config.provisioner.InstallerCmdLine handleRunFailure
SEVERE: Command failed:
oracle.as.config.ProvisionException: Exception while registering the instance
at oracle.as.config.impl.OracleASInstanceImpl.register(OracleASInstanceImpl.java:239)
at oracle.as.config.provisioner.commands.RegisterInstanceCommand.execute(RegisterInstanceCommand.java:11)
at oracle.as.config.provisioner.InstallerCmdLine.run(InstallerCmdLine.java:86)
at oracle.as.config.provisioner.InstallerCmdLine.main(InstallerCmdLine.java:44)
Caused by: oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:595)
at oracle.as.config.impl.OracleASInstanceImpl.register(OracleASInstanceImpl.java:219)
... 3 more
Caused by: oracle.as.config.ProvisionException: The AdminServer is not enabled for NonJ2ee applications.
at oracle.as.config.impl.RuntimeServiceConnection.isValidJrfInstall(RuntimeServiceConnection.java:547)
at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:201)
at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:587)
... 4 more
Any thoughts ?Hi,
I am also facing the same problem. I have oracle internet directory 11.1.1 installed without domain. I then installed weblogic 32bit exe on same windows server.
while registering getting the same error. I think it is because of bit compatibility. OID is 64bit and weblogic is 32bit. Not sure.
thanks -
Permissions on virtual directory
I have created virtual directory with adding property to virtual server via admin console. However, how do I set read/write permissions on this directory. Glassfish is running on Windows 2003 server. This is Glassfish 3.2
Edited by: Bob T. on Jun 3, 2012 9:34 PMI have created virtual directory with adding property to virtual server via admin console. However, how do I set read/write permissions on this directory. Glassfish is running on Windows 2003 server. This is Glassfish 3.2
Edited by: Bob T. on Jun 3, 2012 9:34 PM -
Virtual directory in iplanet web server 4.1
Hi
We are new to iplanet web server4.1 .we need to run the jsp files from
weblogic 5.1.we have done the following configuration
1)changed the obj.conf file as per documents in weblogic.
2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
3)i have created a virtual directory with url prefix as "ashish" and Legacy
JSP directory as
"c:/weblogic/myserver/public_html/jspfiles"
4)i have file test.jsp with the path as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
machine name.now the problem is instead of looking for the file as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
because of this it does not find the file .
6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
then it finds the file.
what is the problem .???
also on obj.conf file i have written as
Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
WebLogicHost="192.168.100.78" WebLogicPort="7001"
i have omitted pathprepend directive above.
Any ideas for this problem.What is the concept of virtual directory which is
there in Internet Information Server.
Thanks in advance
AshishPlease see my response in the JSP newsgroup
Ashish Nathani wrote:
Hi
We are new to iplanet web server4.1 .we need to run the jsp files from
weblogic 5.1.we have done the following configuration
1)changed the obj.conf file as per documents in weblogic.
2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
3)i have created a virtual directory with url prefix as "ashish" and Legacy
JSP directory as
"c:/weblogic/myserver/public_html/jspfiles"
4)i have file test.jsp with the path as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
machine name.now the problem is instead of looking for the file as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
because of this it does not find the file .
6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
then it finds the file.
what is the problem .???
also on obj.conf file i have written as
Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
WebLogicHost="192.168.100.78" WebLogicPort="7001"
i have omitted pathprepend directive above.
Any ideas for this problem.What is the concept of virtual directory which is
there in Internet Information Server.
Thanks in advance
Ashish -
I have created virtual directory with adding property to virtual server via admin console. However, I do I set read/write permissions on this directory. Glassfish is running on Windows 2003 server.
BobChris,
VDS is a component of the IdM suite, but is not required for operation.
It is, however, required for integration with SAP HCM or SAP GRC.
Matt -
IIS refuses to serve one specific file through this one specific virtual directory
Other javascript files with the same extension in the same folder work fine. Other virtual directories with the same file work fine.
Any help? Detailed error message is at the bottom.
Problem Details:
Only this combination of virtual directory and file fails http://localhost/jslib/vin.js
Accessing other javascript files in the same location works. i.e. http://localhost/jslib/xvin.js returns fine.
Accessing the same javascript file in the same file location but using a different virtual directory works. i.e. http://localhost/jslibtest/vin.js returns fine.
I checked the security of the file and the folder and gave "Everyone" and the anonymous authentication account set up for the site read rights.
Changing the name of the file (and nothing else) works.
Running Windows Server 2012 R2 Datacenter
Web site application pool is running as "LocalSystem", Classic pipeline, .NET v4.0
Things I've tried:
Removing and re-creating the virtual directory with default settings (through IIS Manager)
IISReset
Setting the handler mappings for the virtual directory to "revert to parent" (file works fine when served from the root). Yes, the static file handler is defined.
Setting the MIME types of the virtual directory to "revert to parent" (file works fine when served from the root). Yes, .js is listed as a MIME type application/javascript/
Deleting the file and re-creating it from scratch
Creating a blank file with the same name
Reviewed the web.config file for the site: no mention of either the file or the virtual directory
Trying to access the file using http://localhost/jslib/vin.js reports:
HTTP Error 404.4 - Not Found
The resource you are looking for does not have a handler associated with it.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler Not yet determined
Error Code 0x80070002
Requested URL http://localhost:80/JSLib/VIN.js
Physical Path F:\VINWebData\wwwroot\JSLib\VIN.js
Logon Method Anonymous
Logon User AnonymousI would recommend asking them in IIS forum: http://forums.iis.net/
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
hi,
Has any body worked with Struts Tiles in workshop. Is it possible. Can any one share his experience.
Regds
AshwaniHi Rohrlich,
I attempted managing portal layout (e.g.: header.jsp,
footer.jsp and body.jsp) by Struts Tiles (see below) and
there is no sample code in the online document of WLW8.1.
If possibility, have you any suggestion of it or advice
reads.
Thanks you in advance.
<b>
There is error message after requesting somepage.jsp:
[ServletException in:Controller.jpf] TilesPlugin :
Specified RequestProcessor not compatible with
TilesRequestProcessor'
</b>
Environment info:
-WLW 8.1.4 ( necessary for my workplace)
-struts-1.2.9-bin.zip
I practiced rudely code as below...
[WEB-PROJ]/WEB-INF/.pageflow-struts-generated/jpf-struts-config.xml
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config" value="../tiles-defs.xml"/>
<set-property property="definitions-debug" value="0"/>
<set-property property="definitions-parser-details" value="0"/>
<set-property property="definitions-parser-validate" value="false"/>
</plug-in>
[WEB-PROJ]/WEB-INF/tiles-defs.xml
<tiles-definitions>
<definition name=".template" path="layout.jsp">
<put name="title" value="title" />
<put name="header" value="header.jsp" />
<put name="body" value="Controller.jpf" />
</definition>
</tiles-definitions>
[WEB-PROJ]/WEB-INF/web.xml
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
[WEB-PROJ]/layout.jsp
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<table border="2" width="300" bordercolor="Gray">
<tr><td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td></tr>
<tr><td><tiles:insert attribute="header"/></td></tr>
<tr><td><tiles:insert attribute="body"/></td></tr>
</table>
[WEB-PROJ]/somepage.jsp
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<tiles:definition id=".template" template="layout.jsp">
<tiles:put name="title" value="This is the title." />
<tiles:put name="header" value="header.jsp" />
<tiles:put name="body" value="Controller.jpf" />
</tiles:definition>
<tiles:insert beanName=".template" />
Best regards,
Beginner Chan<b></b> -
Several paths with the virtual-directory-mapping in weblogic.xml
Hello! I don´t know if this is well posted here. Sorry, and my english is aswful :(.
I´m trying to put several paths for jsp files in an application, similar to how the extendend document root works in websphere.
How can I get this on weblogic? With this lines I only managed to get the first but the second url-pattern doesn´t work.
<weblogic-web-app>
<virtual-directory-mapping>
<local-path>/path1/</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
<virtual-directory-mapping>
<local-path>/path2</local-path>
<url-pattern>/jsp/*.jsp</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
My intention is make that the app could access to jsp´s files in path1 and in path2. Is this possible on weblogic?
Thanks in advanceI see. In my case, x == images, so if I reverse my directory
structure I could still get this to work for me. For instance:
<virtual-directory-mapping>
<local-path>C:\webapps\context\y</local-path>
<url-pattern>/images/*</url-pattern>
</virtual-directory-mapping>
/images/z.gif would map to C:\webapps\context\y\images\z.gif.
I'll have to weigh changing our directory structure vs. keeping the
servlet we have that rewrites the URL.
Thanks for your help.
Scott Steimle.
Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
From the developer
Virtual directories just replace the doc root. The doc root in your case
is C:\webapps\context\x\y. The request uri is /images/Z.gif. So the whole
thing resolves to C:\webapps\context\x\y\images\Z.gif. Which is where the
image should be located.
We have cleared up the docs. Sorry for any inconvenience.
Scott Steimle wrote:
Hi. I noticed in WebLogic Platform 7.0 there is a entry for
WEB-INF/weblogic.xml that defines a virtual directory. Example:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
Application 7.0//EN"
"http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
<weblogic-web-app>
<virtual-directory-mapping>
<local-path>C:\webapps\context\x\y</local-path>
<url-pattern>/images/*</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
In this case I'm assuming that a request of the form
http:/host:7001/context/images/z.gif would map to the physical file
C:\webapps\context\x\y\z.gif. However I cannot get this to work. Is
my assumption about it's use incorrect? Is the syntax of
<local-path/> or <url-pattern/> wrong? Is there something you have to
do to get WebLogic to recognize the weblogin.xml file?
This is urgent. Please help.
Thanks.
Scott Steimle
Software Engineer
Convera
Maybe you are looking for
-
Keyfigure fixing at aggregate level
HI, I am using APO V4, 1. I am planning to fix my keyfigure only at aggregate level, My keyfigure is open at all levels like plant or material group or material, i can enter the data at any point manually. but when come to keyfigure fixing, i want
-
BootCamp no longer shows up in Startup after Partition Changes
I recently tried to make a new Partition on my Hard Drive, a exFAT one so both my Windows and my Mac could use it - however that has since caused my BootCamp to disappear from the startup disk selection page. So I tried to reverse this by deleting th
-
Transfer photo tags from N900 to N8
Hi, the title says it all. On one side you have the N900 with photos taken and tagged and on the other you have the N8 where you want to transfer the photos with the tags. If the photos are just copied to the N8, you will not have the tags recognized
-
Granting Role [Urgent]
An employee left my company unexpected, he has created some critical tables using his user_id, how can I assign privileges to other users on his tables using the system/manager DBA logon privileges.
-
I can't watch my adobe premiere pro cc movie now the trial has expired
Hi all, I tried the trial version of adobe premiere pro cc and enjoyed it very much - I made a short movie using it but now the trial version has expired I can no longer watch the movie I made or show it to anyone :-( I realise now that I should hav