Creating web pages in java

hi
in the system im developing i need to create html pages as output, im wondering how you would create html links as output as the html code here would create problems with the java println function which uses "" to contain strings.

if you need " in a String thrn you need to 'escape' it (with a '\') just before, so...
String aStringWithQuotes = "Hi there \"Me :-)\"";
would, if you use System.out.println(aStringWithQuotes);
give you..
Hi there "Me :-)"

Similar Messages

  • How to embed 3D models in web page using JAVA?

    Hello
    I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
    I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
    However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
    Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
    M.

    If you use Java-plugin, you can embed Java3D in a web page.
    Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
    I hope this helps.
    Masa

  • Web page in Java

    So I am brand new to Java but I have developed in C++. I dont have alot of experience building websites or webpages. I am starting an individual graduate project for my degree. It involves building a web page that will be hosted by my teacher. My question to you is, Can i use java to do this? Basically I would use java instead of html, if it is possible. If it is, how do I get started. If not, what do you recommend? I figured since I know C++ already, its time for me to learn Java. What better way to do it than with a project. All advice is appreciated. Thank You.

    Basically I would use java instead of htmlBrowsers only understand html. You need to know html to create web pages. What java can help you do is respond to information that users enter into forms on html pages. You can also use java to create an html page to send back to the browser as a response, which the browser will display to the user.
    An html page (HelloWorld.html) is typically a static web page to display a document with no dynamic
    abilty such as submitting a textfield (that a user entered information into such as a password) to the
    server (although you can probably force it to be). Html pages frequently contain forms which users fill out and then submit. Html pages that contain forms were around long before java servlets + jsp's were invented. If you want the user to enter some info, then you have to send an html page with a form on it to the browser. How you create the html page is up to you. It can be a static file on the server which your java code just relays to the browser, or you can use servlets + jsp to retrieve some data from a database and then create an html page on the fly that contains the data, and then send that "dynamically created" html page back to the browser. But no matter how the page is created, the browser receives an html page, which the browser then displays. And the html page will look exatcly the same to the browser no matter how the page was created.
    I am starting an individual graduate project for my degree. It involves building a web page that
    will be hosted by my teacher. My question to you is, Can i use java to do this?Yes, but you are a thousand miles away from being able to do that in java. First, you have to learn the java language, just like you learned C++. You could read a short beginners book on java to get a cursory grasp of the basics. But after you learn some basic java, then you have to learn about a software application written in java called "servlets + jsp". The application "servlets + jsp" gives you the means to do web programming. You will speak to that application using the java programming language. But in order to learn how the application "servlets + jsp" works, you will have to read another book, and servlets + jsp is not an easy application to figure out. You might need a couple of months of studying to achieve your goal, which is a big time comittment for a student, so that is pretty unrealistic. You might be able to read a bunch of tutorials and throw something together, but you won't have any idea what's going on, and you'll probably need a lot of help.
    If you want to get your project done in a reasonable amount of time, you should probably learn php. A beginning php book will teach you the basics of html and forms, as well as teach you how to use databases to store information that users submit, e.g. login names and passwords. In my experience, some php books get you up to speed very quickly in 3 or 4 chapters and teach you to do some neat stuff immediately.
    Another thing you need to consider is: what type of software does your "host" have? If your host doesn't have Tomcat installed, then you can't use servlets + jsp. If you decide to use php as your "server side web programming language", then your host needs to have php installed.

  • How to create web services in java?

    Hi,
    I am a newbie to java webservices. Can anybody tell me how to create web services in java?
    Any tutorial link or step by step doc would be useful.
    Appreciate your help in this regard.
    Thanks in advance.
    naymo01.

    Creating web services in Java appears to depend highly upon the server you intend to use.
    Here's a tutorial: http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html

  • Why use Dreamweaver for create web pages

    Hi I am new in Dreamweaver and I want to know why use Dreamweaver for create web pages?

    Twitter
    http://twitter.com/altweb
    Blog
    http://alt-web.blogspot.com/
    Site
    http://alt-web.com/

  • How to create web pages in Flash?

    Hi,
    I am trying to create a personal portfolio website using Flash CS4.
    Understand that there are a number of ways to create web pages using Flash.
    One way is to create separate swf files for the web pages and load them when the web page is requested.
    Another way is to put the pages in separate frames in the same swf file or to use scenes and use gotoAndPlay().
    Another possible way is to create separate movie clips for the web pages.
    Wonder if anybody can advice the recommended way of creating the web pages.
    Thanks in advance.
    regards,
    ladybug

    there are pros and cons to each approach.  which is best for your situation depends on your specifics.

  • How to create web page same as Struts tiles in OPA?

    Hi,
    How to create web page containing consistent Header,Fotter,left right pannel which embed OPA screen?

    Web Determinations uses Velocity templates to configure the appearance of a paritcular page. You can configure these tempaltes to get the look and feel that you like.
    For more information search for "Oracle Web Determinations Template Reference Guide" in the Oracle Policy Automation Developer's Guide (http://docs.oracle.com/html/E38272_01/toc.htm)

  • Create web service from java code in Jdeveloper 11.1.1.5

    I am try to create web service from java code by default it is connected to Integrated web logic server and generate a
    WSDL like this.
    http://localhost:7101/javaexcel-project1-context-root/MyWebService1Soap12HttpPort.
    please tell me how we can change this local host to our needed Host and how to deploy this web service to web logic server.

    Hi,
    Just right click on your project and deploy it to your application server (Weblogic Server (Not the Integrated server)). {Before that, you have create your Application server connection in the Jdeveloper).
    After deployment open the Admin console of the weblogic server and find your ear of the project.Click on that (Go to the "Testing tab") and you will get the "WSDL" (Concreate wsdl)  and "Test Client" of the Project.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Where do Aperture created web pages exist on .Mac?

    Where do Aperture created web pages exist on .Mac?
    After creating the web galleries I copy the link and view the page in Safari. Where do I see saved pages on .Mac?
    Thanks for any help.
    Dual 2.0 G5   Mac OS X (10.4.8)   17" PowerBook 1.67

    there's a lot of good info in the link referenced above...A simple answer to your question (IMO) is that the pages get created by Ap (look in your iDisk, a folder named "Sites")...now getting it referenced from "homepage.mac.com" is another (mystery) story. In the past two days, I've tried to get answers from .mac support and by the time they get around to looking into the situation (not being able to reference the pages from homepage), the problem is fixed and it works. I suspect there is some directory linkage built that happens during an overnight maintenance routine or something....but the bottom line for what I'm seeing is:
    1) web pages created outside of homepage (from Ap for example) are not immediately available through that server;
    2) they must be added through some other mechanism, but seem to be available the next day
    3) for someone with basic html knowlege, there is probably a way around this, but I wanted something reasonably easy to do...
    I hope this helps...it IS frustrating.
    cheers,
    david
    MP, PB12   Mac OS X (10.4.8)  

  • Web pages in java

    i want to make a web page in java.what r the ways to do this?

    u need one one web server like tomcat, and one servlet.jar and u should about to code servlets, enough u can develop a website

  • Create web page in webdynpro java

    i want to create a web page in webdynpro java like in .net, how can i make a web page i.e. different from a simple webdynpro java page.

    As ayyapparaj told, you can create J2EE application with NWDS. it is purely eclipse platform.
    Go for Web Module Project where you can have JSP and Servlets, create a Enterprise Application out of Web Module and deploy it.
    nikhil

  • Create web service from java class in Jdeveloper 11g

    I have very simple java class which I want to expose as a web service. I am using the Jdeveloper's in-built wizard to "Creat Web Service" from a java class. While doing so when I am selecting a method to be exposed as a web service, I get a error pop-up which says "Failed to load system class."
    I am not able to understand the reson for this error. I tried to do this with a very simple java code too but still no luck!!
    Here is the code:
    public class DownloadFileFromECMWrapper {
    public DownloadFileFromECMWrapper() {}
    public static void main(String args[]){
    DownloadFileFromECMWrapper obj = new DownloadFileFromECMWrapper();
    obj.callDownloadFileFromECM("C:\\shivam\\MyFile.txt");
    public String callDownloadFileFromECM(String filePath){
    System.out.println(filePath);
    return filePath;
    Can someone please help me on this.
    Edited by: 962154 on Sep 28, 2012 2:37 PM

    I have very simple java class which I want to expose as a web service. I am using the Jdeveloper's in-built wizard to "Creat Web Service" from a java class. While doing so when I am selecting a method to be exposed as a web service, I get a error pop-up which says "Failed to load system class."
    I am not able to understand the reson for this error. I tried to do this with a very simple java code too but still no luck!!
    Here is the code:
    public class DownloadFileFromECMWrapper {
    public DownloadFileFromECMWrapper() {}
    public static void main(String args[]){
    DownloadFileFromECMWrapper obj = new DownloadFileFromECMWrapper();
    obj.callDownloadFileFromECM("C:\\shivam\\MyFile.txt");
    public String callDownloadFileFromECM(String filePath){
    System.out.println(filePath);
    return filePath;
    Can someone please help me on this.
    Edited by: 962154 on Sep 28, 2012 2:37 PM

  • Creating Web Services using Java Implementation

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

  • How to create web page containing a text(Information)  in webcenter portal

    Hi
    I want to create a web page containing a text (information)and that should be editable at run time.I am trying the same to achieve through oracle composer but unable to get the required result.
    I am using J developer 11g for creation.

    check
    http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10147/Topic_2.2.htm
    http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_page_editor.htm

  • Create web service using java class

    Hi,
    I created the web service using java class then i deployed this web service in to the weblogic admin server.when i tested this process it is working fine.
    when I tested The generated WSDL to this process in browser(IE). it is not working.
    I need to to invoke this webservice from another BPEL but this WSDL is not working.

    Hi,
    when i created the webservice in jdeveloper by default it is connected to integrated weblogic server and generates this wsdl.
    http://localhost:7101/helloApplication-javaexcel-context-root/MyWebService1Soap12HttpPort?WSDL
    then I deployed this webservice in to the Adminserver.it gives the following URL.
    http://192.168.56.1:7001/extracExcelToCSV-extractExcelToCSV-context-root/ExtractExcelToCSVSoap12HttpPort?wsdl
    This URL is not working but when i tested this process it is working fine.
    It is giving below error when i try to invoke from jdeveloper
    Error while reading wsdl file
    caused by:java.net.connectExcepption :Connection timed out:connect

Maybe you are looking for

  • External Drive Stopped Working

    Hi all, I have an external USB Freecom drive which is self powered - until now it has been mounting with no difficulties but for the last two days it is not mounting at all - I see nothing under /Volumes. I have tried it in both USB ports to no avail

  • Crystal Report with "Sub-groups"

    I'm trying to do a crystal report in .Net 2008 in the following format: Name____Col1_____Col2____Col3____Time ______________________________Dias_Horas_Minutos SUBAREA_a X____test____AAAA____AAAA1____1____2____3 Y____test____BBBB_____BBBB1____3____2__

  • BI roles to allow display of BI Documents

    Hi, I attached a PDF BI document to an infoprovider under BW. I then have a link to this document on my web application. Users having all BI roles can open this pdf document but we have user with lower BI roles who can't open it. Anybody knows how to

  • Restoring original iWeb from iLife CD installation and the iWeb 1.1 problem

    I was thinking of reinstalling the original iWeb from iLife CD and then republish my changes, but didnt want to make matters worst or lose my current iWeb online... Anyone tried this? or any tips?

  • I am getting bills when I'm not buying anything??

    I have had a bill today of over £150 I have definitely not purchased anything on the iTunes Store, App Store,or in app purchases for that matter, can somebody tell me what is happening?