How to configure CF8 to process all URL requests?

Configuration: Apache frontend, ColdfusionMX 8 application
server
My Application.cfc defines a cffunction OnRequestStart to
check every URL (to ensure user is allowed access).
The function works fine for .cfm files (because the
jrun-handler specifies .cfm files).
However I need every URL sent to Apache that contains a
specific url-pattern (e.g. /secureMe/*) to be forwarded on to
Coldfusion so that the OnRequestStart function will check for user
access.
How do I configure Coldfusion (e.g. jrun-handler, web.xml,
jrun-web.xml)
to process every URL?
I've tried <servlet-mapping> and
<virtual-mapping> and even tried out CFFileServlet but I
cannot get Coldfusion to do anything with directories and non-cfm
files.
Any solutions and suggestions would be greatly
appreciated.

Originally posted by:
Newsgroup User
devodl wrote:
>> I had already tried to use the servlet mapping you
suggested:
>> <servlet-mapping>
>> <servlet-name>CfmServlet</servlet-name>
>> <url-pattern>/secureMe/*</url-pattern>
>> </servlet-mapping>
>> in the hopes that the OnRequestStart function would
process the URL. However
>> it seemed that Coldfusion would ignore the URL
because it did not contain the
>> *.cfm pattern.
> Correct, this only serves to get the request handed of
from the
> webserver to JRun, not to select the correct servlet in
JRun.
I had gotten that far but ran into the need for a servlet
which I may need to avoid (see below).
>> Did you mean rewrite the original URL from:
/secureMe/private/files/foo.pdf
>> (which is what I want to protect)
>> to something like: /secureMe/index.cfm
/private/files/foo.pdf ?
>> or did you mean rewrite it to:
>> /secureMe/index.cfm
?/private/files/foo.pdf
>> so that the original URL is passed to the index.cfm
as a QUERY_STRING argument?
>Whichever you want. Make sure that SES URLs are enabled
in web.xml if
>you choose the first option.
Since I have control over the form of the links to non-cfm
files I decided to pass the path of the non-cfm file as an argument
(QUERY_STRING) to a cfm template. /secureMe/checkAccess.cfm
?/private/files/foo.pdf
Then the checkAccess.cfm template can do the work necessary
to verify user access to non-cfm files.
>> I am concerned that my OnRequestStart function is
being bypassed when the URL
>> is for non-cfm files and that using a
UrlRewriteServlet to rewrite the URL and
>> pass it to the index.cfm will not address the
problem.
> It will, the UrlRewriteServlet is executed first.
Thanks again, this is good to know.
>> If I must use a servlet to catch the incoming URLs
for non-cfm files then I
>> might as well scrap use of my OnRequestStart
function (for cfm files) and
>> simply use my own servlet to check user access for
all incoming URLs.
> If you have the skills to write a servlet, that is
absolutely preferred
> above hacking this into a CF.
I have the skills and have written many servlets for Tomcat
using Struts, etc. but the Coldfusion admin group likes to use
everything OOTB (Out Of The Box). When I speak of servlets they get
a glazed look in their eyes...
While I am quite comfortable creating a WAR file and having
the J2EE container perform the deployment it seems to be a bit more
complicated with Coldfusion (i.e. include the runtime bits and
deploy to JRun). I am not sure if the admin group is ready to
tackle something that formidable. Development and deployment of my
web application to the Coldfusion servers is much easier if I
simply send the admin group a zip file of components, templates,
css, etc. and just have them unzip it onto the server.
>> I was hoping that the Apache mod_jrun connector
would be configurable to
>> handle more than just file extensions. Ideally I
would like to ability to
>> configure the mod_jrun20 connector in Apache to
handle the /secureMe/*
>> pattern since it would be a cleaner solution.
>It should be able to handle wildcards.
> Jochem
I tried and it seems that the AddHandler jrun-handler setting
only handles file extensions.
I read somewhere that the mod_jrun connector only does two
things:
1 - Pass the request to JRun to see if it should be picked
up by a servlet mapping
2 - Pass the specific filetypes (e.g. .cfm, .cfml, .cfswf)
to Coldfusion
Once again thank you for all your help and advice.
It is greatly appreciated.
Steve Deal

Similar Messages

  • How to Configure alert for process failures

    Hi Friends.
    How to Configure alert for process failures due to any reasons like mapping, runtime exceptions .
    I am devloping one scenario which is file to flatfile. In this scenario I am also using mail adapter for sending mail daily to admin that tells about record size and no of records parallely. I am not using BPM in this scenario.
    I am having very little experience in XI.
    Please answer this with clear steps so that I can do it.

    hi,
    check the links below for all the details and help on configuring alerts
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af895b - How to setup alerts for monitoring in XI 3.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/003de490-0201-0010-68a4-bf7a1e1fd3a5 - Monitoring in XI 3.0
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - XI: Alerts configuration - Step by step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - XI: Alerts - Troubleshooting guide
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi

  • How to configure advance payment process in sd and fi

    hi,
    sap gurus,
    how to configure advance payment process in sd an fi
    how it will trigger  from sd and fi.
    and the accounting entries is also needed
    plz help me on this
    regrds,
    balaji.t
    09990019711

    Hi
    As far as my knowledge goes, this has lot to do with FI configuration for Down payments.
    Regards
    Aravind
    Assign points if useful

  • How to configure CVC automation process using SNP master data and BI customer master data

    Hi Gurus,
    How to configure CVC automation in MPOS structure technically, using SNP master data in CVC creation such as Product and location details
    and in parallel extract date from ECC to BI customer master data in DP. Where-in a APO BI cube should have only new combinations which are to be validated with ECC and existing combinations in the MPOS structure before creation of CVC in different regions of MPOS.
    Second the automation should also check certain validations of product, location and are part of SNP-ECC master data and are these new combinations.
    Could someone guide us in this process.
    Thanks
    Kumar

    Praveen,
    The short answer is to move the data into infoproviders or flat files for all of the 'characteristic-type' source data; and then copy CVCs from the infoproviders into the Planning area, probably using one or more Process Chains (program /SAPAPO/TS_PLOB_MAINTAIN).
    The long answer is that this is not a trivial undertaking; this could end up being a pretty involved solution.  If you do not have enough BW/DP expertise available locally to create this solution for you, then I recommend you consider engaging external resources to assist you.  I personally wouldn't even consider starting to work on such a solution without first knowing a lot more about the detailed business requirements, and about any existing solutions that may already in place.  An SCN forum is not really suitable for such an answer.  In my opinion, the BBP doc alone would be 20+ pages, assuming no enhancements..
    Best Regards,
    DB49

  • How to configure a status process

    I would like to configure a control process using a percentage bar for a VI

    Hello Novice Programmeur,
    The file that I sent to you, is a ".LLB" file : It allows to save all VIs, objects and external subroutines, excluding those in the folder vi.lib, to a library. It allows to save a hierarchy of VIs (Main VI and SubVIs) in one file. This kind of file can be open by LabVIEW.
    You will found in the attached zip file the same program with the main VI and SubVIs. Launch and execute the VI "ProgressBarExample".
    Best Regards,
    Sanaa TAZI
    National Instruments France
    Sanaa T.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> http://www.nidays.fr/images/081110_ban_nidays09_468X60.gif
    Attachments:
    test.zip ‏54 KB

  • How to configure  Oracle BPEL Process Manager for JBoss 4.2.1

    can any body help me to configure Oracle BPEL Process Manager for JBoss 4.2.1

    Look here:
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/toc.htm
    Marc
    http://orasoa.blogspot.com

  • How to create a view for all Service Requests that are not approved by reviewer

    Hallo,
    I want to create a view in the Service Requests library that shows all SRs that are not approved. How to configure condition that says: if a SR has related Review Activity which is In Progress, show that SRs?
    I couldn't find this when creating the view. Thank you.

    So here's the first problem with that: Which review activity? a SR can contain multiple RAs, so how do we decide if an arbitrary SR is approved or not? 
    As to the specific language you use (Any child RA is In Progress) you might want to look at the criteria from the default Change approval view, which does something similar: 
    <QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd">
    <Criteria>
    <FreeformCriteria>
    <Freeform>
    <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity']/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Criteria>
    </Freeform>
    </FreeformCriteria>
    </Criteria>
    </QueryCriteria>
    This is a simple AND criteria with two componets. one looking for a Review Activity (TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity') which is related to the targetting CR by Contains Activity ($Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity';
    Context in this... context means the CR targeted by the view) where it's status (/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$) is In Progress ($MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$). The other is filtering
    for the target change request's status ( $Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$) is In Progress ($MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$). 
    You could convert the second criteria to point to SRs and SR status values, and then use the similar text for the first criteria. i'd recommend
    Anton's Advanced View Editor (or
    the free version) to do the criteria adjustment. 

  • Reporting In Service Manager 2012 - How To Get A List Of All Service Requests Regardless of Status

    Within the Custom Reporting Options available to users of Ssystem Center Service Manager 2012, which would one use to create reports that do not contain any agregated data but are instead detail level info such as a list of all Service Requests reardless
    of status?  I want to include within the report the same data you see on the main page of a Service Request when you double-click a Service Request within Service Manager and it pops opne the details of the Service Request.
    I'm trying to get the following info for each Service Requests
    SR ID (i.e. SR1234)
    Affected User
    Title
    Description
    Priority
    Source
    Area
    Support Group
    Assigned To
    Created By and Created On
    I know the cubes w/Excel offer a great way to get data for a **piece meal report or for getting agregated data (I.E. counts, sums, avergares, Max's & Mins) but I need a report that has zero totals and no agregations. 
    Thanks
    ** A piece meal report is a report that has to be manually pieced together by combining data from others reports and other sources because no single report can be constructed to bring all the data togethere into a single report.  If you've ever
    worked with an accountant taht uses Excel for everything but who has no idea how SQL or databases in general are deisgned then chances are you've either been asked to create a piece meal report for them and or seen them do one them selves when they open a
    spreadshet and dump into it disperate data from a variety of sources and then ask you why you can't automate that same report for them.

    the following thread covers some good SQL queries to get details about the Incident Request, just amend them to cover the Service Request
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/e703641d-3e05-4df4-be2b-bf9bd62534f8/how-to-generate-incident-report-with-incident-description-field-in-scsm-2012-sp1

  • How to monitor the Activation process of a request in DSO

    Hi all,
    I have loaded the data ( 7 million) records in DSO as a new request. I have clicked on the activation button.
    Can any one tell me where can we check the status of this activation process of this request?
    When clicked on monitor or logs button it shows me all as status green, but not able to figure out where to check the status of activation process.(the data is still not activated )
    any help would be great.
    Thanks in advance.
    Regds,
    Maddy

    Hi,
    There are a couple of places where you can see the activation progress.
    1) To start with SM37 job log > (give  BI_PROCESS_ODSACTIVAT  or BI_ODSA*)                        
    and it should give you the details about the activation job. If its active make sure that the job log is getting updated at frequent intervals.
    2) For very huge number of records SM37 job log may not get update frequently. In that case you have a workaround.
    Go to contents > Active Data table > No. of entries > This will keep on increasing at frequent intervals.
    3) SM66 > Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
    4) Go to Activate button in Target > Request tab. Inside you can see a job log button. It will also show some log regarding the last activation.
    Thanks,
    JituK

  • How to configure FTP in Process Flow

    I'm having troubles configuring an FTP activity in my process flow. Any clue how that should be done?
    The documentation does not tell that much. I added the following to my parameter list in "Activity Panel"
    /${Working.Host}=100.1.15.236/${Working.User}=XYZ/${Working.Password}=xxxxx/${Working.Rootpath}=C:\Nova\Data/${Remote.Host}=192.168.100.100/${Remote.User}=oracle/${Remote.Password}=xxxxx/${Remote.RootPath}=/export/home/oracle/
    where "/" is the variable delimiter. The deployment went successfully, but when I try to execute, it hangs at the FTP activity and generate an error when cancelled.
    Any help will be appreciated
    Thanks,
    Rene

    URGENT!!!
    i have included FTP activity in my process flow, i can able to FTP the file to the remote server.
    I have two transitions and point to two end processes, one is end-success and the other one is end-error. But even if the FTP process completed and file have been successfully send to the remote server, still the process ends with End-Error.
    If the FTP activity couldn’t able to send the file due to some other reason still the process ends with the end-error.
    Can any one give me some clues.

  • How to configure LR2 to use all installed RAM?

         Hoping to find some answers here about a problem I'm having with Lightroom 2.7. First let me give you some details about the computer I'm running LR on.
    PowerMac G5 1.8Ghz single PowerPC CPU
    8 Gb RAM
    Mac OS X 10.5.8
    Lightroom 2.7
    Photoshop CS4
    The OS acknowledges that there is 8 Gb of RAM installed, but in Photoshop, I am unable to assign any more than 3072Mb of RAM as that's all that's being seen by PS as "available". I can't find a configuration in LR to adjust how much RAM the software can be assigned.
    I was looking around for a fix on this yesterday and saw a mentioning of running the software in 64-bit mode, but I am unable to find where that is enabled/disabled. Can anyone steer me in the direction I need to go or am I just S.O.L and bought a bunch of RAM I can't use in Photoshop and Lightroom like I bought it for?
    Thanks.

    I expected this, actually. The version of OS X that ran on most G5s was not "64-bit clean."  Meaning, only some aspects of the system were 64-bit, but it was not complete from user app to kernel. So you don't get full advantage of 64-bit.
    Lr can see 4Gb of address space and use that. It will request as much or as little of that as it requires. Since you have so much physical memory it can do this without causing the rest of the system to swap.

  • How to configure NIC to accept all Multicast(ALLMULTI) on Solaris 10?

    I haven't had any luck finding the correct syntax or appropriate steps to configure a network interface on Solaris 10 SPARC server to accept all multicast traffic.
    I've tried it on ifconfig with ALLMULTI or IFF_ALLMULTI with no luck.
    Background:
    I need to be able to determine multicast groups available on a specific network interface without having to do a join on all possible multicast addresses.
    Thanks

    No, Siebel is supported on the server if you run Sun Solaris 10.
    On the client you can run Siebel in HI mode only with IE.
    Siebel Tools (The client you use to do the changes in the Siebel SRF is only supported on
    Windows XP SP2 and Vista)
    If you run Siebel in SI mode you can do this on a lot more platforms, but not Sun Solaris.
    Once again, please have a look at:
    Siebel 8.0.x System Requirements and Supported Platforms & Miscellaneous Documentation
    http://download.oracle.com/docs/cd/E11886_01/V8/CORE/core_8_0.html
    Axel

  • How to configure bea apache plugin to forward request from apache to bea se

    Hi,
    I have an apache server and a bea weblogic application server. For security reasons, I wold like to configure a bea plugin on the apache server to redirect the client http/https requests from the apache2 server to bea application server.
    I have gone through the bea documentation and configure my apache2 httpd.conf as follows
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicHost myweblogic.server.com
    WebLogicPort 7001
    MatchExpression *.jsp
    </IfModule>
    <Location /weblogic>
    WebLogicHost myweblogic.server.com
    WebLogicPort 7001
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    Then Restarted the apache2 and tryied to acces bea application through http://myweblogic.server.com/weblogic/
    and http://myweblogic.server.com/something.jsp
    It did not work
    httpd is started propery.
    Any help would be highly apreciated
    Many Thanks
    Ushas Symon

    I have no experience with nginx and varnish and asking configuration problems regarding these products is perhaps beyond the scope of this forum.
    While configuring varnish, we are getting issues and unable to connect server from my browser if I change port 80.
    You did not describe the issues, but it is possible and very common that your IP Firewall is blocking access to ports other than 80 and 22. For testing, you can simply turn it off. If you do not know how, please post your OS distribution version first, as it all depends.

  • How to configure Oracle Linux 6.5 to request ip address from dhcp server

    I have installed Oracle Linux 6.5 (minimal installation) on a virtual machine created on VMware vSphere 5.5.   I have tried to configure dhcp during the installation by editing IPv4 Settings of System eth0 to use Automatic (DHCP) but somehow it does not work.
    Then I changed the ifcfg-eth0 to use static ip address and that works.
    Here is the content of /etc/sysconfig/network:
    NETWORKING=yes
    HOSTNAME=TESTOL
    Here is the content of /etc/sysconfig/network-scripts/ifcfg-eth0 using static ip address:
    DEVICE=eth0
    TYPE=Ethernet
    UUID=xxxxxxxx.xxxx-xxxx-xxxxxxxxxxxx
    ONBOOT=yes
    NM_CONTROLLED=yes
    BOOTPROTO=none
    HWADDR=xx:xx:xx:xx:xx:xx
    IPADDR:##.##.###.###
    PREFIX=24
    GATEWAY=##.##.###.###
    DNS1=##.##.###.###
    DOMAIN:test.com
    DEFROUTE=yes
    PEERDNS=yes
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    Based on my understanding, I should able to use dhcp by changing ifcfg-eth0 (I commented the parameters not needed for dhcp by adding #) but I have tried the following ifcfg-eth0 and it does not work:
    DEVICE=eth0
    TYPE=Ethernet
    UUID=xxxxxxxx.xxxx-xxxx-xxxxxxxxxxxx
    ONBOOT=yes
    NM_CONTROLLED=yes
    #BOOTPROTO=no
    BOOTPROTO=dhcp
    HWADDR=xx:xx:xx:xx:xx:xx
    #IPADDR:##.##.###.###
    #PREFIX=24
    #GATEWAY=##.##.###.###
    DNS1=##.##.###.###
    #DOMAIN:test.com
    DEFROUTE=yes
    PEERDNS=yes
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    I have also tried to add GATEWAY=##.##.###.### to /etc/sysconfig/network but that does not help.
    I have checked that dhclient package is installed by using rpm -qa dhclient.
    I'm new to Linux.
    Thanks for any help

    If this is your first experience with Oracle Linux, I recommend you perform a default installation instead of going minimal, which is just going to make things more difficult for no good reason. Enterprise Linux is not MS Windows and the difference between default and minimal installations do not compare.
    You also do not want to use the rpm utility to install any software and use yum instead. The yum utility is standard. Rpm does not resolve software dependencies.
    Your ifcfg-eth0 script is missing the line that specifies to use DHCP:
    BOOTPROTO=dhcp
    You can also use the network configuration utility, even in text mode, by typing the following at the command prompt of root:
    system-config-network
    If the above utility is not installed:
    yum install system-config-network-tui
    You will have to configure an appropriate yum repository file. The process is explained in the Oracle Linux release notes:
    https://oss.oracle.com/el6/docs/RELEASE-NOTES-U5-en.html
    See 3.2.3. About Oracle Linux Installation Media
    Then insert the DVD or attach the DVD iso image to your virtual machine and mount it as following:
    mkdir -p /media/ISOimage
    mount /dev/cdrom /media/ISOimage
    The path "/media/ISOimage" should be the same as you specified in the yum repository file.
    After that you can use the yum utility to list or install software.

  • How to set attributes in new connection url request

    Hi, I'm an italian programer and I'm sorry for my english. Using the follow java code, I include an jsp page in to other jsp page. I use struts framework too. The problem is that the page includes do not has on the request object the same attributes of the calling page. for example the page authentication.jsp page has on self request object the attributes "org.apache.struts.message", but the page includes drop this attribute on the request object. In other words the page includes does not inherit the request attributes of the calling page.
    How to do to resolve this problem.
    Many thanks to your availability to my problem.
    By
    Antonio (Italy)
    String urlString = null;
    URL url = null;
    ServletContext sctx = null;
    HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
    try {
    if(strContextRoot==null) strContextRoot = "";
    // Set up a URLConnection to read the requested resource
    Map params = request.getParameterMap();
    params = updateParametersMap(newParam,params);
    if (!strContextRoot.equals(""))
    sctx = pageContext.getServletContext().getContext(strContextRoot);
    else
    sctx = pageContext.getServletContext();
    urlString = NewcomputeURL_old(strContextRoot,pageContext, forward, href, page, params, anchor, false);
    url = new URL(RequestUtils.requestURL(request), urlString);
    } catch (MalformedURLException e) {
    RequestUtils.saveException(pageContext, e);
    throw new JspException(messages.getMessage("ServletInclude: include.url", e.toString()));
    URLConnection conn = null;
    try {
    // Set up the basic connection
    conn = url.openConnection();
    //pageContext.
    conn.setUseCaches(true);
    conn.setRequestProperty("method","POST");
    conn.setAllowUserInteraction(true);
    conn.setDoInput(true);
    conn.setDoOutput(true);
    if ((conn instanceof HttpURLConnection)
    && urlString.startsWith(strContextRoot)
    && (request.getRequestedSessionId() != null)
    && request.isRequestedSessionIdFromCookie()) {
    StringBuffer sb = new StringBuffer("JSESSIONID=");
    sb.append(request.getRequestedSessionId());
    conn.setRequestProperty("Cookie", sb.toString());
    // Connect to the requested resource
    conn.connect();
    } catch (Exception e) {
    RequestUtils.saveException(pageContext, e);
    throw new JspException(
    messages.getMessage("ServletInclude: include.open", url.toString(), e.toString()));
    // Copy the contents of this URL
    StringBuffer sb = new StringBuffer();
    try {
    BufferedInputStream is = new BufferedInputStream(conn.getInputStream());
    InputStreamReader in = new InputStreamReader(is); // FIXME - encoding
    char buffer[] = new char[BUFFER_SIZE];
    int n = 0;
    while (true) {
    n = in.read(buffer);
    if (n < 1) break;
    sb.append(buffer, 0, n);
    in.close();
    out.write(sb.toString());
    } catch (Exception e) {
    RequestUtils.saveException(pageContext, e);
    throw new JspException(
    messages.getMessage("ServletInclude: include.read", url.toString(), e.toString()));

    Please have a look at this.
    What you are doing is creating a new http request using a url connection!! That's why the request attributes does not show up, it's not the same request!
    If you want to include the response of another resource, use a request dispatcher to include it. Eg.
    // in servlet
    request.getRequestDispatcher("/index.jsp").include(request, response);
    // or in jsp
    <jsp:include page="/index.jsp" />

Maybe you are looking for

  • How to add a form to a public site with sharepoint online 2013 (plan2)

    We need to add a form to a public site: in particular a form where candidates can apply submitting some info and sending a file (cv). What would you recommend to use? Thank you, ER

  • How do I change the password on my IPhone?

    How do I change the password on my IPhone?  I am using a card that belonged to my former daughter in law and I cannot get the original password.  I need it to change the Restrictions setting because all of a sudden my ITunes apps won't download when

  • Connect two macs wirelessly

    How to connect two mac wirelessly? I tried creating a network, but after that, I can't connect the internet.

  • Updating delivery date on Purchase order line items

    Hi, I am using BAPI_PO_CREATE1 to create purchase order. It is creating fine except I want the delivery date on line item to be overwritten instead of system determining from MRP view of material on each line item. I am passing delivery date to DELIV

  • Running a .exe with Java

    Hi, I'm looking for a way to run an executable (*.exe) from within a Java program. Any suggestions, leads, or examples appreciated. Thanks!