Can I use https in c:import tag

hi All,
can anybody help me? I have a problem using c:import tag. When I write smth like this:
<textarea style="FONT-SIZE: 8pt><c:import url="http://java.sun.com/developer/technicalArticles/javaserverpages/faster/" /></textarea>
it's going fine. But when I want to use https an error acquires.
Can anyone tell me which is the reason??
Thanks, venera

mandar74 wrote:
The error that I get is similar to what is already posted on the current thread so it made more sense to avoid typing the whole thing again and thus avoid spamming the forum with similar items. The original topicstarter didn't post any error.
Forums are meant to share information without been labelled/assigned to someone 'specific' so there's no harm in requesting for a solution when there was none posted for the topic in question.Most users would respond on topicstarter only and not on you. Your specific questions will likely get ignored. Start your own topic.

Similar Messages

  • Can I use multiple p class="logos" tag with the same name within the same html page?

    I was told not to use <div class> tags too many times. I was using them for text, images, to clear floats, I basically built my website using multiple <div class> tags. So if I can't use multiple <div class> tags could I use <p class> tags multiple times in the same html page?
    I have a string of logos at the bottom of my webpage which will all be using the same css characteristics for all logos. Would this be the proper way to write the code:
    HTML
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    CSS
    .logos {
    margin-left:10px;
    Here's my website: http://www.darbymanufacturing.com/test_website/index.html - this is the website built with all div class tags
    I restarted the website in order to write the code properly so that I don't come to errors when uploading on the server like I am having with the website link above.

    Instead of writing something like this -
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    Why not have something like this -
    <div id="logodiv">
    <p>Logo1<a href="...></a></p>
    <p>Logo2<a href="...></a></p>
    <p>Logo3<a href="...></a></p>
    <p>Logo4<a href="...></a></p>
    <p>Logo5<a href="...></a></p>
    <p>Logo6<a href="...></a></p>
    </div>
    with CSS like this -
    #logodiv p { ... }

  • HTTP(S) vs Sockets/SecureSockets - Can I use HTTP(s)?

    Good Day,
    I'm writing client/server, currently using Sockets (actually Secure Sockets, but I don't think SSL actually enters into the overall question). In order to not worry about complaints from firewalls or proxies, it would seem easiest to instead be using HTTP(S) so we look just like a browser and web server.
    However, it appears using the Java APIs you cannot avoid the open-request-response-close paradim, i.e. there is no way to keep the connection open (no persistence).
    I can put "connection: keep-alive" in the mime header, but Java apparently forces me to close the input stream to send (i.e. POST) the client transmission, which closes the connection.
    Is there a way (JDK 1.4) to keep an Http(s)UrlConnection open for continuous communication? The reason I care btw is because it is a heavily interactive data entry application, and response speed is crucial.
    Or is it possible I am worrying about nothing because the overhead of opening/closing the Http(s)UrlConnection is minor? (I am assuimg the TCP/IP connection and the SSL session remain open regardless, and it is just the Java open/close UrlConnection overhead). I am thinking about how to test the various scenarios, but most of that is still ahead of me, and it's always useful to get other experienced comments.
    Thanks in advance... Roger
    p.s. I'm also worried that even if my client and my server think the connection is persistent, some proxy in the pipe might think otherwise. Is that an issue?

    Have u got ur doubt cleared? lf no, l've a soln.
    u cant retain the same urlconnection for many req-res pairs.
    one conn is for one communication only. u cant keep the conn alive.
    lt takes much time for first secure conn. lf it is in a loop, next subsequent conn takes very less
    time. if u already know the no.of data to be sent, use a loop send the data with the same conn object.
    --Rams                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can't use https and Marsedit to edit a user or group blog

    Hello,
    I wanted to use exclusively https to serve our blogs (group and users).
    On Marsedit the following settings works:
    Home URL = http://servername+/groups/+groupname/weblog/
    RPC URL = http://servername/RPC2
    Blog ID = groups/groupname/weblog
    The following hhtpS settings do not work:
    Home URL = https://servername+/groups/+groupname/weblog/
    RPC URL = https://servername/RPC2
    Blog ID = groups/groupname/weblog
    The solution seems to serve the blogs on http (80) and https (443)
    Regards,
    Thibault

    You can serve blogs and wiki exclusively through SSL and use Marsedit.
    If you have a proper certificate it will work "out of the box".
    If you use a self-signed certificate you just need to make sure it has been added to your keychain.
    Then Marsedit can initiate properly the encrypted communication.
    To add a self-signed certificate, just access your page with Safari using https:// .
    You will have a warning dialogue saying the certificate is not trusted blah blah..
    Just make sure you add permanently this certificate in your keychain by trusting it.
    Hope it helps.

  • Can you use a subquery when importing from a file?

    I was wondering if the DBMS_DATAPUMP API allows using a subquery (DATA_FILTER) when executing an import from a file?
    I am unable of limiting my data when creating the export file because my subquery requires a database link, which is not an option on the server I'm working on. So I'm wondering if I can limit my data on the import from a file, rather than the export?
    Thanks for any advice...
    ivalum21

    I was wondering if the DBMS_DATAPUMP API allows using a subquery (DATA_FILTER) when executing an import from a file?From the documentation I would say yes:
    SUBQUERY:
    Specifies a subquery that is added to the end of the SELECT statement for the table. If you specify a WHERE clause in the subquery, you can restrict the rows that are selected. Specifying an ORDER BY clause orders the rows dumped in the export which improves performance when migrating from heap-organized tables to index-organized tables.
    «

  • Can't use http in ios 8 simulator

    I have installed xcode 6, on a mac book pro (Maverick 10.9.5) When I try to use the ios simulator running ios 8 on virtual iPhone 5s, and try to connect to any site that is not using https, I get a blank page stating that "Safari cannot open the page because the network connection was lost" in the simulator. Any page that uses https works fine.
    Any clue ?

    I have Xcode 6.1.1 and I'm still having problems.  http and https both.  It's not just safari either.  Other applications can't access the network either.
    Could these errors give any additional information?
    Dec 11 16:32:49 **** lsuseractivityd[45897]: [SFActivityAdvertiser] ERROR: no XPC proxy, queuing advertisement <49a6aaa1 dc34cf01 72>
    Dec 11 16:32:56 **** SpringBoard[45804]: Could not determine current country code: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x7d0e9680 {NSErrorFailingURLStringKey=http://gsp1.apple.com/pep/gcc, NSErrorFailingURLKey=http://gsp1.apple.com/pep/gcc, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x7d01aff0 "The request timed out."}
    Sometimes I can get it to work and sometimes I can't.  I am getting very frustrated with the instability of the network connection on iOS 8 simulator.

  • How can I use HTTP POST?

    Dear,
    I need to take a test using the object http post for calling a webservice developed in. Net.
    I have the following information from the webservice. Net:
    POST /Level3Communication.asmx HTTP/1.1
    Host: 10.110.70.129
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://tempuri.org/ReceiveMessageFromMES"
    How do I fit this information in HTTP POST object?
    What should I fill in the URL field?
    What should I fill in the Document to Post field?
    What should I fill in the PostData field?
    how do I declare the soap action using http post?
    I did not find any example.
    Could you help me?
    Regards,
    Sérgio Salomã

    Hi,
    check the blogs..
    for recieving..
    [Receiving E-Mail and processing it with ABAP - Version 610 and Higher]
    for Sending
    [Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface]
    Regards,
    Sathish Reddy.

  • Can I use home sharing to import library changes from one library to another, on the same computer without duplicating the song/movie?

    I have two imacs, each with multiple accounts.  The itunes source data (music videos etc) is stored in the shared area of one imac. What is the best way of keeping each account on each imac up to date with any changes/additions in the source data?  I felt that Home sharing could be a solution, and it works well by import the library onto the second mac and I can also see if there are any changes by using the "Show items not in my lbrary" function.  However, this only works well for one account on the second mac, for the other accounts it will re-import and duplicate the data . 

    Locate them in the Windows Explorer, move or copy those files as you would any other, and drag them into the open iTunes window when the second library is loaded. If you're using two iTunes libraries on one user account, you only need to locate the files; otherwise, they need to be put in a shared area.
    (63747)

  • How can I use HTTP authorization in my program?

    I'm writing full-featured proxy server in Java and want to require users to provide login and password and then use their login-name internally to provide different permissions, different quotas, etc... for different users. How can I do that with Java? I prefer to use standard HTTP method for this (classic pop-up login/password dialog in client browser). This is typical solution for all password-protected proxies.
    This question sounds so simple... How to popup a standard dialog asking for login/password in client browser and get its values for farther processing. But I googled for the solution and found nothing. In the Internet, there is a lot of information about how I can use password-protected proxy but none about how I can write one myself with Java.
    Thanks. I need at least some clues...

    I'm asking exactly what I'm asking for in the title :) . Maybe I need to give an example with additional explanation?
    I'm writing a proxy. It has different settings for each user so it must recognize user name and password. Of course, user want to use a browser or other program (possibly another proxy - for example Proxomitron or Privoxy to filter banners and ads) to make requests via my proxy. Browser (not my proxy) should pop-up a dialog asking for a login and password if my proxy server will require authorization. Of course not every program will pop-up a dialog: for example in case of Privoxy or Proxomitron user must provide login and password for parent proxy. In this example "parent proxy" is my proxy. Question is: how I can request HTTP authorization (by sending Proxy-Authenticate) and handle the input? Is there any standard API for that in Java?
    There is big difference between standard HTTP authorization and custom pop-up dialog or custom web-interface login page. In first case user can use standard settings in his/her program/browser to provide password automatically (in this case user just need to enter his/her password once). HTTP authorization is the standard. My proxy need to handle Proxy-Authorization request-header field.
    The Proxy-Authorization request-header field allows the client to identify itself (or its user) to my proxy which (should be able to) require authentication. The Proxy-Authorization field value consists of credentials containing the authentication information of the user agent for the proxy and/or realm of the resource being requested.
    So more complete question would be: is there standard API or third-party API in Java for requesting Proxy-Authorization field from a client and process its values (for example: if password and login is correct then user is allowed to use the proxy; if not user will be asked for login and password again).
    If someone knows proxy server (with source code in Java) which can use standard password protection this will be good answer to my question too.
    Unfortunately it seems that I will need to write account-management code for my proxy myself. Oh, this isn't too hard but for C/C++ there is a lot of examples and ready-to-use pieces of code which I can use immediately. This is why I'm asking here this question: before I will write HTTP authorization class in Java from scratch I want to make sure there is no "ready-to-use piece of code". I don't want to "reinvent the wheel".
    For now, I even cannot find a proxy server with Java source code with ability to use standard password protection to prevent access for non-authorized users. So I'm asking here if there is ready-to-use API (class) for doing HTTP authorization or I need to write one myself.
    Message was edited by:
    Dark_Dragon

  • Can I use iMovie app on imported videos? It doesn't specify

    Does anyone know if I can use the iMovie app to edit videos that I have imported from my camera, can't seem to find any info on this

    This is from the iMovie writeup in the iTunes Store:

  • Can I use Power Query to Import a table from Excel sheet range which starts not from the top row?

    Hi,
    Being an experienced Excel user before Power BI, I am just starting to explore the M and Power Query capabilities, and need help already (ain't easy to google this use case somehow):
    I need to import the table which sits in the Excel file with header row in the row 17 of Excel sheet, with some metadata header in the preceding rows of the columns A and B.
    01: Report name, Quick Report
    02: Report Date, 1/1/2014
    17: Employee Name, Manager, etc...
    18: John Doe, Matt Beaver, etc.
    Both (a) direct attempt to load as Excel file and (b) the indirect way through [From Folder] and formula in custom column -- both lead to the same error: "[DataFormat.Error] External table is not in the expected format."
    Specifically, I tried to use the [Power Query -> From File -> From Folder] functionality, select an Excel file and add a custom column to access the binary content: [Add Custom Column] with formula "=Excel.Workbook([Content])".
    It looks like Power Query expects a rectangular range with headers full-width followed by a contiguous table range to import anything, and refuses to load if that is not the case...
    QUESTION: Is there any way to load whatever-formatted data from Excel first, and then manipulate the overall imported range (like referring to rows starting from 17th using "Table.SelectRows" etc.) to read the actual data? Reading and using
    the metadata from header would be a bonus, but that comes second... The main issue is to get something from a non-regular Excel file to later work with using M formulae ...
    Thanks!
    SAM

    Finally found the answer to this one in ():
    You Cannot Open a Password-Protected Workbook
     If the Excel workbook is protected by a password, you
      cannot open it for data access, even by supplying the correct password with
      your connection settings, unless the workbook file is already open in the
      Microsoft Excel application. If you try, you receive the following error
      message:
    Could not decrypt file.
    ANSWER: So, will have either weave in the work with temporary unprotected files or requires opening them before updating the data source (although this almost defeats the purpose of automation...)
    ANSWER to ORIGINAL QUESTION: password was preventing Power Query from reading the Excel file. For solution see above.
    Thanks anyway for participation and inspiration, Imke!

  • How can I use onClick event on singleSelection tag???

    Hi, all.
    I've used Jdev 9.0.4 and UIX xml.
    I've tried to fire onClick event on sigleSelection tag. But onClick event could not be used.
    Strangely onClick event on Button tag works well.
    My code looks like this.
    <script>
    <contents>
    function AlertMessage(){                   
    alert("You got it!");
    </contents>
    </script>
    <button text="Auto Generate" name="generate"
    onClick="return AlertMessage();"/>
    <singleSelection selectedIndex="0" text="Single" name="GGFF" id="GGG"
    shortDesc="AA"
    onClick="return AlertMessage();">
    Is there any problems in my code? Or this problem is oriented from jdev9.0.4?
    Please help!!!

    Sorry, this was a bug in the UIX version shipped in JDeveloper 9.0.4. It has been fixed in JDeveloper 9.0.5.
    -brian
    Team JDeveloper/UIX

  • How can I use onClick evnet on singleSelection tag???

    Hi, all.
    I've used Jdev 9.0.4 and UIX xml.
    I've tried to fire onClick event on sigleSelection tag. But onClick event could not be used.
    Strangely onClick event on Button tag works well.
    My code looks like this.
    <script>
    <contents>
    function AlertMessage(){
    alert("You got it!");
    </contents>
    </script>
    <button text="Auto Generate" name="generate"
    onClick="return AlertMessage();"/>
    <singleSelection selectedIndex="0" text="Single" name="GGFF" id="GGG"
    shortDesc="AA"
    onClick="return AlertMessage();">
    Is there any problems in my code? Or this problem is oriented from jdev9.0.4?
    Please help!!!

    Sorry, this was a bug in the UIX version shipped in JDeveloper 9.0.4. It has been fixed in JDeveloper 9.0.5.
    -brian
    Team JDeveloper/UIX

  • Can I use Synch to migrate (import) settings and preferences and history etc. from Firefox 4.0.1 on a PC to a new Mac running Snow Leopard, and if so, how?

    I love Firefox and have relied on it for years. But I'm now planning to move from PC to Mac and would like to keep as much of my Firefox personalization and customization as possible. I have never needed to use the Synch feature before, and I cannot find reliable instructions telling me how to do it in these circumstances. Does anyone have any helpful suggestions? Thanks very much.

    Ubuntu may have moved those three button as well to that control bar.

  • Getting img tags to work in sub page using jstl core import tag

    Am trying to bring disparate system page reports together under one web app. This means using the jstl core import tag (I dont want to redirect as I want to hide the urls, this web app provides better security than those it calls).
    Use of the import tag works to a degree but any resources (ie. img tags) don't load.
    Have created a much simplified example that demonstrates..
    So heres the jsp...
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <h3>Delivery Performance Report</h3>
    <c:url value="http://localhost/mycontext/subpage.html" var="myUrl"/>
    <c:import url="${myUrl}" />and a simple sub page (note plain html, no jsp, this mimics my project as the other systems are hidden source, non jsp)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    <HEAD>
    <TITLE>sub page</TITLE>
    </HEAD>
    <BODY>
         This is the sub page<br>
         <img src="images/banner_image.jpg" />
    </BODY>
    </HTML>While I dont get any errors what I do get is ..
    Delivery Performance Report
    This is the sub page
    ...but image fails to load.
    If I redirect instead of import it works, but as I said I need to hide the url from the user as security is an issue.
    Any help appreciated, really pulling my hair out with this final stage of something that will make a real difference to us!
    regards,
    G.

    Thanks for the answer but Im afraid thicko here doesnt get it.
    The img src is relative to the sub page, and I have tried it with an absolute address (ie. http://localhost/.....) with the same result.
    If I call the sub page direct (get with browser) the image tag works. Its just if the sub page is imported with the jstl core import tag.
    I've not tried a base tag. The real project always returns pages containing absolute urls... http://ourReportServer/reports?....plenty of params so dont belive relevant, please correct me if Im wrong here though.
    thanks, G.

Maybe you are looking for