Webdispatcher to forward requests from internet to intranet?

We need to direct requests from internet to our content server which is in the intranet (so that the content server images can be seen from the internet).
We have a WAS WebDispatcher in the DMZ. Can we use this WD to provide the connectivity?
For example:
Our content server intranet URL is:
http://contenterv.com:1090/path/image.jpg
Our WebDispatcher URL is:
http://webdisp.com/app_name
http://webdisp.com/app_name  should resolve to http://contenterv.com:1090/path/image.jpg
We tried WD http forwarding but it just forwards the request, does not resolve the name transparently. So the forwarding works but since http://contenterv.com:1090/path/image.jpg is not known in the internet, it fails.
Thanks

>
Ghochi Elin Kuswoyo wrote:
> hi guys,
>
> you need to add parameter in your sapwebdisp.pfl (sap webdispatcher profile) :
>
> icm/HTTP/redirect_0 = PREFIX=/,TO=/path_image
>
> thanks
No, this wont work, becuase you need reverse-proxy function rather than URL redirection, because internet user wont be access the intranet server even you give them the URL.
I cannot get you the detailed confguration, but you can refer to web dispatcher cascade configuration.  play with the following parameters:
wdisp/server_info_location
wdisp/group_info_location
wdisp/url_map_location
>
Cons wrote:
> So in short, get your networking guys to do this, SAP cannot help in any way.
it's not ture, web dispatcher can be used reverse proxy, of course you also can use other solution like Apache. However it's not recommened to use NAT, which might breach your network security.
Cheers,
Denny
Edited by: Denny Liao on Jan 28, 2010 11:26 PM

Similar Messages

  • Trouble forwarding request from a servlet to a JSP in OAS 4.0.8.1 on NT

    The OJSP release notes state that:
    "Servlets and JSP cannot coexist as the same application" and "Requests cannot be passed between two separate applications."
    Does this mean that my attempts to use the
    the servlet RequestDispatcher to forward a request to a JSP are futile? If so, is this a problem that will be fixed in the future? I would like to use this feature!
    This is the code (based on a sample from Sun's JSWDK 1.0.1) that doesn't work:
    servletToJsp.java
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class servletToJsp extends HttpServlet {
    public void doGet (HttpServletRequest request,
    HttpServletResponse response) {
    try {
    getServletConfig().getServletContext().getRequestDispatcher("/jsp/jsptoserv/hello.jsp").forward(request, response);
    } catch (Exception ex) {
    ex.printStackTrace ();
    I am able to use the <jsp:forward page="/servlets/servletToJsp" /> directive to go from a JSP page to a servlet (across two OAS Applications) and I also can forward a request via the dispatcher from one servlet to another in the same OAS application.
    Any help in this area would be appreciated. Thanks.

    I'm using OAS 4.0.8.1
    You mean servlet to JSP does not work and JSP to servlet works for you????Yes - but I've only tried very simply examples.
    That's different from my understanding. If you are using OAS 4081, both cases should not work.
    The problem you mentioned will be fixed in future release of OAS.That's good to know - thanks!
    null

  • Unable to forward requests from webserver

    I am trying to set-up iWS 6.0sp4 to forward requests to the application server but I always get not found as the webserver is just looking at its own document root. I have deployed the fortune ear (from 6.5) and can access that via the application servers own http server perfectly well. I have added the plugin package to the webserver and added the following into the magnus.conf
    Init fn="load-modules" shlib="<install_dir>/lib/webserver-plugin/solaris/iws/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(fortune/fortune/*)" name="passthrough"
    NameTrans fn="assign-name" from="(fortune/*)" name="passthrough"
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

    I followed the instructions found in the App Server 7 documentation and everything worked fine.
    The instructions I followed are in the document found at this link:
    http://docs.sun.com/source/816-7156-10/agplugin.html#17655
    Just FYI...
    I also checked with Sun about why this process is now necessary and I asked about what happened to the web connector from 6.x. Sun had this reply:
    The Web Server Plug-in is the new web connector. It just hasn't been wrapped with an installation yet ... which is why it is tedious. The old Plug-in for 6.5 would ultimately have the same type of obj.conf entries. I'm not sure if there will be an installation wrapper for it once the Enterprise Edition is released.
    The Web Server Plug-in is different right now in that it doesn't 'know' about multiple instances yet. These are capabilities that will be introduced in the Enterprise Edition in March. Of course, that doesn't stop you from having multiple instances of the web server talking to multiple instances of the app server. It just means that the web server instances have to be directed to the app server instances rather than discovering them.

  • 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.

  • Can't forward request from Apache to Tomcat on second instance

    Hi,
    I am trying to create 2 separate environments (dev and test) on one powerful
    Unix server which has 2 network cards, 2 IP addresses, 2 server names...
    Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43
    on Solaris 9, Intranet environment.
    Everything is fine on the first instance,
    but on the second instance when I do http://server2,
    Apache still can't redirect to second Tomcat/JBoss:
    "Forbidden
    You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.0.48 (Unix) mod_jk2/2.0.2 Server at mopppgctxat1.pfizer.com Port 80"
    If I do http://server2:8080, getting it all right.
    I made all internal ports on the second instance different from the first:
    e.g. 8080->8180, 8009->8109, etc.
    Even tried to change "Listen <ip2>:80" to 81, same error.
    Curiously, jk2.properties is totally commented out.
    I haven't compiled mod_jk, just copied the binary from the 1st instance.
    Can that be a problem ?
    Any help is very appreciated.
    Thank you,
    Oleg.

    By trying and trying I got it to work .... long hours
    I removed the queue to queue option and the subscriber name from the subscriptions definition. And then I removed the destination-queue on the propagation schedule. Then it worked.
    Mette

  • Forwarding request from JSP/Servlet to EJB

    Is it possible to forward the HttpRequest,HttpResponse objects from a Servlet/JSP to an Entity/Session bean ?
    ie To forward the call using RequestDispatcher/forward to a Session bean which in turn calls the entiy bean for updating DB
    Ramesh

    I don't think that's possible and even if it is there's an easier way. Normally you just create an instance of the session bean in a servlet and pass it the information. The session bean then calls the entity bean which updates the database. You don't have to forward the request - just pass the data to the bean.

  • Pages requested from Internet Explorer are loaded to a Firefox window instead.

    I just started getting "Secure Connection Failed" upon trying to log into a financial website that always worked before, so I decided to see if the same problem existed using Internet Explorer. I terminated Firefox, then started IE, which came up OK with my blank home page. But when I entered the URL for the website's login page, instead of coming up in the IE window, a Firefox window automatically started up, and the requested page came up there instead. So basically, I'm prevented from using IE for anything.

    When you enter the URL for a website in the Internet Explorer browser, the page should open in Internet Explorer. It is then possible that clicking other links within that website could open in Mozilla Firefox if Firefox is set as your default browser. You'd need to ensure that Internet Explorer is set as the default browser.
    As this is the Firefox forum, I'd suggest checking the Microsoft forum for further assistance on your Internet Explorer settings.

  • Forwarding proxy requests from ports other than 80

    Hi,
    Is there a way to forward requests from ports other than 80 to the proxy address? For example, trying to define a rule to forward the requests from port 8080 to proxy_ip...
    Best regards,
    Emre

    Hi Emre,
    Have you looked into using ipfilter port redirecting ?
    It may depend on your configuration.
    /etc/ipf/ipf.conf
    pass in quick from any to any port = 8080 keep state
    pass out quick from any port = 8080 to any keep state
    /etc/ipf/ipnat.conf
    rdr <Interface> <hostname or IP> port 8080 -> <hostname or IP> port 8080 tcp
    Edited by: Hodware on Mar 4, 2013 7:24 AM

  • How to set up reverse proxy to allow user access portal site from internet

    Hi all,
    I have installed 10g(10.1.2.0.2) AS on same machine(single IP for both mid and infra with different users respectively). there is a DMZ on which windows IIS is working through which we need to redirect the request to application server such that users access portal page from internet (within intranet all URLs are working fine). I have went through technet documentation where i found 3 ways : through this link
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm
    Section 9.2.1.1, "Configuring OracleAS Web Cache as a Reverse Proxy"
    Section 9.2.1.2, "Configuring the Oracle HTTP Server as a Reverse Proxy"
    Section 9.2.1.3, "Configuring Internet Information Services as a Reverse Proxy"
    I am confused to which option to use. Also i went through the metalink document 270160.1
    Please help me which option to choose to do this.
    Thanks.

    Hi Hozy,
    May be it's too late, I am thinking to go in the same route for our sap portal access to external customers. Please can you share your experience , like what are the challenges have you faced? what is the complexity? what are all the resources we need to configure this?
    I appreciate your feedback.
    Thanks
    Krish

  • Exception while forwarding request to another jsp file.

    Hi
    I am getting following exception when I try to forward request from one jsp file to another using <jsp:forward> . I am using tomcat 5.5.9.
    thanks in advance
    org.apache.jasper.JasperException
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:66)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:81)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:293)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
    at org.apache.jasper.runtime.PageContextImpl.access$1000(PageContextImpl.java:65)
    at org.apache.jasper.runtime.PageContextImpl$11.run(PageContextImpl.java:647)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:645)
    at org.apache.jsp.mseries.SpareCheckSend_jsp._jspService(org.apache.jsp.mseries.SpareCheckSend_jsp:141)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)

    I believe you will need to more clearly describe what you are trying to do and what the problem is that you are having before you get a reply to your question.

  • What is the best practices recommended from microsoft to give access a intranet portal from internet externally

    Hi
    what is the best practices recommended from microsoft
    i have a intranet portal in my organization used by employees  and i want to give access for employees to access external from  internet also
    can i use same url  for employees access intranet portal from internally and externally or diffrent url?
    like ( https://extranet.xyz.com.in)  and (http://intranet.xyz.com.in)
    internal url access by employees is( http://intranet.xyz.com.in)
    and this portal configured with claims based authentication
    here i have a F5 for load blance and
     a request from external to F5 is https request and F5 to sharepoint server http request
    and sharepoint server to F5 is http request but F5 to external users it is https response so 
    when i change below settings in alternate access mapings   all links changed to https
    but only authentication link is still showing http and authentication page not opened.
    adil

    Hi,
    One of my clients has an environment similar to yours with an internal pair of F5s and a pair used for the access from the internet. 
    I am only going to focus on the method using an F5 Load Balancer and SSL Offloading. the setup of the F5 will not be covered in detail but a reference to the documentation to support SharePoint and SSL Offloading will be provided
    Since you arte going to be using SSL Offloading you do not need to extend your WebApps to use separate IIS WebSites with Unique IP Addresses
    Configure the F5 with SSL Offloading
    Configure a Internal AAM for SSL (HTTPS) for each WebApp that maps to the Public HTTP FQDN AAM Setting for each WebApp
    Our environment has an additional component we require RSA Authentication for all internet facing Sites. So we have the extra step of extending the WebApp to a separate IIS WebSite and configuring RSA for each extended WebSite.Reference:
    Reference SharePoint F5 Configuration:
    http://www.f5.com/featured/video/ssl-offloading/
    -Ivan

  • Webdispatcher problem: Forwarding http requests don't work

    hi experts,
    i'am trying to configure my webdispatcher in order forwarding http requests to my sap netweaver message server (AS JAVA instance).
    here is my profile file:
    SAPSYSTEMNAME = WDP
    SAPGLOBALHOST = myWebDispatcherHost
    SAPSYSTEM = 10
    INSTANCE_NAME = W10
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = mysapdevServer
    ms/http_port = 8121
    Configuration for medium scenario
    icm/max_conn = 500
    icm/max_sockets = 1024
    icm/req_queue_len = 500
    icm/min_threads = 10
    icm/max_threads = 50
    mpi/total_size_MB = 80
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTP,PORT=81$$
    icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/portal
    MyTrace file i got it from web administration screen after lanching this address on my navigator http://myWebDispatcherHost/
    [Thr 2876] Mon Jul 07 16:36:34 2008
    [Thr 2876] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    [Thr 3748] Mon Jul 07 16:36:36 2008
    [Thr 3748] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    [Thr 3464] Mon Jul 07 16:43:55 2008
    [Thr 3464] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    [Thr 3464] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    [Thr 2876] Mon Jul 07 16:43:59 2008
    [Thr 2876] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    [Thr 3852] Mon Jul 07 16:47:42 2008
    [Thr 3852] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]
    Can you give me some advices to go throug this issue
    Thanks,

    Hi Srinivas,
    We  have installed  web dispatcher on cluster nodes...  and  web dispacther is unable to connect to message server.
    We are on cluster CI ,DI and SQL server runs on different systems.
    I have installed web dispatcher on CI & DI.. on CI web  dispatcher is up and DI is coming down after  couple of minutes if we try to bring it up.
    dev_webdisp:
    [Thr 3636] Wed Jul 30 14:59:51 2008
    [Thr 3636] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 5 / sock 131344
         (SI_ECONN_REFUSE; I4; ST; 10.16.148.36:8100) [nixxi.cpp    2764]
    [Thr 3636] *** ERROR => Connection request from (-1/65535/0) to host: nbcdqsasc10b.corp.irvineco.com, service: 8100 failed (NIECONN_REFUSED) [icxxconn.c 2731]
    [Thr 3636] *** ERROR => IcmConnClientRqCreate() failed (rc=-8) [icrxx.c      4919]
    [Thr 3636] *** ERROR => Could not connect to SAP Message Server at nbcdqsasc10b.corp.irvineco.com. URL=/msgserver/text/logon?version=1.2 [icrxx.c      2301]
    [Thr 3636] *** ERROR => rc=-1, HTTP response code: 0 [icrxx.c      2302]
    [Thr 3636] *** ERROR => see also OSS note 552286 [icrxx.c      2303]
    [Thr 7944] Wed Jul 30 15:00:48 2008
    [Thr 7944] *** ERROR => htmlEncode: called with empty string [icpif.cpp    847]
    [Thr 7252] Wed Jul 30 15:00:57 2008
    [Thr 7252] *** ERROR => htmlEncode: called with empty string [icpif.cpp    847]
    [Thr 10200] Wed Jul 30 15:01:07 2008
    [Thr 10200] *** ERROR => htmlEncode: called with empty string [icpif.cpp    847]
    [Thr 1868] Wed Jul 30 15:01:18 2008
    [Thr 1868] *** ERROR => htmlEncode: called with empty string [icpif.cpp    847]

  • How can I forward a request from to another servlet?

    If I would like to forward a request from a servlet to another one, but they are not located in the same machine.
    Could I use the following code to do it?
    getServletConfig().getServletContext().getRequestDispatcher("XXXXX").forward(request, response);

    You can not do a forward to a servlet on a different server. You can do a redirect and put any parameters you want to pass in the url. If you are using JSP you may bve able to use the JSTL include tag, again passing the parameters in the URL. You could use the URLConnection or HttpURLConnection class to open a connection to the servlet, make a request, get the response and the return the response to the client.

  • Forwarding requests on to non-java pages from servlet.

    I have designed a web application using a form of single controller pattern.
    I have a number of JSPs.
    Each of these JSP's has a form element which if submitted got to a single servlet (Controller)which then forwards on the request to a different class based on the paramter passed. For example this form would call the SubmitFeedback class.
    <form name="feedbackform" method="post" action="<%=request.getContextPath()%>/controller">
    <input type="hidden" name="action" value="SubmitFeedback"/>
    <input type="hidden" name="page"   value="feedback.jsp">
    <tr><td><input type="submit" name="go" value="Go"/></td></tr>
    </table>
    </form>After the class has done its processing it returns what page to go next to the Controller class and this forwards the request on. to the next jsp
    String nextPage = createAction(request.getParameter(PARAM_ACTION)).handleRequest(this,request, response, request.getParameter(PARAM_PAGE));          
    request.getRequestDispatcher(nextPage).forward(request, response);
    return;This is all fine but now I have a sitation where after the user submits the form I want do some processing then forward them onto another page which is not part of my system, nor java. But the RequestDispatcher is only for the current Context within a Servlet Container.
    Could someone explain how I do this, what am Im missing please.

    i am not a JavaScript expert, so I can't be sure this is everything, but:
    1) The javascript has to be put inside a <script></script> block (you also had an extra close bracket):
    <script type="text/javascript">
      <!--
      function validateAccept() {
        toReturn=true;
        if (form.accept.checked==false) {
          alert("You must select at least one checkbox to search");
          toReturn=false;
        return toReturn;
      //-->
    </script>The script block is usually put in the head section also, but that is not necessary.
    2) I would call this function from the onsubit event of the form rather than the onclick of the submit button
    <form  name="form" action="..." method="post" onsubmit="return validateAccept();">
      //...3) You will need to identify the form that you want to use inside the function. Just using the name form won't work, it has to be retrieved from a certain context. The easiest thing is to pass it in as a parameter:
    <script type="text/javascript">
      <!--
      function validateAccept(form) {
    <form  name="form" action="..." method="post" onsubmit="return validateAccept(this);">

  • Treating intranet client connecting differently from internet client

    Hi All,
    I am developing a server socket application that accept connection from client. The clients can connect either through internet or intranet. I need to treat them differently. Is there a way to know whether the client is an intranet client or an internet client?
    Best regards,
    Caesar

    Have a look at the remote socket address of the accepted socket.

Maybe you are looking for

  • Messages in 10g

    I've searched through the forum and can't find information for what I believe is a general problem that I'm having with Forms 10g (10.1.2). None of the "normal" Forms messages are appearing. If I open a form, enter values in a field or two then refre

  • Problems with deployment in 6.1 on  tru64

              Hi,           We are having problems with deployment of web applications in 6.1. We are running           cluster ( 2 managed servers ) .The problem is that every time we restart the admin           and managed servers, none of our applicat

  • JavaDoc documentation for new BC4J UI classes

    Hi All I could not find JavaDoc documentation for new UI packages ( oracle.jbo.uicli.*** ) in JDeveloper 9i RC. Does anybody have an idea where can I find them? Regards, Shota

  • Poor Capture Options. Can't Log Clips. Cheap Samsung ... but still ... :(

    Mac User. My Samsung DV Camera isn't the best .. but at least I should be able to "Capture" the footage. Even with "Scene Detect" Off .. the tape will not continuously load. Maybe it's a crappy camera .. but why can't I just get the footage off it? I

  • Application Status is IMPLICIT_STOPPED

    I am troubleshooting getting my Portal application to start, and in Netweaver Administrator i can see that the folllowing applications: sap.com/com.sap.portal.fpn.accessservice sap.com/pcd_bizc_authoring sap.com/pcui_gp~xssfpm sap.com/pcui_gp~xssutil