Where to put html pages

hi!
i am a beg. in servlets.
the dir.
C:\WINDOWS\Desktop\jsdk2.1\examples\WEB-INF\servlets
is where i place my servlets and i execute them using
http:/localhost:8080/examples/servlet/MyServletclass
but can some one tell me where should i place the static html pages that need to post data to the servlet
i.e.
<form action=servletclass method=post>
in which dir. should i place the html page.
thanx
nadhur.

actually my servlet that handles the reques from th static page is in
C:\WINDOWS\Desktop\jsdk2.1\webpages\WEB-INF\servlets
which can be accessed by
http://localhost/8080/servlet/Sertlet1
but where should i put the static page test.html such that it has the action attribute set to servlet1
<form action="Servlet1">
i tried to put it in
C:\WINDOWS\Desktop\jsdk2.1\webpages\WEB-INF\servlets
but i can't access it by
http://localhost/8080/servlet/Test.html
thanx.
madhur.

Similar Messages

  • Where to Put Html pages in apps

    I am calling some html page from my OAF page, in local i have put all html files in myhtml\OA_HTML\Help\Goods\all html files, and in my page i have given path help\Goods\some.html , its working fine local, but i need to know where to put the Help folder in server.....

    actually my servlet that handles the reques from th static page is in
    C:\WINDOWS\Desktop\jsdk2.1\webpages\WEB-INF\servlets
    which can be accessed by
    http://localhost/8080/servlet/Sertlet1
    but where should i put the static page test.html such that it has the action attribute set to servlet1
    <form action="Servlet1">
    i tried to put it in
    C:\WINDOWS\Desktop\jsdk2.1\webpages\WEB-INF\servlets
    but i can't access it by
    http://localhost/8080/servlet/Test.html
    thanx.
    madhur.

  • Where are the html pages located?

    Can anyone let me know where the html pages are located? I have to send a webpage via internet explorer to a sharepoint server.

    "As far as I'm aware you can't see individual pages as files as such as this DOMAIN thing does not have a file extension (like .iweb) or anything like that...."
    Right click on the Domain file, and select Show Package Contents.
    This will allow you to drill down to the individual files.
    Apple apps tend use packages for their databases - iWeb, iPhoto, Aperture are ones that I'm familiar with.
    Also, you can place this file anywhere, and simply double click on it open iWeb - it doesn't need to stay in the Library area.
    Message was edited by: Klaas Visser

  • Where to put HTML documents in JSDK2.0

    Hi,
    I wrote LoginPage.html and I want the users to access this file giving the URL "http://server:8080/LoginPage.html".
    When I install JSDK2.0 (Java Servlet Development Kit 2.0), I got the folders bin, doc, examples, lib and src under the folder JSDK2.0. So to which folder should I put my LoginPage.html?
    Thanks.
    - Prasad Karunagoda

    Hmmmm. Sounds like you haven't installed a Webapp server yet. Download and install Tomcat from http://jakarta.apache.org/ . Then you put your login page and the corresponding web.xml file in a folder under the webapps directory in your Tomcat installation. There's plenty of documentation in both JSDK and on the Jakarta site to help you with any further questions.
    Brian

  • Where to put HTML DB files ?

    Don't think the install instruction said anything about this :
    Where is the download(rtflows.zip) "supposed" to be unzipped to ? a sub-dir under ORACLE_HOME OK ?
    I unzipped to /tmp, ran installation from there....fine.
    I did copy "images" directory to where I mapped /i/ to.
    What about all the other stuff ?
    Any of those files still required ?
    Should I move them to a perm location ?
    Thanks

    none of those other files are necessary after you've completed your install (and upgrade if you're upgrading). just make sure you've stored your images directory with it's directory structures in place.
    regards,
    raj
    ps-a sub-dir under ORACLE_HOME would have been okay for /i/, but i prefer to keep my oracle_home directories as clean as possible.

  • Where html pages located, which created by using APEX?

    Hi,
    I am using APEX 2.1(Oracle XE) to develop an app, would like to know where html pages stored?
    In other word, how can I put the existing html pages into APEX web server? I don't want to run two web servers on same computer.
    This question may relate to update APEX from 2.1 to 2.2, how to do the upgrade, my APEX is included in Oracle XE.
    Thanks.

    Hello,
    >I followed the method to view :8080/i, it's
    interesting, all stuffs are XE's but not find my own
    pages built by APEX.
    >I guess I'm confused now. You say "built by APEX"
    APEX doesn't build static pages so there is no way to
    access them statically.
    I thought what you wanted is you have static pages
    that you want to serve off an XE instance without
    using another webserver. By uploading your static
    html files into the /i/ directory you can serve them
    from there using the embedded webserver.
    If you want to server your pages from within the
    framework itself that at least means uploading them
    into the Shared Components and then linking to them
    in an iframe or frame to get valid pages or at the
    most getting the content sections into the database
    and pulling them into a region on a page.
    Your question is a little vague, can you be more
    detailed on what exactly you want and what you
    expect.
    CarlSorry for my unclear questions. But your answers are very right to me. Yes, I want to put my existing static html files into the /i/ directory, so I can serve them from there using the embedded webserver. I will upload them into Shared Components to try, I appreciate if you tell me how to make the link between these html pages to iframe. I am newby to this.
    My second question is that I use APEX built some test pages, but I can not find them in :8080/i virual fold.

  • Where to put js that should show on every page, like Appex have?

    In every page header there are entry like:
    <+html lang="hr" xmlns:htmldb="http://htmldb.oracle.com">
    <+head>
    <+script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
    <+script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
    <+script language="JavaScript" type="text/javascript">
    <+!--
    /*Global JS Variables*/
    +var htmldb_Img_Dir = "/i/";1) I would like to know where to put some of my js to be loaded automatically on every page regardless current theme (like in above example).
    2) If I want to some js be shown on template based filter.
    What is bothering me is that i would like to put some js on every page where for instance report template is loaded...what is the best way for that?
    THX!

    Hello,
    If you only want it to load on pages with a certain template on way to do it just put the link into the footer of the template itself.
    So the end of you report template would look like
    ....&lt;/table>
    &lt;script src="/i/mystuff/my.js" type="text/javascript">&lt;/script>
    It doesn't make for the best html code but the effect is what you want without having to do any conditions or run a separate page template or do to much on a bunch of different pages.
    Carl

  • Where to put page redirect code when using htp.prn

    Apex 4.0 oracle 11g.
    The user starts on page 7, chooses rows from a list and clicks a Run button which redirects them to page 10 which has a process (on load before header) using htp.prn to create a text file which the user then can save. The end of this process has apex_application.g_unrecoverable_error := true; because if it doesn't have this, the HTML gets put into the text file too.
    Anyway, when the user is done saving this text file, to all appearances they are still on page 7 (since page 10 doesn't really load, just runs that process) but I want them to go to page 14 after saving, not stay on page 7. I can't figure out where to put the redirect. The branching on page 7 doesn't seem to get activated after they hit the save button of the popup file save window, page 10 never loads for a branch on that page to work and I tried to put
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    after the htp.prn call in but then the popup file download window doesn't come up at all and the user is immediately redirected to page 14.
    This is the process - I've tried the redirect inside its own begin end; and it didn't make any difference. If I put it in a separate process, it never gets run because as soon as the htp.prn is done, all processing stops. Any ideas on how I can get this file created and then redirect user to page 14? Thanks!
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="this_file_add.txt"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    -- Loop through all rows in CLIENT_TABLE
    for x in (select HEADER_TRANS_TYPE
    , HEADER_FILLER
    , TRANS_TYPE_CD
    , SOURCE_DEPT_NBR
    , DEST_DEPT_NBR
    , ENV_TYPE
    , FILE_SEQ_NBR
    from TEMP_CRA_EXTRACT
    loop
    -- Print out rows
    htp.prn(x.HEADER_TRANS_TYPE|| x.SOURCE_DEPT_NBR|| x.DEST_DEPT_NBR|| x.TRANS_DATE || x.ENV_TYPE || lpad(x.FILE_SEQ_NBR, 4, '0') || rpad(x.HEADER_FILLER, 48) || x.TRANS_TYPE_CD || rpad(x.XREF_NBR, 12) || chr(13) || chr(10) );
    end loop;
    -- Send an error code so that the rest of the HTML does not render
    apex_application.g_unrecoverable_error := true;
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    end;

    I would recommend using Thread Safe Queues. Your acquisition callback can place items in the TSQ and then you can process the data in a separate thread. TSQs are nice because they allow you to install a callback function to run for certain events. Most importantly, you can install a callback for the Items in Queue or Queue Size Changed event which will run the callback if a certain number of items are in the queue. This lets you take advantage of multithreading in a simple and safe way using a standard Producer/Consumer architecture. However, you may still run into problems with this architecture if your acquisition thread is running much faster than the consumer thread. You could eventually overflow the queue. In that case, your only options are to either get a faster system, slow down the acquisition or do the data handling post process.
    National Instruments
    Product Support Engineer

  • I have read the manual, but as I can see there is nowhere where it tells me how to put my Pages document in iCloud storage, could someone tell me?iDocbackup

    I have read the manual, but as I can see there is nowhere where it tells me how to put my Pages document in iCloud storage, could someone tell me?

    Here is some information on how to get a document from your iDevice to iCloud (which means you need to have the iOS version of Pages installed on your iPad or iPhone:
    http://www.apple.com/support/icloud/documents/
    And here is a slew of other help articles:
    http://support.apple.com/kb/index?page=search&src=support_site.psp.more&locale=e n_US&q=Documents%20in%20the%20Cloud
    And, icloud is not really "storage" - it is meant to "push" a document you create on one iDevice to another.
    FWIW, I assume you are on Lion? Please change your profile - it still shows 10.5.8...

  • Problem when i put swf into html page

    Hi, My swf is working:
    http://dianecollins.com/sean_movieclip.swf
    But, when I put it into an html page, it doesn't work.
    http://dianecollins.com/sean/
    I'm looking at the contact button on the top right - on the
    swf it slides over to the left when you rollover, but on the html
    page, it doesn't work.
    Any suggestions?
    Thanks!

    simpler remedy:
    http://activecontent.blogspot.com
    "coldMiner" <[email protected]> wrote in
    message
    news:eessog$gu0$[email protected]..
    > on ie you have to click to activate flash.
    >
    > remedy:
    >
    http://blog.deconcept.com/swfobject/

  • Putting html on page?

    how do u put html onto a page...
    like a paypal button..i paste the code then publish it but all u see is the text
    HELP!

    Hopefully your wish will come true with iweb 2.0 follow the link provided by cyclosaurus and you will unleash a whole new world of what you can do with a website. Good luck

  • Where to put ~ITSMOBILEDEVICEINCLUDE html-file?

    Hi,
    we are building an ITS Service based on ABAP-Dynrpos (similar to LM01).
    We are using the Motorola (Symbol) MC3100 Handheld Scanner and want it to perform an "Auto-Enter" after scanning a barcode.
    I found this:
    http://service.sap.com/sap/support/notes/1311169
    Mobile Devices and Browser - Wiki - SCN Wiki
    My understanding is, that we need to define a ~ITSMOBILEDEVICEINCLUDE in the service (in SICF).
    But where to put this device specific HTML-file on the server? Or am I misunderstanding something here...?
    Thank You for your input!
    Jan

    Never mind, I found out myself. You can create this file directly in SE80.
    Navigate to Your ITS service in SE80 and then right click on the "HTML Templates" node of your ITS-Service, then choose "create" from the context menu...
    Samples of device include files can be found in SE80 for ITS-Service ITSMOBILE01:
    Regards
    Jan

  • Where should i put html with applet class embedded?thanks

    Tomcat4.0 server
    i put html and applet class in the root of my project(/webapps/test/)
    when i hit the html file locally, it displays well. but it doesn't work when it comes to service.
    plus:the applet class is developed with jdk1.1.8
    any help is apprieciated!

    The first thing I would do is recompile the applet with a newer JDK. Second, you need to post more info on the problem. What do you mean by "service"?

  • How to develope a par file with a static html pages in NWDS

    Hi to all,
    what is the procedure to put static html pages as iviews by using programming.
    In my project hierarchy where should i keep the html file, and what component should be generated? to generate a par file.
    using that par i'll generate a iview and i will link to my page.
    but i need a procedure to generate a portal component of this type.
    if any body is having the procedure of this, or any online help documentation link u have please forward to me.
    Thanks & Regards,
    sireesha.

    Hi,
    Check whether KM is installed in your server. If yes then you can view it under Content Administration>> KM content(like the Portal Content).
    In that you can see the Root folder>>documents>>Public Documents. If you wish you can create your own folder or can  just upload the file inside that folder.
    1. to create a folder go to Folder >> new folder...
    2. to upload the file click Folder>>New>>upload.. then you can browse to the local system and from there you can upload file.
    The path that you have to give in the Iview shloud be like
    \documents\Public Documents\<your foldername>\filename.
    Hope this Helps
    gEorgE

  • How do I add to the HTML page containing an fla?

    Hi,
    My site has Flash Video that plays back in a Flash movie
    file.
    I want to put html text on the html page containing the Flash
    movie so that if a viewer doesn't have Flash, they can see a plain
    text link that sends them to a page with a Windows Media Player.
    When I attempt to add text to the html page containing the
    Flash movie, the text doesn't appear and my page changes background
    color.
    Where in the source code should I be adding my html text?
    Please indicate the insertion point below.
    Source code below or visit
    http://www.ocatillopictures.com/OcatilloFrames/Animation.html
    Thanks
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Janos-FlashPlayer</title>
    <script language="javascript">AC_FL_RunContent =
    0;</script>
    <script src="AC_RunActiveContent.js"
    language="javascript"></script>
    </head>
    <body bgcolor="#100068">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!--
    <p align="center"><font face="Wingdings 3" size="16"
    color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
    href="
    http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
    Video Anchor" target =
    "_self"><b>t</b></a><font
    face="Arial"><a href="
    http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
    Video Anchor" target = "_self"><b>Return to
    Menu</b></a></font></font></p>
    <p align="center"><font face="Arial" size="16"
    color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
    href="
    http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
    target = "_self"><b>View Windows
    Media</b></a><font face="Wingdings 3"><a
    href="
    http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
    target = "_self"><b>u</b></a><font
    face="Arial"><b>
    </b></font></font></font></p>
    -->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    'codebase', '
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
    'width', '700',
    'height', '500',
    'src', 'Janos-FlashPlayer',
    'quality', 'high',
    'pluginspage', '
    http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'Janos-FlashPlayer',
    'bgcolor', '#100068',
    'name', 'Janos-FlashPlayer',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'Janos-FlashPlayer',
    'salign', ''
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="700" height="500" id="Janos-FlashPlayer" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Janos-FlashPlayer.swf"
    /><param name="quality" value="high" /><param
    name="bgcolor" value="#100068" /> <embed
    src="Janos-FlashPlayer.swf" quality="high" bgcolor="#100068"
    width="700" height="500" name="Janos-FlashPlayer" align="middle"
    allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>
    </body>
    </html>

    You have the text commented out. Remove the "<!--" before
    your text and the "-->" after the text and it will show.

Maybe you are looking for