Default web server address?

Hi.
I'm using Oracle Expres Editon 10g release 2, with the application builder that came with: Product Build:      2.1.0.00.39 . on windows xp.
I want to add this tag in a report form:
<div style="text-align:center;">
<img src="C:\download\bilder\dogu#NAME#" />
</div>
But the url seems not to be translated correctly I assume that I should have defined the URL for the image in relation to the default directory for the web server, my question is: How do I find out what is the default directory for the web server?

I had the same problem this morning with a clean install of 10.5 Leopard Server.
I called apple and spoke to a really good guy who ran through a diagnosis with me and advised that under server admin you have your default site built in, what to do is click on that original site then there is a little box under it where you are able to duplicate the site, click this, then basically make everything the same and try through safari and it should work, mine works perfect now.
I asked him why this happens and a easy answer was oh its a glitch we aim to fix it as soon as possible.
Hope this helps

Similar Messages

  • Java mail(fetch default SMTP server address)

    I am writting a code to send an email using Java Mail API.
    I have manged what I wanted(send a mail with an attachment)
    But in my code I have hard coded the SMTP server address,that is what I dont want to do .Is there anything in java which can fetch the default SMTP server address ?

    Let me send the code itself to make it clear
    Here the host is hard coded to10.1.1.5
    I dont want that ,rather I would like my code itself to fetch the host
    package javamail;
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class SendMailUsage {
    public static void main(String[] args) {
    // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
    String to = "[email protected]";
    String from = "[email protected]";
    // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
    String host = "10.1.1.5";
    // Create properties for the Session
    Properties props = new Properties();
    // If using static Transport.send(),
    // need to specify the mail server here
    props.put("mail.smtp.host", host);
    // To see what is going on behind the scene
    props.put("mail.debug", "true");
    // Get a session
    Session session = Session.getInstance(props);
    try {
    // Get a Transport object to send e-mail
    Transport bus = session.getTransport("smtp");
    // Connect only once here
    // Transport.send() disconnects after each send
    // Usually, no username and password is required for SMTP
    bus.connect();
    //bus.connect("smtpserver.yourisp.net", "username", "password");
    // Instantiate a message
    Message msg = new MimeMessage(session);
    // Set message attributes
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    // Parse a comma-separated list of email addresses. Be strict.
    msg.setRecipients(Message.RecipientType.CC,
    InternetAddress.parse(to, true));
    // Parse comma/space-separated list. Cut some slack.
    msg.setRecipients(Message.RecipientType.BCC,
    InternetAddress.parse(to, false));
    msg.setSubject("Test E-Mail through Java");
    msg.setSentDate(new Date());
    // Set message content and send
    setTextContent(msg);
    msg.saveChanges();
    bus.sendMessage(msg, address);
    setMultipartContent(msg);
    msg.saveChanges();
    bus.sendMessage(msg, address);
    setFileAsAttachment(msg, "D:/ketan.txt");
    msg.saveChanges();
    bus.sendMessage(msg, address);
    setHTMLContent(msg);
    msg.saveChanges();
    bus.sendMessage(msg, address);
    bus.close();
    catch (MessagingException mex) {
    // Prints all nested (chained) exceptions as well
    mex.printStackTrace();
    // How to access nested exceptions
    while (mex.getNextException() != null) {
    // Get next exception in chain
    Exception ex = mex.getNextException();
    ex.printStackTrace();
    if (!(ex instanceof MessagingException)) break;
    else mex = (MessagingException)ex;
    // A simple, single-part text/plain e-mail.
    public static void setTextContent(Message msg) throws MessagingException {
    // Set message content
    String mytxt = "This is a test of sending a " +
    "plain text e-mail through Java.\n" +
    "Here is line 2.";
    msg.setText(mytxt);
    // Alternate form
    msg.setContent(mytxt, "text/plain");
    // A simple multipart/mixed e-mail. Both body parts are text/plain.
    public static void setMultipartContent(Message msg) throws MessagingException {
    // Create and fill first part
    MimeBodyPart p1 = new MimeBodyPart();
    p1.setText("This is part one of a test multipart e-mail.");
    // Create and fill second part
    MimeBodyPart p2 = new MimeBodyPart();
    // Here is how to set a charset on textual content
    p2.setText("This is the second part", "us-ascii");
    // Create the Multipart. Add BodyParts to it.
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(p1);
    mp.addBodyPart(p2);
    // Set Multipart as the message's content
    msg.setContent(mp);
    // Set a file as an attachment. Uses JAF FileDataSource.
    public static void setFileAsAttachment(Message msg, String filename)
    throws MessagingException {
    // Create and fill first part
    MimeBodyPart p1 = new MimeBodyPart();
    p1.setText("This is part one of a test multipart e-mail." +
    "The second part is file as an attachment");
    // Create second part
    MimeBodyPart p2 = new MimeBodyPart();
    // Put a file in the second part
    FileDataSource fds = new FileDataSource(filename);
    p2.setDataHandler(new DataHandler(fds));
    p2.setFileName(fds.getName());
    // Create the Multipart. Add BodyParts to it.
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(p1);
    mp.addBodyPart(p2);
    // Set Multipart as the message's content
    msg.setContent(mp);
    // Set a single part html content.
    // Sending data of any type is similar.
    public static void setHTMLContent(Message msg) throws MessagingException {
    String html = "<html><head><title>" +
    msg.getSubject() +
    "</title></head><body><h1>" +
    msg.getSubject() +
    "</h1><p>This is a test of sending an HTML e-mail" +
    " through Java.</body></html>";
    // HTMLDataSource is an inner class
    msg.setDataHandler(new DataHandler(new HTMLDataSource(html)));
    * Inner class to act as a JAF datasource to send HTML e-mail content
    static class HTMLDataSource implements DataSource {
    private String html;
    public HTMLDataSource(String htmlString) {
    html = htmlString;
    // Return html string in an InputStream.
    // A new stream must be returned each time.
    public InputStream getInputStream() throws IOException {
    if (html == null) throw new IOException("Null HTML");
    return new ByteArrayInputStream(html.getBytes());
    public OutputStream getOutputStream() throws IOException {
    throw new IOException("This DataHandler cannot write HTML");
    public String getContentType() {
    return "text/html";
    public String getName() {
    return "JAF text/html dataSource to send e-mail only";
    } //End of class

  • Reg. web server address

    hi gurus
    can anybody let me know that how to find web server address in BW.
    thanX in advance
    peter

    Hi,
    Check whether the following Document is useful to you ?!
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/994a06ed-0c01-0010-878b-e796a9060209
    With rgds,
    Anil Kumar Sharma .P

  • Configuring IISExpress as default web server for multiple TFS workspaces in VS2013

    I am trying to configure VS2013 so that IISExpress works in a similar way to the builtin web server (Cassini) in VS2010.
    For the past year or so, I have worked with multiple local TFS workspaces for a web site which all map the same TFS branch. When running the web site, the solution sets a default port which is used if I only have one VS 2010 instance in use. If I use multiple
    instances, a new random port is assigned, but the instance works fine and I can debug both sessions without problem.
    Having installed VS2013, the 'internal' web server is no longer provided, so I have to use IISExpress. I cannot figure out how to configure this to work the same way as the server in VS2010.
    As far a I can tell, IISExpress always uses the workspace folders on the first site specified in the applicationhost.config file. If I create a second site, it seems to be ignored and the second instance uses the files in the first set of folders!
    Reading elsewhere, it seems it might be possible to get IISExpress to use a second workspace folder by editing the config file every time, but (a) this is tedious and (b) something, probably IISExpress, rewrites the file at various times, so it's not clear
    whether changes would persist. 
    I can't believe I'm the only developer using VS2013 who regularly will be working on a new feature for a website and want to bring up a second instance of in using either a workspace which does not have the changes made in the first or even another site
    with a different set of changes and have them run smoothly in parallel! VS2010's internal web server just worked!

    Hi Derek Dongray,
    You are posting on Visual Studio Setup forum which talks about Visual Studio installation problems. If you need to know how to set your IISExpress, please post on this forum instead:
    http://forums.iis.net/
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Modify root for web server

    The Server config successfully did a reverse lookup and created a config for the default web server.  Unfortunately I want to use that very name/address to host from a root location of MY choosing and not the one that Lion Server thinks I should want.  Since editing the server-built default config is not allowed (fields are grey'd out etc) I was successfully at creating an additional site, with the exact same fully qualified domain name, pointing to the root folder of my choosing.  While this does work with header based requests, it does fail for IP based requests or blabla.local requests. 
    It looks as if the web pane of the server app was crafted for users wishing to setup sites like this, yet this most simple of tasks seems out of reach.  Since I assume many have had to grapple with this issue I am hoping there are some experiences someone can share.  I will happily start hacking on the apache config, but it does seem that Apple planned for us to build sites with the app, and may break any of my hand-edits with an innocuous looking security update or something.
    thanks,
    greg

    Thanks
    It really worked. But it is not displayed properly i.e some pics are missing and more over i cannot login in to that web server. When i enter the username & password it just open and says the page can not be displayed
    i have made the following changes in order to accomplish that.
    /etc/hosts
    192.168.0.10 dummydomain1.com
    and this URL i had entered in the channel you had told me.Now whwn i get that interface of web server in front of me through portal it is in bad condition and more over when i try to login to that interface, my client it self try to access that interface i.e URL.However the requirement was to that the portal server should be doing all the work .
    regards
    Edited by: adeelarifbhatti on Nov 26, 2008 11:56 AM
    Edited by: adeelarifbhatti on Nov 26, 2008 12:01 PM

  • Sslext NOt working Sun ONE Web Server 6.0?

    Hi,
    I have implemented the sslext tag for dynamic switching of http to https.
    I am using ATG Dynamo Server ONLY in the Development Env. (using the default Web Server of ATG) for testing this and sslext tag works fine using the Plug-In of struts which is in sslext.jar.
    but in producation the ATG Dynamo Server 6.0 is configured with Sun ONE Web Server 6.0, as forwarding request throught the Web Server to the App Server.
    But here sslext stop working?? any guss why?
    Sun ONE Server 6.0 is configured with ATG Dynamo Server 6.0 as Connection Module.
    There are three ways a Connection Module can handle requests for files whose MIME type is text/html.
    1)You can choose to have the files served by the Sun ONE Web Server,
    2)by the Dynamo server,
    3)or by the Sun ONE Web Server (but also send requests to Dynamo for logging).
    we select the 3rd option.
    any Guess why this is happening???
    regards
    DJ

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Running the G server and labview web server as a stand-alone serve

    Hello,
     Now I am running the G web server from the Internet toolkit cooprating with the Labview default web server because I need the server to handle both GCI reguests and the requests of the remote panel.
     Now I have a question. Is there any way to make these two servers as stand-alone applications and also make it to be window service ( I think if I could make them the stand-alone applications, making them to be window services would be easy)? I just want the web server to be a stand-alone application without installing the Labview (just installing the run-time engine) on one machine. Could this be done? Thank you very much.
    Best Regards,
    Benjamin Chu

    Hello Benjamin,
    for running a LabVIEW application as Windows Service is here a tutorial.
    I formerly tried to get the G web Server into an application and I know there were some dynamic VIs loaded by the HTTP Server Control.vi and some SubVIs. I never tried this seriously enough to get it running.
    You need at least to put the VIs vi.lib\addons\internet\http\http0.llb\HTTP Server, vi.lib\addons\internet\http\http0.llb\srvr_%02d.vi (%02d is part of a format into string with a for loop index), HTTP Load Configuration Files.vi as dynamic VIs into your build definition.
    Running the G Web Server and looking at the VI hierarchy is not for help because for some reasons the G Web Server VIs will not show up in the VI hierarchy window.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Starting web server in Solaris10

    Hi Experts
    I am setting up nagios monitoring tool in solaris 10
    my question is is there any default web server is installed in solaris 10 like linux is having apache .I saw apache folder in /usr directory
    if it is there could you please tell me how to start the web service
    in linux is service httpd start but i don't know in solaris
    Thanks in advance
    sk

    Solaris 10 bundles an apache. You can use it as in Linux.
    But I recommend you to get our WebServer 7.0U1 which has more powerful features including JSP/Servelet support. You can get it free from here:
    http://www.sun.com/download/products.xml?id=467713d6
    If you have any question about it, you are welcome to post it here.

  • Associating Default Web Application with Virtual Host

    Hi
    We are trying to run several virtual hosts on the same managed server. However, each of those virtual hosts (e.g. bob.mydomain.com, john.mydomain.com) will need to have a different default web application (the rest of the deployed web applications will be the same between hosts). We tried to create default web applications with <context-root> in weblogic.xml set to / (also tried "") - however when attempting to deploy 2nd default web app an error message comes up:
    Context path '/""' is already in use
    So, it appears that we can't associate a default web application with a virtual host. Any ideas on how to solve it?
    Our Environment:
    Weblogic version: 10.3 TP, Windows
    Many thanks
    Jason

    Is your webapp targetted to the correct virtual-host during deployment?It could be possible that your webapp is targetted to the default web-server instead of the virtual-host causing this error. Can you validate this from your config file?
    You can also configure default webapps for virtual hosts by setting the default-web-app-context-root element of virtual-host element in your config file

  • Web server default address problem

    When I installed the new Xserve with Leopard Server to replace an old G4 running OSX 10.3 server my default Web address changed from: http://xxxx.xxxx.xxx to http://xxxx.xxxx.xxx/groups/workgroup/
    I just want it to go back to the original way it was. I'm living in a Windows world and I'm the only Mac person here.
    Any help would be appreciated.

    I had the same problem this morning with a clean install of 10.5 Leopard Server.
    I called apple and spoke to a really good guy who ran through a diagnosis with me and advised that under server admin you have your default site built in, what to do is click on that original site then there is a little box under it where you are able to duplicate the site, click this, then basically make everything the same and try through safari and it should work, mine works perfect now.
    I asked him why this happens and a easy answer was oh its a glitch we aim to fix it as soon as possible.
    Hope this helps

  • I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?

    I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?
    I typed in the IPv6 address of the printer in the address feild of firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • IPlanet Web Server acl to deny access to class C IP addresses

    Hi all,
    having not chance to modify an ACL from the iPlanet Web Server GUI (the application just make the acl file and anything else....), I am trying to modify it directly to deny access to all users having IP address starting with 172.
    The ACL file created from the iPlanet GUI is the following:
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "iPlanet Web Server";
    allow (read, list, execute,info) user = "anyone";
    allow (write, delete) user = "all";
    acl "es-internal";
    allow (read, list, execute,info) user = "anyone";
    deny (write, delete) user = "anyone";
    I modified it by adding the following deny:
    root@webone /usr/iplanet/servers/httpacl # more generated.https-altorendimento.acl
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "iPlanet Web Server";
    allow (read, list, execute,info) user = "anyone";
    allow (write, delete) user = "all";
    acl "es-internal";
    deny (read) ip = "172.*";
    deny (write, delete) user = "anyone";
    but, after applying the changes, I am still (I am on a 172.*.*.* workstation) allowed to access the resource. Then I changed the deny in the following way:
    root@webone /usr/iplanet/servers/httpacl # more generated.https-altorendimento.acl
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "iPlanet Web Server";
    allow (read, list, execute,info) user = "anyone";
    allow (write, delete) user = "all";
    acl "es-internal";
    deny (read) user = "all";
    deny (write, delete) user = "anyone";
    nothing happened again. The access to the resource seems not related to the acl changes, although the acl are correctly referenced into the obj.conf file. Unfortunatelly, I do not have much experience in ACL.
    Is there anyone able to help me with that issue?
    Thank you so much
    enrico

    hi all,
    sorry for this delay, the matter was solved due to the Mozilla display capability for which this site (the one with the ACL) was not made. Once tried to display with Explorer all was ok and I was able to change the ACL accordingly.
    Sorry again, and thaks anyway
    enrico

  • When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

    So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the system
    using credentials, we have Kerberos doing this. Once the user is logged onto the system they navigate to the document they want to view or edit. So the user wants to view a .pdf file, they click the document they want, and it is supposed to open in the default
    program associated with file extension. ie: .doc would open Word, .xls would open Excel. When the document is loading in the default program Internet Explorer opens a blank page, this page is supposed to prompt the user if they want to open or save the document.
    (I changed the registry to have the files selected to automatically open without this prompt.) The blank screen generated is still staying open, this screen is supposed to close automatically after the prompt or close automatically after the document is opened.
    So when a user is looking at several documents, this floods the screen with all these blank Internet Explorer pages. This problem is only occurring for users that have Windows 7 PC's, XP users do not have this problem at all. My PC is the only one in the company
    that is Windows 7 64-bit, and working properly with the IE blank page automatically closing. I'm wondering what can be done to fix this problem, is it as simple as registering some .dll files or do I need to make a registry change? Any help would greatly be
    appreciated.

    What is the registry change exactly?  Sounds like one which is supposed to avoid the prompt.  I know
    that there used to be such a thing, before the new prompt and I know that some users think that there should be such a thing for any program but I'm not sure if that expectation is valid or not.  I think this may also be related to a concurrent change
    in the OS.  E.g. in XP we had File Types Options editor but starting in Vista that was removed.  You might get some more clues on this tack from NirSoft's FileTypesMan utility.
    The registry change that I did was to remove the open and save prompt. I will be sure to look into that. Our company
    isn't worried about the user's automatically opening the files since they are all trusted. They also do not have the ability to install anything, so if they were to download a potentially harmful file they could never install it. We monitor downloads as well,
    if they download files off the internet that aren't work related we remove their download capabilities.
    Sounds like a scenario for using ProcMon to take two traces and compare them for their essential differences.
    I talked to my boss about using this tool and he is worried about using it. I'm only an intern at my office and do not have the authority to use a program without their knowledge or consent. I will run the idea by them again and see if it's okay I use this.
    I'll maybe make some presentation about how it can help us with our problem and how much time and money it will save. Because I really want to get down to the bottom of this.
    Probably the most significant thing is going to be the Content-type that the files are being served by. 
    You could use the Developer Tools, Network Capture to check on that and ProcMon could help explain what happens after that.  A related workaround to change the symptom when the Content-type is not what is expected is to disable MIME Sniffing (e.g. in
    Security options, Miscellaneous section).  In fact, perhaps that could explain your machine's difference with anyone else?  MIME Sniffing is a default, previously known as "save according to type not extension" (or some such wording).
    Okay I will be completely honest I have no idea how to use Developer Tools (F12), yes I could google it, when I tried using it on the blank pages it would never work, I also have no idea what I'm looking at. I should mention that I do not have access to
    the web server. Our programming and development side only has access to our AS400, which is where the web server is located. I do have MIME Sniffing enabled and so does everyone else. I may be wrong but, I believe it is needed in order to open the file extension
    in the correct default program, yes? I thought MIME Sniffing would see a .docx file and then find the appropriate program to open that .docx file in. I may be wrong but I know it's used somehow along these lines.

  • My i web version is 2.0.4. Can I publish my i web site directly to a FTP server address?

    After Apple stopped hosting with Mobile Me, I moved hosting for my i web built web site to Network solutions. I was told by a Network solutions technician that I can publish an updated iweb site directly to a FTP server address. But I do not see that as an option with my 2.0.4 i web version. Can I update my
    version of i web? Or do I need to purchase a later version of i web for this function?

    You can open your iWeb 2 site in iWeb 3 and continue as before with the addition of FTP. However you should be able to upload with no problem in CyberDuck or Transmit - both are easy to use and reliable. Note that when you publish to a local folder you should usually upload the contents of the folder to the server, not the folder itself, unless you want the folder name (which must have no spaces in it) to appear in the URL.
    Cyberduck is free (donation requested): Transmit is $34 but I think better. You will need the server address (your hosting service can tell you that), and your username and password for that service.

  • CP3525dn, networked -- default duplex for all users (embedded web server)

    I want to set the default for all users on our networked CP3525dn to be duplex. I cannot find this option anywhere in the embedded web server. I have duplex turned on, of course, and users can set their own default to duplex, but I want it to be default for everyone--the default default, if you will.
    Is this possible? I'm fairly certain it's possible if the printer is connected to a computer and shared on the network (but I don't remember the specifics) but I can't find out how to do it if it's on the network on its own.
    Thanks!

    I don't believe you can.  It must be set for every user manually.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

Maybe you are looking for

  • How do i use an active directory group for vpn and not all user

    hi all, i have an asa 5515x... how do i use a particular group in active directory to have vpn/anyconnect access?  right now i believe it's for all user on my current config, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !integrate with active d

  • BPM Correlation from Dynamic Configuration not being filled

    Hey guys, I'm having the following problem with BPM correlation. In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created wi

  • Purchases from my iPhone are not showing up in my iTunes 11 library?

    They show up in playlists, such as one I created and my recently played and purchased playlists, but they are absent from my library. They are on my computer under itunes, but they just won't show up on my itunes library. I have the newest iTunes, an

  • Error in NW 7 ehp2 HA installation in win 2008 R2 /MSSQL

    Hi Gurus, I am facing below error during first mscs installation. I am running sapinst using virtual host. From sapinst log - TRACE      2012-01-28 01:25:53.693 ClusterGroup(isting status for resource 'L':) TRACE      2012-01-28 01:25:53.693 ClusterG

  • Can a processor get the resource (jar) an element was loaded from?

    I'm writing an Annotation Processor (JSR 269). Once process the annotations in the Compilation Unit, I need to look for resources in some of the classes referenced in the Compilation Unit. After I do that I need to look in the jar that encloses the r