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

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

  • Flash Pro CS6 - What is Best Practices for where to put the Document Class?

    Suppose you are given a folder with these 5 things in it:
    folder: bin
    folder: src
    folder: lib
    folder obj
    ProjectName.as3proj
    I am right now just creating a .fla called ProjectNameShell.fla that is basically an empty file. I just use it to publish through CS6 and also state which class to start from. Is the standard place to put this fla in this first folder or in src?

    Looks like a FlashDevelop project. In that I'd put FLA and project-specific classes in /src. Any 3rd party code in /lib. Publish to /bin. /obj is the wildcard, which could be complex objects (3d, etc). Some people choose to keep the FLA in the root folder (not in any of those folders) and leave /src to just project-specific code (mostly for easy repository usage). 
    There's no "perfect" way to do it. Just be on the same page with the people you work with.

  • 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 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 I can find the FireFox HTML Document in order to delete files.

    Where I can find the FireFox HTML Document in order to delete files.

    ''NACCACHE [[#answer-678877|said]]''
    <blockquote>
    ''jscher2000 [[#answer-678779|said]]''
    <blockquote>
    Hi NACCACHE, when you make Firefox your default browser, Windows will display the document type for certain files (especially .html files) as "Firefox HTML Document". If you switch your default browser to a different browser, such as Internet Explorer, the description will change.
    Are you having a problem with the description appearing with documents that are not normally of the type that display in a web browser?
    </blockquote>
    I changed now to Firefox default browser...now where I can find the Firefox HTM Document in order to delete a file.
    yahOO.htm
    Track your Package from FedEx Span...
    </blockquote>
    I took PrintScreen for the said files how I can send it to you?

  • 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"?

  • Where to put javascript code?

    Hello,
    I am trying to set some columns in a list as "read-only" and is using the following code:
    <script type=”text/javascript”>
    function SetReadOnly()
    var elements=document.getElementById(’4_ctl00_ctl00_TextField’);
    elements.readOnly=true;
    _spBodyOnLoadFunctionNames.push(“SetReadOnly()”);
    </script>
    But I am not sure where to put the code in. Should I put it in the space in Content Editor Web Part,
    or through a link to a txt file, or in "Edit HTML"? I've tried them but none works.
    Thanks a lot!
    Patrick

    You can try this:
    1) Open your Sharepoint List. Go to List edit view.
    2) On right side of Ribbon you will find "Form Web Parts" option as shown in figure.
    3) Choose your List form which you want to edit.
    4) Now you can add web part in new window.
    5) Add Content Editor Web part.
    6) In content editor web part add the path of your "txt" file in which you have written your script, for eg.
    <!DOCTYPE html>
    <html>
    <body>
    <script type=”text/javascript”>
    function SetReadOnly()
    var elements=document.getElementById('4_ctl00_ctl00_TextField');
    elements.readOnly=true;
    _spBodyOnLoadFunctionNames.push("SetReadOnly()");
    </script>
    </body>
    </html>
    I haven't tried this method so I am not sure but hope it works...:D
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • HTML document in portal

    Dear friends,
    I got an issue like, my client need to put their HTML document into the portal, its around 300 files. So how to put htis html document into portal. Is it possible to put the html document or not, If not how to make appear HTML document in portal.
    Kindly help me
    Regards
    Suresh

    hi
    first you need upload the html files int oKM content then you need  to create a iviews  based on this content present in KM content
    step 1: uploading the html files
    go to content administration->KMcontent->at the right hand side select the document folder->
    here u create a new folder by selecting folder menu->new->folder
    then your folder will be created under documents folder
    doble click on this (now you under documents/your folder path)
    under you folder
    select folder menu->new->upload
    give  name(ex new.html ),description, and select browse to upload the file
    follow the same procedure for all the html files
    this indicates the u have uploaded all the files properly
    now creating a ivews based on the html documents uploaded in KM content
    content administration->portal content->select your folder->right click ->new->iview->select KM document iview template->give iview name &id etc
    then open the iview for editing
    there u can find a property called " path to document" give the value as " \document\<your folder name where u uploaded the html files under KM content>\file name(ex:new.html>
    like that u can create all the iviews based on the html documents stored under km content
    rgds
    srinivas

  • HTML document

    Sorry, I am extremely new to actionscript. I have a little
    background in 2.0 but I am totally clueless about 3.0. All I want
    to do is make a button open a html document in the same window the
    .swf is in. I know that in 2.0 this would be: (or something like
    it)
    on (press) { geturl("blah.html")}
    I cannot figure it out in 3.0 though. First off, CS3 won't
    even let me put an action script in a button by selecting the
    symbol. That is how I used to do it in 8. Whenever I select the
    button it tells me action script can't be applied to that object.
    It will only let me put actionscript on the frame itself.
    Can anyone tell me what to do to get it to open an html
    document in the same window? I found the "navigateToURL ()" but I
    cannot figure out how to use the event dispatcher.
    Sorry for being so ignorant.

    First, you cannot place code on an object in AS3. Knowing
    where to place your code is the very first place you need to start
    when learning ActionScript. The next is variables, operators,
    conditionals, and events. Assuming you have a bit of grounding in
    AS2, all you'll need to brush up on is events, and how getURL is
    not done the same way anymore.
    Info on getURL in AS3 is here:
    http://kirupa.com/forum/showthread.php?p=1908351&highlight=geturl#post1908351
    Info on Events in AS3 is here:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=3#events
    I would also suggest you give yourself a good AS3 tutorial in
    the basics, to properly advance your knowledge of the fundamentals.
    There is a great tutorial on Senocular.com which is a good starting
    point:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/

  • Opening help html documents from 10g form

    We are converting our 6i forms to 10g. I am trying to open my help html documents from the 10g forms. We have modified the httpd.conf file setting the DocumentRoot "/oracle/apps/aces/help". This is the path where my html documents reside. From the 10g forms I am using web.show_document to open the html documents. I am getting a Page not Found error. Is there somewhere else the help path needs to be set?
    Thanks!!
    Shellie Bricker

    The way i know is, putting some AliasMatch in the conf-file of Apache like
    AliasMatch ^/help/(..*) "C:\help/$1"And then use WEB.SHOW_DOCUMENT with this virtual path
    WEB.SHOW_DOCUMENT('//help/helpfile.html', '_blank');

  • Print html document

    Hi, I'm trying to print a html document with this following java code but doesn't works:
      public void onActionPrintEncuestaPDF(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionPrintEncuestaPDF(ServerEvent)
         try{
              Robot robot = new Robot();
              // Ctrl+P
              robot.keyPress(KeyEvent.VK_CONTROL );          
              robot.keyPress(KeyEvent.VK_P );          
              robot.keyRelease(KeyEvent.VK_CONTROL);
              robot.keyRelease(KeyEvent.VK_P );
              Thread.sleep(500);
              //Alt+U
              robot.keyPress(KeyEvent.VK_ALT );
              robot.keyPress(KeyEvent.VK_U );
              robot.keyRelease(KeyEvent.VK_ALT );
              robot.keyRelease(KeyEvent.VK_U );
              Thread.sleep(500);
              //entrée
              robot.keyPress(KeyEvent.VK_ENTER);
              robot.keyRelease(KeyEvent.VK_ENTER );
              Thread.sleep(500);
         catch(Exception e){  }
        //@@end
    This is not working because java.awt.Robot is a part of AWT package and intended for the client site, how I can make an action that when the
    client push the print button. Print the html document automatly.
    Regards,
    Gabriel

    I create into KM Content on portal a file called print.html and I put the following code:
    &#65279;<html>
      <head />
      <body onLoad="window.parent.focus(); window.parent.print();">
      </body>
    </html>
    Because window.paren.print(); printed the code of actual iFrame. And into Web Dynpro I created a button that call the following function.
    public void onActionPrintEncuestaPDF(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionPrintEncuestaPDF(ServerEvent)     wdContext.currentPrintElement().setAtrURL("/irj/go/km/docs/documents/print/print.html");
       //@@end

  • How can I embed a HTML document onto my webpage?

    What I am trying to do: I am trying to make an image that has links to urls from different parts of the image.
    What I have done so far: I have built a photoshop image to embed on my webpage, following the instructions offered by many online forums, but cannot actually embed it as it isn't a url.
    Firstly, I sliced up an image, adding url's and alt tage etc to each slice. Then I did:
    File > Save for web > (Prest: JPEG High) > Save > (entered my file name) Format: HTML and Iamges > Save
    When I locate my file where I saved it, it has been saved as a Chrome HTML Document, but I can't then embed this on my website, using the 'embed code' tool I normally use. I presume this is because it doesn't begin with http:// ?
    Here is the HTML document I have made: file:///C:/Users/Daniel/Desktop/UK%20map%20interactive/Afternoon/UK-map-locations.html
    (If you can see this) This is the image I want and the links are working too but it's getting this onto an existing webpage.
    Other pages I have seen have talked about iamge maps, but I take it using the slice tool is better for what I am trying to acheive?
    Any suggestions/help would be greatly appreciated.

    One: Users can't see links on your local desktop. You would have to upload the files somewhere. Two: Images generally don't contain links. URLs are meta information build around the image in HTML. Three: Because of the previous point, whether you use sliced images or an image map doesn't matter, if you have no way of inserting the information into the native HTML structure of the web pages. If at all, you would open the HTML file in a suitable editor like Dreamweaver (or even a basic text editor) and copy&paste it into the web page sourcve code, but you'd still have to upload the image(s). The rest we can't know. You have not provided any link to the web site or told us which hosting provider you use. From your description it sounds like one of those "free" providers that restrict user's options to customize to the bare minimum and the rest is based on templates and plastered with advertising. In any case, the solution is not in Photoshop and you would have to read up on web design basics, HTML, CSS and al lthat on a more general level or review your hosting provider's guides on how to set all this up.
    Mylenium

  • Document types show up twice when creating a new blank HTML document.

    I followed the below instructions for getting HTML 5 as a document type option  on CS4. Although I do have HTML 5 as an option now, my other stock CS4 document type options now show up twice in the menu. Any idea how to fix this?
    To add the HTML document type, however, you need to modify the file named MMDocumentTypeDeclarations.xml. Here’s how to do that:
    1. Find the configuration folder then navigate to the documenttypes folder. The Configuration folder can be found under the folder where you installed Dreamweaver.
    2. Find and make a backup copy of MMDocumentTypeDeclarations.xml (MMDocumentTypeDeclarations.xml.bak)
    3. Open MMDocumentTypeDeclarations.xml in your favorite text editor. If anything goes wrong, you can always get back to the default state by replacing your changes with the backup copy.
    4. Go to the end of the document and find the </documenttypedeclarations> tag and add the following lines just before the </documenttypedeclarations> tag:
    <documenttypedeclaration id="mm_html_5">
    <title>
    HTML5
    </title>
    <doctypedecl>
    <![CDATA[<!DOCTYPE HTML>]]>
    </doctypedecl>
    <rootelement>
    <![CDATA[<html></html>]]>
    </rootelement>
    <dtdcontext>html</dtdcontext>
    <dtdcontext>html5</dtdcontext>
    <dtdcontext>frameset_frame</dtdcontext>
    <dtdcontext>xslt</dtdcontext>
    </documenttypedeclaration>
    5. Save the document
    6. Restart Dreamweaver
    You should now have an HTML5 document type option when you create a new document.
    There was an issue with Dreamweaver CS4 that needed to be fixed in code to fully support HTML5 documents which is why upgrading to CS5 was recommended. In CS4, Dreamweaver’s definition of a well formed HTML document has a meta content type which isn’t required for HTML5 documents so, no matter what we do to CS4, any HTML document created by CS4 will have the following:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    Replace that line with this:
    <meta charset=utf-8">
    You’ll need to do this every time you create a new HTML5 document.
    Once you finish go to Preferences New Document and select HTML5 as default Doc Type...
    Thanks to:
    What I did was create a snippit of the meta and added it to my snippit's meta folder
    Jeff Booher
    Dreamweaver Engineering
    Thanks for your feedback. 

    Hi,
    I have done a test and I can reproduced your issue.
    I referred to the blog about Automatically create Word documents which include list fields:
    http://blogs.technet.com/b/brenclarke/archive/2009/04/15/automatically-create-word-documents-which-include-list-fields.aspx
    When I create a multiple line of text column in a list, I just choose Plain text, Then I solved the issue:
    Besides, here is a similar post, you can take a look at:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/a7ab3a61-6643-4a47-a464-fe46b5db1558/rich-text-field-showing-html-code
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • FM FOR GENERIC EXTRACTION

    Hi all, Please go thru this link(I know its pain, but thanks). It is the question i had. ERDAT or AEDAT Many people contributed towards the problem. BUt still i had a few doubts, which were left unanswered. Siggi came up with a solution for me, in wh

  • Service not failover on RAC 11.2.0.3 environment

    Hi now i am testing how the 11.2.0.3 RAC will behave with Redhat 5.7. then, i found the rac service will not failover to other node which added with "-r" available option i have made service with this command "srvctl add service -d xxxdb -s srv_p01 -

  • Internet connection problem

    i have written a program which uses ftp to transfer files to a server, this works fine. I have an upload button , which, if i already have a connection established works. But....if the connection is not established before the upload button is pressed

  • Problem since updating v5.5

    My Captivate 5.5 has been working fine until yesterday when I updated the software. Now copying any object to the clipboard immediately crashes the program. Since I use copy/paste all the time, this is a big problem for me. Has anyone else reported t

  • IPad email question....

    Why does my iPad mail go to the oldest email rather than to the top where the new email is?