Viewing xsl page in tomcat

i have a login screen code written in xsl . I copied the file into tomcat 4.1.12 and it doesn't display page design but instead the source code
how to enable it to show the page????

You need to write a servlet or jsp page which takes an XML document, and applies the stylesheet to it. You can find examples and sample code to do this on apache's Xalan project page.
http://xml.apache.org

Similar Messages

  • Others cant view my pages (using: TOMCAT 4.1.24 server)

    I create pages.. JSP and regular HTML pages but when i give someone over the internet my IP address to view it the get error. However when i use my ip address instead of http://localhost:8080 i can view the pages. What is the problem???

    I'm using win98.. on a dialup connection. I get myip
    addresss from winipcfg. my ip address is currently
    128.235.11.193 and the address of the page is
    http://128.235.11.193:8080/myfirst.jsp
    or http://...8080/index.jsp (default file that
    comes
    w/ Tomcat)
    thanx again. don't put your ip out there, not a good idea.
    not sure, but dialup isps don't usually permit in coming http requests. I can't tell right now, I'm behind a firewall myself.

  • How to view and use an xsl page in apache tomcat

    how to view and use an xsl page in apache tomcat do i need to configure
    certain files if yes what are they?
    thanks

    actually how do i embed xsl code into jsp and display it at localhost
    do i need to do any configuration before i can view the page

  • View JSP Examples in Tomcat 4

    Hello everyone,
    I will really appreciate your advise on this problem.
    I am not able to run the JSP examples in Tomcat 4. I can see that the document sais:
    These examples will only work when these pages are being served by the ServletRunner. They will not work if you are viewing these pages via a "file://..." URL.
    But I don't know what does that mean. What should I do? How can I view these examples?
    Thank you very much for any advise and for your time.
    Martin

    >
    Normally JSP pages will be executed at server side
    e before serving
    the output to client. But you can see the same file
    using any editor
    or using windows explorer.i.e you are directly viewing
    the jsp page.
    here you are using file protocol. But when you access
    the same page
    using any browser by specifying it's URL for ex:
    http://localhost:8080/myjsp.jsp
    you are using http as protocol to get the required
    page/file.
    Gayam.Srinivasa ReddyHello ,
    My problem is that when I start Tomcat and type in my browser:
    http://localhost:8080/examples/jsp/index.html
    I see the JSP examples. But when I try to click on one of them,
    I get an error like this:
    http://localhost:8080/examples/jsp/num/numguess.jsp
    Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214).......
    ....and so on...........
    root cause
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
         at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)
         at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
         at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)
         at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
    ....................and so on
    Please give me a hint of how to fix this problem.
    Thank you very much for your time and advise!
    Martin
         

  • After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.

    After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live.
    I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script.
    It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted.
    Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with.
    I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them.
    I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script.
    I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS.
    Very disappointed.

    Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.
    I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.
    It doesn't help. The things it says to look for aren't there for me, specifically:
    browser.download.pluginOverrideTypes
    plugin.disable_full_page_plugin_for_types
    I followed the rest of the instructions but it didn't help.
    I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.
    Any other ideas?

  • No scrolling when viewing man pages with Gnome terminal?

    Hi all,
    I have just installed Oracle Solaris 11 on x86. For a long time I've used Solaris 9 on SPARC. I like the new OS, but I'm having a problem viewing man pages with Gnome terminal. When I view a long man page, e.g., "man newfs", I don't get a functional scroll bar on the right hand side of the window. And although the space bar works to advance the page, when I reach the end, it doesn't return to the command prompt. It just beeps, prints "END", and I can only exit by closing the window. Can anyone tell me how to fix this? Suggestions would be much appreciated.
    Many thanks,
    Chris Tidy

    It does sound like you're using "less" instead of more. When you see the "(END)" prompt you can simply type "q" and it will exit back to the command line prompt making it unnecessary to close the window. See the "less" manual page for more detail on the less command. Under Solaris 9 the paging was done with the "more" command. If you set the PAGER environment variiable to "more" the man page will use more and revert to the behavior you'd be used to with Solaris 9. Less erases the text you've already read when you type that final "q" which is a behavior I don't like. I didn't bother to determine if there is a way to fix that with less, I just went back to more. The choice between "more" and "less" is a personal preference.

  • How do I view more pages in the Folio Builder ACV preview?

    I created a folio with an article that has two orientations, but when previewing it only shows the first page. How do I view more pages in the Folio Builder ACV preview?

    You are viewing some very, very old videos. May I suggest watching my lynda.com course?
    http://www.lynda.com/Digital-Publishing-Suite-tutorials/Adobe-Digital-Publishing-Suite-Ess ential-Training/149122-2.html?srchtrk=index:1%0Alinktypeid:2%0Aq:bob%2Blevine%0Apage:1%0As :relevance%0Asa:true%0Aproducttypeid:2
    If you don’t have a subscription, this link will get you a one week trial? http://www.lynda.com/trial/boblevine
    All that out of the way, clicking preview should take you to the page you’re on but still give you the entire article. Use your mouse to swipe up or down.

  • Question: Viewing one page at a time

    How do I change from viewing a spread as two pages to just viewing one page at a time?

    If the doc is set up with spreads then turning spreads off may change the structure of a document. Or, at least, it did back in CS4 when I turned spreads off to look at a document in single-page layout because I was working on a laptop. When I turned spreads back on, lots of features (like anchored objects or text wraps set up to align to spine or "outside edge" for example) were broken.
    I never researched any further - I simply got in the habit of exporting PDFs and viewing those in single-page mode, instead of trying to affect layout in InDesign. Maybe this isn't broken anymore, or perhaps there's a non-destructive method of getting a single-page view. Or, more importantly, maybe the document you're looking at doesn't have any of these spread-dependent features. Or maybe you dont need it to keep the spreads features. Anyway, be aware that you might lose something if you untick that box.

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • Can you tell me how I can ask for help with the following Indesign question:  I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whet

    I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whether or not my JPEG files were sufficiently HI-Res for the printer.  I don't know how I did it but somehow the window has changed so that now it does not have the alphabetical/numerical/Hi-Res information.  It just shows the pages in a two page spread in numerical order.  How can I restore the window so that I will be able to view the information as I did previously.
    Your help will be appreciated,
    Don Unwin
    [Personal Information Removed]

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • View application pages - view forms views and application pages. enumerate lists

    view application pages - view forms views and application pages. enumerate lists, if we disable this permission in sharepoint then user gets blocked from getting into application pages which is good. But now I have few list view web parts on a page and user
    is not able to see those reports based on view. It shows working on it. As soon as I enable view application pages permission it works.
    I need a permission level -view forms views only.
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    SharePoint has a feature called “ViewFormPagesLockDown” at site collection scope. After enabling the feature, all groups / users not having the “View Application Pages” permission will not be able to navigate to pages like “_layouts/viewlsts.aspx”
    or “pages/forms/allitems.aspx”.
    So, for your issue, please disable the ViewFormPagesLockDown feature via PowerShell command:
    $lockdownFeature = get-spfeature viewformpageslockdown
    disable-spfeature $lockdownFeature -url [the URL of your site]
    More information:
    http://sharepointtechie.blogspot.jp/2011/06/blocking-access-to-application-pages.html
    http://sureshpydi.blogspot.jp/2013/12/viewformpageslockdown-feature-in.html
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • View One Page at 100% in Word 2010 by default

    I have a user whos view by default is to view 2 pages when at 100% zoom. I can change her view by going to View - Zoom - Zoom- then Zoom to 100% and then seleting page width which works great that time, but when she closes that document and brings up that
    document again or another document it by default opens that document with the 2 pages at 100% zoom again. So my question is how do I make it so that by default it open every document this way. These documents she is opening are shared documents
    and I have opened them on my PC and they open to the one page at 100% zoom, so it must be a setting on her PC. Any advice to fix this issue would be greatly appreciated.

    This is a result of the aspect ratio of the monitor. At 100%, by default Word will display 1 page on a 4:3 monitor and 2 pages on a 16:9 monitor. I find the 2-page spread to be more productive, but if it must only display 1 page, Stefan's macro at the link
    he included will do the trick.
    For new documents only, here's an undocumented trick that will work.
    Close all other documents and open Normal.dotm. This is usually found in C:\Users\YourUserName\AppData\Roaming\Microsoft\Templates and AppData is normally a hidden folder.
    Set your preferred view. Then make a small change to the file, like typing a space character.
    Save.
    Delete the space character.
    Save again.
    All newly-created documents will open at the View settings you used to save the Normal template.

  • Problem in running a jsp page on tomcat 5.0

    hi....
    i made a java class abc.java and then compiled it to get a java class file named abc.class in a package named pkg.
    Then i copied this package in the classes folder of the WEB-INF folder in tomcat 5.0.
    After that i created a jsp page in which i imported this class file. Now when i run the jsp page on tomcat 5.0 i get an error saying this:
    javax.servlet.ServletException: pkg/abc (Unsupported major.minor version 49.0)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.UnsupportedClassVersionError: pkg/abc (Unsupported major.minor version 49.0)
         java.lang.ClassLoader.defineClass0(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1214)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can anyone please tell me the solution to this problem?
    thanks

    This post:
    http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200408.mbox/%[email protected]ys.com%3E
    Leads me to believe that you're compiling and targeting a java version that your tomcat installation doesn't support. What version of the JDK are you using?
    Good Luck
    Lee

  • While viewing a page I suden get "Oops! This page appears broken. DNS Error - Server cannot be found." However I can back arrow to the page

    I just upgrade to versions 18.0.1. I am suing Window 7 64 bit.
    Now I while I am viewing a page I suddenly receive the error massage "Oops! This page appears broken. DNS Error - Server cannot be found."
    I can use the back arrow key to bring the paper back.
    If I have several tabs open, I can watch one tab after another change from the page name, It doesn't seem to matter who page it is, Yahoo, Washington Post, NBCNews,

    I am not a techie. I keep 15-20 to tabs open at a time for reference while working. When I upgraded to this version, all my tabs were closed and my history was erased. I still have not recovered from that loss. I do not want to have this repeated!
    If I was using pdfforge extension (what ever that is) before the upgrade, why is it venomous now?
    Besides this issue, since upgrading I suddenly starting having the audio from commercials being played from tabs that are not active (open). I now have to leave my audio muted.
    I expected assistance from Firefox not some unknown individual ( iamjayakumars) who for all I know is a troll trying to get me to do something to expose my computer to attack.
    I allowed Firefox to collect data they needed from my computer when I submitted the question.
    Fix the bug in your program! I have used Firefox since it came out. I am within a hairs width of switching browser. The only thing holding me with Firefox is my bookmarks. If I figure out how to export them, I am gone.
    FIX YOUR BROWSER!!!

  • How can I view two pages side by side in the new Pages?

    I can not find the feature to allow me to do this (which was available in the old version). This is really causing problems with some of my documents that have been created to be viewed this way. Any help would be great!

    I am a loyal Apple user because Apple form always follows function.  Deleting this feature from Pages was a stupid decision.  Amateurish, really.  Makes me question the new design team's competence.
    One of the key principals in good user experience design is providing value - simple, clean functionality that users find useful.  Side-by-side edititng is a great example.  Yes, the document is stored internally as a linear stream, but from the user's point of view the presentation should be as a reader sees it.   I don't know why it was removed, but I suspect it was either to conform with the internal form of the data, or to the least-common-denominator presentation device, or both.  
    I bought a Thunderbolt display so that I could edit documents 2 pages at a time.  My intended audience sees the document this way, and so I would like to write it this way.  But I can't with the new Pages. 
    Apple, please restore the side-by-side view in Pages.  I have work to do.  (And while you are at it, fix the EndNote plug-in.)

Maybe you are looking for

  • Lack of space - How to transfer music to external drive ?

    Hi, I just purchased an external drive so I could free some space on my PC. could someone tell me step by step how to transfer my music in iTunes to my new external drive and still be able to play all my songs by opening itunes. the external drive wi

  • File adapter in BE

    Hi All,          Does File adapter work in BE mode.  In what scenario wil it be used? XIer

  • Dynamic graphics in Smart Forms

    Dear All: I have a requirement in my SMARTFORM page development that i have to place a dynamic graphics and printout. Does anyone know how to control the dynamic graphics in Smart Forms? Any help whould be highly appreciated. Many thanks in advance.

  • Invalid Column Name on select from materialized view?

    Hey all, I have created this materialized view for my java to select from. For some reason when I try to select from it, I get invalid column name. Here is my mat view statement in its simplest form: create materialized view mv_pgridtcevcluster_prope

  • Error snapshot

    When I tried to backup online /usr by ufsdump and create snapshot, I got next error- snapshot error: File system could not be write locked. Why ? It was declared in documentation, that snapshot must be executed with anyone filesystem. Help me, please