Compiling my first servlet page

Hi,
Im not able to compile my servlet.The servlet code is in desktop\java.The servlet.jar is in c:\program files \ apache tomcat 4.0\common\lib
when i give this command
javac HelloServlet.java -classpath " c:\--------" it is not working.I dont know whether this is correct.Please help me out.

Adding the servlet.jar to tomcat won't make the java compiler know where it is unless the code is called from an application in the web container.
use javac -cp "filename"
Otherwise I'd suggest you'd get an IDE to which you add the jar and then compile using the IDE.
Don't waste your time with javac!

Similar Messages

  • Can't compile my first servlet program

    hi guys,
    there are some problems with compiling the first servlet program(helloservlet).
    the error is following
    C:\SERVLET-CODE\hello1>javac HelloServlet.java
    HelloServlet.java:4: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    HelloServlet.java:5: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    HelloServlet.java:15: cannot resolve symbol
    symbol : class HttpServlet
    location: class HelloServlet
    public class HelloServlet extends HttpServlet {
    ^
    HelloServlet.java:16: cannot resolve symbol
    symbol : class HttpServletRequest
    location: class HelloServlet
    public void doGet(HttpServletRequest request,
    ^
    HelloServlet.java:17: cannot resolve symbol
    symbol : class HttpServletResponse
    location: class HelloServlet
    HttpServletResponse response)
    ^
    HelloServlet.java:18: cannot resolve symbol
    symbol : class ServletException
    location: class HelloServlet
    throws ServletException, IOException {
    ^
    6 errors
    i don't know why it can not find the import java.*
    and i already set up the classpath
    and my code is
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /** Simple servlet used to test server.
    * <P>
    * Taken from More Servlets and JavaServer Pages
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.moreservlets.com/.
    * &copy; 2002 Marty Hall; may be freely used or adapted.
    public class HelloServlet extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String docType =
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n";
    out.println(docType +
    "<HTML>\n" +
    "<HEAD><TITLE>Hello</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>Hello</H1>\n" +
    "</BODY></HTML>");
    please help me out of it...
    thank you all...

    hi man,
    thanks for the classpath, and i already did it in system environment.
    but it can not work either...
    do i really have to download the API, so where i have to put it after i download it...

  • Errors when compiling my first jsp page in JDev. Help please....

    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    HI everyone in my page.jsp at the line shown above is mark as error and the and the code assists help propose me to:-
    1) install jsp tag library
    2) Remove unused tag directive
    If i do the second i get two more errors. which are
    1) OrionHttpJspPage not found in class _untitled1
    2) method getPageContext(_untitled1, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, null, boolean, int, boolean) not found in class javax.servlet.jsp.JspFactory
    Can anyone help me plz how to do the install jsp tag library and what are the library to install and how to do it thanks a lot
    Am really new to ADF and JSF.
    Thanks a lot
    Lutchumaya

    Add the Customizable Components Core library to classpath.
    To deploy to a web application WAR file add the Customizable Components Core library to WEB-INF/lib.

  • Compiling my first servlet

    I tried to compile HelloWorldServlet.java(taken from sunexamples) stored in JavaWebServer2.0\servlets.
    I have JavaWebServer2.0 and have included servlet.jar in my environment variables.
    I was getting an error can't find class sun/tools/javac/main.
    Then,I took tools.jar from my jdk1.3, and pasted in JavaWebServer2.0\lib and included tools.jar in environment variables.
    Now I get errors:
    java.lang.NoClassDefFoundError:java/util/ArrayList
         at sun.tools.util.CommandLine.parse(Compiled Code)
         at sun.tools.javac.Main.compile(Compiled Code)
         at sun.tools.javac.Main.main(Main.java:729)
    PLEASE HELP ME.
    Is it wrong to copy-paste tools.jar?How can I compile?

    Here is part of a batch file I use for my command line compiling.
    SET JAVA_HOME=C:\jdk1.3.1_09
    SET CLASSPATH=.;C:\jdk1.3.1_09\lib\jt400.jar;C:\jdk1.3.1_09\lib\tools.jar;C:\jdk1.3.1_09\lib\classes12.zip;C:\jdk1.3.1_09\lib\jregex1.2_01.jar
    SET PATH=c:\jdk1.3.1_09\binCreate a file with extension .bat and add this. Make changes to your jars and directories as needed.

  • First OAF page deployment - many questions

    I am trying deploy my first OAF Page (HelloWorldPG). However, I am getting lost trying to understand the directory
    structure. I tried to read through older posts from other users....but parts of their directory structure is different
    from mine.
    Development Steps:
    1) Created new OA component page using the default package "oracle.apps.ak.hello"
    The Physical location of the page is C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui
    I notice that it is also located under C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui. why does it get created in both myprojects and myclasses?
    2) Created and attached the controller class (HelloWorldMainCO.class) as suggested in the dev guide
    Physical location of the class file is C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui
    3) Build and run the page. Page runs with out any errors
    Deployment steps(This is where I feel like I am running in circles...)
    1) I manually created a directory structure "/hello/webui" under $JAVA_TOP/oracle/apps/ak since I thought that it should match what I had on my PC. Is this step of creating the directory structure manually even needed?
    2) Then I migrated:
    a)"HelloWorldPG.xml" into $JAVA_TOP/oracle/apps/ak/hello/webui from C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui
    as ASCII after ftp'ing into in my UNIX via command prompt
    b) "HelloWorldMainCO.class" into $JAVA_TOP/oracle/apps/ak/hello/webui from C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui
    as Binary after ftp'ing into in my UNIX via command prompt
    3) I tried to import the page/region in to the DB using the following command in the command prompt from C:\JDEV\jdevbin\jdev\bin
    import C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui\HelloWorldPG.xml -username apps -password <password> -rootdir C:\JDEV\jdevhome\jdev\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.xx.x.xxx)(PORT=1521))(CONNECT_DATA=(SID=<xxxxxx>)))" -rootPackage /oracle/apps/ak/hello
    Import seems to have completed successfully without any errors. However, I am not sure if I gave the correct rootpackage or not.
    JDR_% tables seem to be updated. I can vouch for only the JDR_PATHS table as only that seems to have the creation date.
    PS: In the above import statement, I masked (only for this post) the password, ip address and the SID for security reasons. I am confident that what I used when importing is accurate.
    4) At this point should I be able to run procedure shown below?
    Begin
    jdr_utils.PrintDocument('/oracle/apps/ak/hello/webui/HelloWorldPG');
    End;
    or should I first create the AOL function/attach it to the menu and then run the above?
    I tried running it, with out creating the AOL Function and attaching the menu. It comes back with the message "Error: Could not find document /oracle/apps/ak/hello/webui/HelloWorldPG".
    5) Then I created the form function called "TOOLBOX_HELLO" with following:
    Type = SSWA jsp function
    HTML Call = "OA.jsp?page=/oracle/apps/ak/hello/webui/HelloWorldPG"
    Now I don't know which menu to add the AOL Function.
    As I mentioned earlier, I tried to read through several other older posts....however, I am getting confused.
    There are multiple places in the above steps where I need guidance. Could any one pls. suggest/correct my steps in deployment?
    Thanks

    Hi there,
    1) Created new OA component page using the default package "oracle.apps.ak.hello"
    The Physical location of the page is C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui
    I notice that it is also located under C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui. why does it get created in both myprojects and myclasses?
    The folder myclasses holds the .class compiled object files you deploy, the myprojects folder holds the .java source files.
    2) Created and attached the controller class (HelloWorldMainCO.class) as suggested in the dev guide
    Physical location of the class file is C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui
    3) Build and run the page. Page runs with out any errors
    Deployment steps(This is where I feel like I am running in circles...)
    1) I manually created a directory structure "/hello/webui" under $JAVA_TOP/oracle/apps/ak since I thought that it should match what I had on my PC. Is this step of creating the directory structure manually even needed?
    Yes. This allows your code to be separate from seeded code so it isn't overwritten on patches.
    2) Then I migrated:
    a)"HelloWorldPG.xml" into $JAVA_TOP/oracle/apps/ak/hello/webui from C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui
    as ASCII after ftp'ing into in my UNIX via command prompt
    b) "HelloWorldMainCO.class" into $JAVA_TOP/oracle/apps/ak/hello/webui from C:\JDEV\jdevhome\jdev\myclasses\oracle\apps\ak\hello\webui
    as Binary after ftp'ing into in my UNIX via command prompt
    3) I tried to import the page/region in to the DB using the following command in the command prompt from C:\JDEV\jdevbin\jdev\bin
    import C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\ak\hello\webui\HelloWorldPG.xml -username apps -password <password> -rootdir C:\JDEV\jdevhome\jdev\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.xx.x.xxx)(PORT=1521))(CONNECT_DATA=(SID=<xxxxxx>)))" -rootPackage /oracle/apps/ak/hello
    Import seems to have completed successfully without any errors. However, I am not sure if I gave the correct rootpackage or not.
    JDR_% tables seem to be updated. I can vouch for only the JDR_PATHS table as only that seems to have the creation date.
    PS: In the above import statement, I masked (only for this post) the password, ip address and the SID for security reasons. I am confident that what I used when importing is accurate.
    4) At this point should I be able to run procedure shown below?
    Begin
    jdr_utils.PrintDocument('/oracle/apps/ak/hello/webui/HelloWorldPG');
    End;
    Yes, that will show you that it was loaded into mds. This is only for diagnostic purposes, not always required.
    or should I first create the AOL function/attach it to the menu and then run the above?
    You can now to do the AOL function.
    I tried running it, with out creating the AOL Function and attaching the menu. It comes back with the message "Error: Could not find document /oracle/apps/ak/hello/webui/HelloWorldPG".
    5) Then I created the form function called "TOOLBOX_HELLO" with following:
    Type = SSWA jsp function
    HTML Call = "OA.jsp?page=/oracle/apps/ak/hello/webui/HelloWorldPG"
    Now I don't know which menu to add the AOL Function.
    As I mentioned earlier, I tried to read through several other older posts....however, I am getting confused.
    There are multiple places in the above steps where I need guidance. Could any one pls. suggest/correct my steps in deployment?
    You need to bounce the apache server on the middle tier to get it to work.
    Hope this helps.
    Kristofer

  • Compile java applications,servlets etc.

    I am a newbie to java...what do i need to compile java applications,servlets etc.

    first you need java developers kit(jdk)
    download it
    then r.click on my computer and take it's properties
    go to advance properties
    go to envirinment variable
    set variables
    JAVA_HOME set to directory where you installed jdk
    CLASS_PATH set to the bin in your jdk
    then write a java class and save somewhere as .java file
    go to command prompt
    change directory to where you save java class
    and use javac (yourjavafilename) .java command to compile it
    wish you all the best

  • Having problem in compiling and deploying servlet

    please tell me about environment variable because i m totally confused.i want to know why do i need to set environment variable.and how would it help me to compile and deploy my first servlet.
    i also want to know about Class path and path.
    please tell me this.
    i'll really appreciate

    thanks a lot.
    i got my first servlet compiled deployed and run.
    thanks againYou are welcome. If you think it really help, you can assign duke star to me :)
    Good luck to your web application.

  • My First servlet error-HTTP Status 500

    Recently Installed apache-tomcat-5.5.27 ,I followed one documentation when i googled for a while like is here [http://linux-sxs.org/internet_serving/c292.html]
    when i try to access from web-browser ,it came up with errors like
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1876)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:889)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1353)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.Here is the directory structure
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF/classes
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF/libI placed web.xml file in WEB-INF directory and HelloWorld.class in WEB-INF/classes and MyFirst.xml in /opt/apache-tomcat-5.5.27/conf/Catalina/localhost/
    the files typically contains
    web.xml
    <?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>HelloWorld</servlet-name>
            <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
            <servlet-name>HelloWorld</servlet-name>
            <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    </web-app>
    HelloWorld.java
    // Filename : HelloWorld.java                                                                                                                               
    // Description : This servlet merely says hello!                                                                                                            
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet {
        public void doGet ( HttpServletRequest request, HttpServletResponse response )
            throws ServletException, IOException    {
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            out.println("<html>");
            out.println("<head><title>Hello, Cruel World!</title></head>");
            out.println("<body>");
            out.println("<h1>Hello, Cruel World !</h1>");
            out.println("This is my first servlet.");
            out.println("</body>");
        }// end doGet                                                                                                                                           
    }///:~
    MyFirst.xml
    <!-- MyFirst Context -->
    <Context path="/MyFirst" docBase="MyFirst" debug="0" reloadable="true"/>anybody have idea about this error...

    miriyalasrinivas wrote:
    java.lang.UnsupportedClassVersionError: Bad version number in .class fileThe class is compiled with a JDK version which is newer than the JRE version used to run the class. To solve this, just clean up your Java environment and align the versions. You can get version information of the Java compiler using javac -version and of the Java runtime using java -version.
    That said, this problem is actually not related to servlets. You didn't get a root exception of javax.servlet package. You just got a root exception of java.lang package, which basically makes it a Java SE problem. Questions related to those actually belongs in the 'New to Java' forum.

  • Trying to run my first servlet through Eclipse + XAMPP

    I'm trying to run my first servlet through eclipse, I'm using XAMPP + Tomcat add-on as my webserver. How do I even try and compile my servlet? I've added the external jar Servlet-api.jar to my project as stated in here, http://www.theserverside.com/discussions/thread.tss?thread_id=37924
    But eclipse wouldn't compile it, because there just isn't a main() in my servlet program..
    Do I need to install the WPT plugin for eclipse? I'm guessing I'm not setting my CLASSPATH correctly - Do I need to set it up manually?

    Nevermind, there were lots of Issues going the XAMPP way, so I just installed Tomcat separately and all is fine now.
    I used instructions from http://www.scribd.com/doc/495993/Installing-Apache-Tomcat-6-and-Using-It-With-Eclipse and it was a walk-in-the-park..

  • Java Servlet page not opening error 404

    Hi!
    I am working with servlets. I compiled the java file and the class file is been moved to
    c:\javawebserver2.0\servlets, and the html files moved to public_html. Html files r opening
    the classpath is mapped to jsdk.jar i.e
    set CLASSPATH=c:\javawebserver2.0\lib\jsdk.jar
    Built-in samples r working without any problem
    when i try to run the servlet
    Page Not Found error 404 occuring
    Please do the favour for me
    thanks

    404 Not Found means you didn't deploy the app properly.
    I think deploying an app like this is a terrible idea. If you have more than one app deployed on a production web server/servlet engine, you wouldn't want to put them all in the same place. "public_html" and the generic "servlets" directory shouldn't be used as dumping grounds for all your apps.
    Learn how to deploy using a WAR file. It'll keep all your apps separate and their constitutive parts together.
    Why Java Web Server? I don't think anyone uses it seriously anymore. Tomcat is the reference implementation of the servlet/JSP specs. I'd download that and use it instead of JWS. JMO, of course.

  • How do I get Firefox to print the entire web page instead of truncating when it gets to end of first print page?

    Firefox 3.6.8, Windows XP Pro
    Frequently when I try to do a print of a web page, I end up printing only whatever fits on the first printed page. Instead of continuing to later pages as needed, the rest of the displayed web page is simply ignored.

    See Tools > Options > General > Startup: "When Firefox Starts": "Show my home page"

  • R/3 connection from servlet page

    Helllo,
    I have implemented a servlet page from SAP NetWever Developer Studio:
      1 - J2EE -> Web Module Project for the development
      2 - J2EE -> Enterprise Application Project (EAR) for the deploy
    Now I need to access to the R/3 system. It is possible connect to R/3 system from a servlet page? In the portal already exists a system connection created under the section "Syatem Administration -> System Configuration" but I'm trying to implement the connection unsuccessfully (following the Java code used into the servlet):
    String sapSystem = "MNT";
    IUserAccount uacc = UMFactory.getUserAccountFactory().getUserAccountByLogonId("Administrator");
    IUserAccount iuacc = UMFactory.getUserAccountFactory().getMutableUserAccount(uacc.getUniqueID());
    IUser user = iuacc.getAssignedUser();
    IConnection connection = null;
    // get the Connector Gateway Service
    IPortalComponentRequest req = (IPortalComponentRequest) request;           => HERE Casting error
    Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
    IConnectorGatewayService cgService = (IConnectorGatewayService) connectorservice;
    ConnectionProperties cp = new ConnectionProperties(user.getLocale(), user);
    connection = cgService.getConnection(sapSystem, req);
    String res = "", name = "", path = "";
    // Get the Interaction interface for executing the command
    IInteraction ix = connection.createInteractionEx();
    // Get interaction spec and set the name of the command to run
    IInteractionSpec ixspec = ix.getInteractionSpec();
    String functionName = "Z_R3_FUNCTION";
    // Put Function Name into interaction Properties.
    ixspec.setPropertyValue("Name", functionName);
    // return structure - parametro di export della funzione
    String function_out = "P_PAR";
    String function_in_value = "VALUE";
    RecordFactory rf = ix.getRecordFactory();
    MappedRecord input = rf.createMappedRecord("input");
    // put function input parameters
    input.put("P_KUNNR", function_in_value);
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    connection.close();
    Object result = output.get(function_out);
    Anybody knows how implement it?
    Thanks and best regards,
    Matteo.

    Hello Marcos,
    I have followed the example shown in your link, I have found all JAR file, the Java code has not error, I hace deployed my project, but the server returns the error:
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [/opt/java1.4/jre/lib/IA64W:/opt/java1.4/jre/lib/IA64W/server:/opt/java1.4/jre/../lib/IA64W:/usr/sap/PCT/JC00/j2ee/os_libs::/usr/sap/PCT/JC00/j2ee/os_libs:/usr/sap/PCT/SYS/exe/run:/usr/sap/PCT/SYS/exe/run:/usr/sap/PCT/SYS/exe/run:/oracle/PCT/sapdata4/SP24/LOGS/J2EE/sapinst_exe.252.1243940833:/usr/lib:/usr/sap/PCT/JC00/j2ee/os_libs:/usr/sap/PCT/JC00/j2ee/os_libs:]
    I have notice that into the folder "C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.mw.jco\lib" there is the file sapjcorfc.dll
    Do you know if I have to put JAR into a particular folder into my project, or I have to do some configuration on the server?
    Thanks and best regards,
    Matteo

  • Creating PDFs using Adobe Acrobat 9 Pro and can only see the first 10 pages in PDF even when the page numbers on bottom state 10 of 13 (or any number greater than 10).

    PDFs create great, unless they should be over 10 pages and then it appears the data was converted to PDF by viewing the page numbers at the bottom of the PDF but you can only view the first 10 pages in the pdf file.

    Hi stephaniec0103,
    Could you please let me know what exact dot version of Acrobat 9 and OS you are using.
    Have you tried repairing Acrobat from the Help menu?
    Acrobat 9 is an older version and incompatible with new OS versions, so I would suggest you to try using Acrobat XI (latest version) and check for the same.
    You may download a 30-day free trial version of Acrobat from the below mentioned link:
    Download Adobe Acrobat free trial | Acrobat XI Professional
    Let me know how it goes.
    Regards,
    Anubha

  • Using iWork 09 Pages I need the first six pages of a document to not be counted as page numbers. I need the seventh page to be numbered as page one. I already know to have a section break between pages 6 and 7 and to use inspector "start at." Not working

    In the book I'm formatting, the first page is the title page, the second page is the copyright page, the third through fifth pages are the table of contents, the sixth page is blank, then the text (which I want to number as page one) is the introduction. I have section breaks between the title page, the copyright page, the table of contents, and the introduction. Using the Inspector, Layout, Section, and selecting "Start at" 7 doesn't do anything!

    Is is a bit tricky, but it works. On your 6th page (the blank one) go to Insert > Section Break. This will give you a 7th page. Then go to Inspector (blue circle with a white letter i in it) and go to Layout Inspector (2nd tab). Once in thee, go to Section. Check "Start at" and enter the number 1. Then ensure all other toons I there are unchecked.
    Then go to Insert, and select Auto Page Numbers. You will find that your 7th page is numbered 1 as you want, but the first six pages will be numbered 1 to 6, which you don't want. But you can then delete the page numbering in that 1st section, leaving your 2nd section, beginning at page 7, numbered as page 1. You'll need to play around a bit as I did, and I would suggest using a test document to play with so you can undo any unwanted actions etc, but with tweaking around, it's doable. This took me ages to sort, so if it works for you, please give me the points :-)

  • Print in PDF only Prints the first two pages

    I am have been ahving problems with my creat PDF account, only printing the first two pages, when i print something to PDF from a webpage.  I.E. Pinterest.  It will only print the first two pages and the rest will be blank or incomplete.  I am at the end of my rope and dont know how to fix it.  I recently got Acrobat 9 standard thinking this may help, but the problem still exists, which irritates me more.  Please help!

    Try here: http://forums.adobe.com/community/createpdf
    There people who use CreatePDF on a daily basis there, who know much more about it .

Maybe you are looking for