Can we run a servlet application on mobile?

Hi,
I'm new to servlets and mobile web as well.
I want to design an application which user can access through mobile and as well as dekstop.
1.) Can we access a web application designed through servlets and JSP via mobile device (e.g, PDA and mobile handphone)?
2.) Do we require to create two "copies" of an application, one for computer based and one for mobile device based?
3) Do we follow some other architecture to design for a mobile enabled web site?
Please share some examples or papers.
Thanks in Advance

Servlet and other stuff were developed for a purpose of viewing web pages on any devices etc. Problem with javascript for example is that it is client-runnable. On the other hand, servlets and JSP run on a server. Users (clients) only get a HTML and nothing more (ok maybe XML and other formats), but they don't run code.
That means that you can view a web app on any device that supports HTML. Of course formating can be set for each device (PC, PDA, mobile, etc).
"U want to say that we can access an web application developed using JSP and servlets for the use of dekstops on Mobile or PDA also.": YES
"Or we have to do the WAP programming for the same.": WAP programming is dead for a few years now :)

Similar Messages

  • Can not run the J2EE application on webless iAS

    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.
    Now I can run the simple servlet sample, but I can not run the Helloworld
    application that I deployed follow the guide. The error message was: socket
    receive error (RecvBuffer 1)

    Don wrote:
    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.Wow, I did not know that iAS support IIS as the web server. I think SP3
    will
    allow you to use Apache as well as iPlanet's web server, but I not think
    IIS is
    supported. Perhaps you should use a supported web server.
    Kent

  • How to run JSP/Servlet applications on Apache?

    As we all know that tomcat is an JSP/Servlet engine. Apache is a web server not a JSP/Servlet enabled web server. Then in order to run JSP/Servlet applications on Apache web server on unix, what should I do?
    Thanks.
    James Liu

    Can you give me some detailed information about how to combine Apache and Tomcat? Note, the application is going to run on Sun Solaris Operating System.
    By the way, where do you put your final version of application? on windows or on Unix? on tomcat or on apache?
    I am building the application using tomcat on windows, but now I almost finished the application, so I decide to move it to Unix which uses apache as the web server. But I got problems, the Servlet engine (JServ) can not understand "RequestDispatcher" (an object used to redirect jsp pages).
    Help please.
    James

  • How can I run a java-application on starting of Windows 2000

    How can I run a java-application without any user on starting of Windows 2000?
    For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
    How can I do that?

    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.

  • Can we run a java application using Runtime.exec()?

    Can we run a java application using Runtime.exec()?
    If yes what should i use "java" or "javaw", and which way?
    r.exec("java","xyz.class");

    The best way to run the java application would be to dynamiically load it within the same JVM. Look thru the class "ClassLoader" and the "Class", "Method" etc...clases.
    The problem with exec is that it starts another JVM and moreover you dont have the interface where you can throw the Output directly.(indirectly it can be done by openong InputStreams bala blah............). I found this convenient. I am attaching part of my code for easy refernce.
    HIH
    ClassLoader cl = null;
    Class c = null;
    Class cArr[] ;
    Method md = null;
    Object mArr[];
    cl = ClassLoader.getSystemClassLoader();
    try{
         c = cl.loadClass(progName.substring(0,progName.indexOf(".class")) );
    } catch(ClassNotFoundException e) {
    System.out.println(e);
         cArr = new Class[1] ;
         try{
         cArr[0] = Class.forName("java.lang.Object");
         } catch(ClassNotFoundException e) {
         System.out.println(e);
         mArr = new Object[1];
         try{
         md = c.getMethod("processPkt", cArr);
         } catch(NoSuchMethodException e) {
         System.out.println(e);
         } catch(SecurityException e) {
         System.out.println(e);
    try {            
    processedPkt = md.invoke( null, mArr) ;
    } catch(IllegalAccessException e) {
              System.out.println(e);
    } catch(IllegalArgumentException e) {
              System.out.println(e);
    }catch(InvocationTargetException e) {
              System.out.println(e);
    }catch(NullPointerException e) {
              System.out.println(e);
    }catch(ExceptionInInitializerError e) {
              System.out.println(e);
    }

  • Can't run iTunes, Apple Application Support program missing.

    Can't run iTunes, Apple Application Support program missing.  It's a brand new computer, never had iTunes installed.  I've attempted 16 installs, each time uninstalling the previous install and verifying no Apple software installed before trying again; I've also been using different browsers, still no luck.  Windows 7, 64 bit.

    Try downloading 7-Zip (free), or a free trial of WinRAR, and unpack the iTunesSetup.exe or iTunesSetup64.exe file into its components then try installing them individually in alphabetical order (don't try to install SetupAdmin.exe or iCloud.msi). AAS might not install right now, but you may get a more useful error message as to why not, or it might install once the other components have been installed.
    tt2

  • Can we run 32 bit application over 64 bit windows server 2012 ?

    Can we run 32 bit application over 64 bit windows server 2012 ?

    Hi,
    Thanks for your question.
    Since the two cases that you posted are the same, I will merge them so that you can get a better assistance. Thanks for your understanding
    and support.
    In addition, according to your question, it depends on the applications. Some applications designed for the 32-bit version of Windows
    will work on the 64-bit version of Windows, but some are not. Before you install the application, you’d better check if it is compatible with 64-bit version of Windows Server 2012.
    Best regards,
    Susie

  • I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.

    I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.  It also won't close without using "Force Quit." When I access it in Force Quit it's listed as not responding. I am getting the messase that my start-up disc is full, but I can't assess the status without using the activity monitor app. Thanks for any assistance you can give. -F.J.

    Welcome to Apple Support Communities
    If your hard drive is full, you have to delete files. Open Finder, search in all your user's folders and delete files that you don't need, or move them to an external drive.
    When the hard drive is full, OS X works slow and applications may freeze, so I wouldn't be surprised if this is the reason why Activity Monitor isn't working

  • How can i run my form application on the other site?

    how can i run my form application(already compiled) on the other computer without developer/2000 environment?
    What should i do ?
    Thanks in advance!

    Well you have to install ORACLE developer runtime on your client side. then just copy your complied forms (fmx) files to your client machine and set it up to run.
    Hope this helps
    Faisal

  • How can I run a servlet with Sun Java System Application Server PE 8?

    I've created a package with a TestServlet.class inside, used the deploytool to create a WAR and deployed this using the autodeploy folder.
    The filestructure has been generated and I find the TestServlet.class in
    [installdir]\domains\domain1\applications\j2ee-modules\testProject\WEB-INF\classes\[packagefolderstructure]\TestServlet.class.
    The context root is working fine, but I have no clue how I can run the servlet directly via the URL.
    I've tried many things like
    http://localhost:8080/testProject/TestServlet
    http://localhost:8080/testProject/servlet/TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithpoints]TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithslashes]TestServlet
    etc etc
    Can somebody tell me please how to write URLs to deployed servlets? Or send me an example url and xml descriptor files?
    Thanks a lot in advance!

    in web.xml use servlet mapping
    <servlet-mapping>
        <servlet-name>TestServlet</servlet-name>
        <url-pattern>/doit</url-pattern>
    </servlet-mapping>then use http://localhost:8080/testProject/doit

  • How can we implement a j2me application on mobile phone

    Hello to All
    I am working on j2me and made a application that is online ticket booking for cinema hall. it is running on j2me wireless toolkit . Now i want to run this application on mobile. and how can be access this application by every the user who have java enabled mobile phone.i want to know that it may be access through internet suppose se have upload this application on our server.
    Thanks in advance
    Mukund

    I have been having problems in implementing a simple application that fetches information from a server to a mobile phone, then using OTA midlet capabilities.
    Have you got any code that you have tested on the device rather then on the emulator only?
    All the samples i have used from books and online sources didnt work with my server.
    The midlet simply asks for connection and then it gets stuck without displaying anything.
    Please gimme some hints :)

  • Can i run 10g & 11g application URL on same machine?

    Our customer need to run two type of our application on his PC: one is developed by Forms 10g and the second is developed by Forms 11g.
    The problem is that to this day he works with 10g only and had use Java 6 to run it (He run it from IE).
    Now, when he try to run application that is developed by Forms 11g he stacked and application don't run.
    When i install Java 7 on the PC - application that is developed by Forms 11g is working fine, but the application that is developed by Forms 10g don't run.
    How can i run both applications on same PC?

    You can run forms 11g on Java 6, why can you not run both on a relatively recent version of Java 6 (ensuring the Forms 10g is patched to latest might be needed).
    Tony

  • Can I run a external application on a Portal Channel

    Can I execute a external application inside a channel or a tab in portal ..
    For example assume i have the calendar application .. Is it possible to have a calendar tab ( I have a calendar channel included into the jsptabcontainer) ..and on clicking the tab ..is it possible to make the calendar application work inside the container..
    Help appreciated
    raj

    Hi everyone,
    Where can I read more on IFRAME provider and channel? Do I need to write one myself? Also could you please suggest where to find info on displaying static html pages. I was able to create tabs and to display html documents but the links to other documents do not work.
    I am a newbie who read through the desktop customization manual. Any advice is highly appreciated.
    Sure it is possible...
    - The easiest way is to create an IFrame channel
    and proxy your application using this channel.
    Make sure this channel is full_top in your tab,
    set IFrame to 100% and you are all set!
    (PS: Make sure this will work with gateway
    if you have SRAP)
    - More challenging would be a "smart proxy channel",
    which will scrapes your application and proxy the
    actions to your web application.
    Cheers,
    Alex :-)

  • Can not run web dynpro application

    Hi,
    im new in developing with web dynpro in java.
    I installed:
    SAP NetWeaver 7.1 Composition Environment SP03 PAT0000 (Netweaver Developer Studio)
    Build id: 200710302120
    and
    SAP NetWeaver 7.0 Java Trial Version (with the application server).
    The WebAS is running and i configured it in the developer Studio in preferences SAP AS JAVA.
    I already developed a little web dynpro application. I want to test this application now.
    I choosed deploy. After this, i clicked on "Deploy new archive and Run"  on the application (followed after the steps of a tutorial).
    After that step i am getting an error (in a popupwindow), which says
    "wrong parameter - http://dmhpnb34:-1/webdynpro/dispatcher/local/Welcome/WelcomeApp?SAPtestId=8" ?
    Does anybody know what this error means ?!

    Hello
    I already developed a little web dynpro application
    have you developed the application in another version or the same which you mentioned in your post
    if you developed in any other version , try to create everything from scratch in the newer version and then try to deploy again
    Regards
    Chaitanya.A

  • PLEASE HELP Can't run my servlet url-pattern with Tomcat

    Hi I'm trying to run servlet with Tomcat.
    I have don the servlet with tomcat ide abd its runnig ok with Forte with the internal Tomcat
    When I'm runing it with external Tomacat its not running at the url that I have given in the web.xml
    web.xml file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>ClaimsServlet</servlet-name>
    <servlet-class>ild.claims.ClaimsServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>LoginServlet</servlet-name>
    <servlet-class>ild.claims.LoginServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ClaimsServlet</servlet-name>
    <url-pattern>/ild/claims/claims</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>LoginServlet</servlet-name>
    <url-pattern>/ild/claims/LoginServlet</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    90
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>
    default.jsp
    </welcome-file>
    <welcome-file>
    index.html
    </welcome-file>
    <welcome-file>
    index.htm
    </welcome-file>
    </welcome-file-list>
    </web-app>
    if I runnig the url: /ild/servlet/ild/claims/ClaimsServlet
    its running
    but //ild/claims/claims
    I got: The requested resource (/claims/claims) is not available.
    Thanks for help
    Snir

    Do you have to use <url-pattern>/ild/claims/claims</url-pattern>
    or you can use <url-pattern>/claims</url-pattern> ?

Maybe you are looking for

  • Using Escape as a hot key?

    Hi Guys, I am working on an application where we are running into some inconsistencies in the use of our hotkeys that makes it confusing for the end user (some pages alt-c triggers "continue", and sub pages that do not contain the continue button it

  • Extraction of Specification from oracle reports

    Hi, I am currently working with Oracle 10g Reports .I need to extract specifications from Oracle Reports which is in RDF format .Looking for tools or API for extracting specification.Kindly anybody tell me from where i can get this tool or API.If no

  • Merged Projects in Robohelp 10

    When I publish my master project in IE(8 or 9) using Robohelp 10, the child projects do not appear in the TOC. However, if I open the published master project in Mozilla Firefox, the child projects do appear. My office only supports IE. Is there a so

  • How Avoid required Field Error message

    I am using JDevelepor 11.1.2.1.0 Version I create a form in ADF table format. In my table composite primary key,(compaycode,division code,branch code, and account code), And i set LOV for these attributes. The problem is that when i set value to comp

  • Copy the Sales order using Bapi

    Hi I am having one sales order which have essential data.i want to copy is SO in to other SO.Is there with u any code through Bapi ..