Howto process non .jsp files wiht the jsp processor?

I am building an application that uses a tag to include some resources to the page. This tag simple get in the context the bean assossiated with the tag and include it in its own stead.
An engine process the request setting in the request scope a bean to be used by the tag. For the above example it would do:
request.setAttribute( bean.getName(), bean );For example, in a given teen.jsp page I would have a tag:
<sgc:resource name="menu" />One of the beans properties is the uri of the resource being included, this is configurable with a XML file, so that if I have the entry(it is cleaned out from non related stuff):
            <page name="teen.page"
                wireframe="teen.jsp"
                region="SP,RJ" >
                <description>Descri��o da p�gina.</description>
                <resource name="menu" location="menu.cnt" region="SP,RJ"/>
                <resource name="content" location="teen1.cnt" region="SP"/>
                <resource name="content" location="teen2.cnt" region="RJ"/>
            </page>When a request for teen.page reach the server, the engine find out the user data and create beans according to it, for example if it is from SP, the engine will populate a resource bean with the location set to teen1.cnt and will forward the request to teen.jsp. In teen.jsp there will be tag that will include teen1.cnt.
All of this works fine as long as I don't use serverside tags in the cnt files. Yet I need the cnt files to be JSP processed.
I searched for it in this forum and I googled for it, the closer answer I got for this was:
http://www.jguru.com/faq/view.jsp?EID=254460
I tryied it, but the server give me a error telling:
javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jasper.runtime.JspServlet or a class it depends on
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)I am using tomcat 5.0.28 and this class seem to be part of it. I didn't found any solution to this. Anyone has any sugestion?
As a side note, if I use .jsp as an extention to my resources, everything goes fine, but I would prefer to use cnt unless I cant solve this.
Thanks for your time,
Notivago.
May the code be with you.

Hello there!!
Thanks for the help. I assigned dukes for you both. The change in the web.xml in the tomcat's conf directory did worked well. This web.xml already has a servlet defined:
    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>and I just had to add mine:
<servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.cnt</url-pattern>
    </servlet-mapping>In my previous attempt I had to add both entries to the application web.xml, but as it was stated in the previous post it didn' t worked. I guess that diferent class loaders are used for eache one of this and the class org.apache.jasper.servlet.JspServlet isn't avaiable to the deployed application.
Thanks again,
Notivago.
May the code be with you.

Similar Messages

  • Ability to process several raw files with the same content but with different exposure into the single picture

    Can you add to the Lightroom an ability to process several raw files with the same content but with different exposure into the single picture?
    Base raw files can be given with exposure bracketing during shooting, for example.
    The goal - to get maximum details in darks and lights (if we use the "ligths recovery" or "fill lights" we lose the quality because raw file just have no all required information).
    The similar (but not the same, only the idea) thing - is High Dynamic Range Photography in Adobe Photoshop
    Thank you

    The plugin LR/Enfuse does this already. And of course Photomatix have a plugin available for Lightroom. This essentially amounts to pixel editing, which is beyond the range of Lightroom's metadata editing.

  • Would like to purchase PSE 12 to process Camera Raw files for the following cameras: Nikon D800, Nikon DF, Canon G9 and Pentax K-3 does the Raw Converter that comes with  PSE 12 when purchased recognize  the cameras listed in the question or do I need to

    Would like to purchase PSE 12 to process Camera Raw files for the following cameras: Nikon D800, Nikon DF, Canon G9 and Pentax K-3 does the Raw Converter that comes with  PSE 12 when purchased recognize  the cameras listed in the question or do I need to download  the camera Raw Version 8.3 ?

    While the G9 RAW files can be read by Adobe Camera RAW and Lightroom, these file are unsupported at this time. Here is a link to Adobe's latest list of cameras that are supported and this list came out yesterday http://www.adobe.com/products/photoshop/cameraraw.html
    I have not done a comparison between Lightroom and Canon's software but others have and say that Canon's software is clearly better. I am sure when Adobe updates their software again to include the G9 it will be a very good RAW converter as it is will most other cameras.

  • Will PSE10 process raw/nef files for the nikon D800

    Will PSE10 process raw/nef files for the nikon D800

    Not directly.
    You have to download the FREE Adobe DNG Converter (version 7.3) and convert your NEFs to DNG, then PSE10 can make use of them

  • Converting WMV and non apple files on the net

    I'm very new to apple, and I love my new machine, however, I cannot open any microsoft based files eg. wmv files on the internet and I thought that the conversion would be much simpler. I called tec support and was directed to flip4mac.com, however I couldn't install the wmv converter onto the macbook, has anyone figured this out??
    Please Help
    Drew

    Flip4mac.com will have a Universal version of their plugin soon. It is the best option as it will run natively on the Intel chip.
    You might be able to find an old version of Windows Media Player for the Mac but it is being discontinued.

  • Convert files with the Image Processor

    This question was posted in response to the following article: http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7426a.h tml

    i am having problems using this action. every time i try to process images i am getting the message that  Feather is unavailable, i then have to click on the option 'continue' and the action goes on, this is a nuisance when I am  processing several images at once.  I tried to reset the action back to default but still the problem exists.
    can someone help please

  • Problems when using the Dynamic processor effect?

    Thanks in advance for any help.
    I am using adobe audition 1.5 on a windows Xp pro machine. Whenever I go to process an audio file with the dynamic processor effect, (after it is processed) The audio file is broken up or corupted. Auition will let me "undo" and I can retry the same process over and over until randomly it works. Any idea's?????

    vit1 wrote:
    Operating system developers hope for your answer.
    This is a user-to-user community support forum. We are not RIM employees, but volunteers who enjoy assisting other users. RIM personnel rarely comment on queries posted here. You would have noticed this in the message upon registration.
    #1 - don't know. What format?
    #2 - Correct. Others have noted this.
    #3 - Notepad, the third party application? Or are you referring to creating an entry in Remember?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Not able to process NEF files from the new Nikon D4s camera, any idea on when a new RAW plug-in?

    Current CS6/Cloud user but have not been able to process my NEF files from the new Nikon D4s camera.  Any idea on when and if a patch or new plug-in supporting this camera will be available?

    Support for the Nikon D4S has been added to the forthcoming Camera Raw 8.4 which is currently in a late stage beta (formally called Release Candidate).
    https://blogs.adobe.com/lightroomjournal/2014/02/camera-raw-8-4-rc-and-dng-converter-8-4-r c-now-available.html
    You can download it now and take it for a spin. Does not work on Mac OS X 10.6.x, Windows XP or Vista.
    CC: http://labs.adobe.com/technologies/cameraraw8-4-cc/
    CS6: http://labs.adobe.com/technologies/cameraraw8-4/

  • Handling Non-English characters in the payload

    Hi Gurus,
    We are currently facing an issue in XI with Non-English characters. When we are trying to process Non-English characters in the payload , they are getting converted in to Junk characters at the receiver end. This scenario inbound to SAP ( File to Idoc scenario ) . Is there a way that Non-English characters can be handled in XI.
    Regards,
    Nick

    Hi Nick,
    I have knowledge of some problems when showing some kind of chinese character when
    dusplaying XML messages. If it's the case, check notes:
    #1135671 - ITS HTML viewer: incorrect display of xml documents
    #1072127 - ITS HTML Control: xml file rendering problem
    With regards,
    Caio Cagnani

  • Batch processing InDesign CS5 files

    When I select either individual InDesign files or the entire folder to batch process to a pdf I get a message that says that the InDesign files can't be found or opened. It initially wanted to launch ID CS4 so I uninstalled that thinking that was the problem. Acrobat still will not batch create pdfs saying the application can not be found. I can create a pdf directly from the ID file but because I have llmost 300 ID files to convert I would really prefer to be able to batch create these pdfs. I am using Acrobat 9.0. Help!

    To get a PDF, via Acrobat, from a non-PDF file format the file format must be supported.
    Acrobat has various ways to take supported file formats and provide a PDF.
    Looking at what is supported by PDFMaker
      (http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html)
    and at what is supported for direct file conversion
      (http://helpx.adobe.com/acrobat/kb/supported-file-formats-acrobat-reader.html)
    the InDesign file formats are not listed.
    Based on this I'd say you are going to have to use InDesign's internal process to get PDF from the InD files.
    Be well...

  • How to skip non-PDF files in Action on folder?

    Hello,
    I have an Action in Acrobat Pro XI that takes a default folder and (using JS) batch converts the PDFs to text.  However, it also tries to convert *.txt files.  I don't care that it imports the *.txt to *.pdf as temp file but it then stops the batch processing by asking if I want to save the changes to the temporary PDF.  How can I bypass this?  Here is the JavaScript it executes:
        /* Convert PDF to Text File (*.txt) */
        var inPath = "../";
        var outPath = "/c/users/***/desktop/test/output/";
        var myFile = inPath + this.documentFileName
        var myFileExt = myFile.replace(/^.*\./,'');
        if (myFileExt == 'tmp'){
            console.println(this.path);
        } else {
            console.println('Found a PDF!');
            console.println(this.path);
            this.saveAs(outPath + this.documentFileName + ".txt", "com.adobe.acrobat.plain-text");
    Options I'm fine with:
    Skipping all non-PDF files from the Actions WizardCan't find a method to do this.
    Disabling the Save As prompt for the temporary created PDFs (*.txt files)
    The line returned by console.println(this.path) if myFileExt == 'tmp' is this":/C/Users/**/AppData/Local/Temp/A9R6966.tmp
    It still creates a temporary PDF.
    I tried this.closeDoc('true') but it closes Acrobat entirely.
    I hope that is concise enough!  Thanks for looking.

    Skipping all non-PDF files from the Actions Wizard
    This used to be possible, but unfortunately it's not possible any longer in Acrobat XI.
    What you can try to do is just add a Save command to your Action and hope that it saves the temp files silently (maybe you can save them in some temp folder), and then closes them and continues...

  • Displaying non English file name in portlet

    Hi,
    I have a portlet that display all the files in a directory that is not on any of the Plumtree servers (portal, collaboration, etc ...). This directory could be a local directory or a directory on a network but not on any of the plumtree servers. How could I display a non English file in the portlet? I am using Plumtree portal 5.0.4J.
    Thank you so much in advance for the helps!

    Hi,
    I have a portlet that display all the files in a directory that is not on any of the Plumtree servers (portal, collaboration, etc ...). This directory could be a local directory or a directory on a network but not on any of the plumtree servers. How could I display a non English file in the portlet? I am using Plumtree portal 5.0.4J.
    Thank you so much in advance for the helps!

  • How to open non-HTML fiiles in the web browser???

    Hi.. My project requires that I should be able to open all the non-HTML or HTML files in the web browser itself. Ex. If there is some pdf file or doc file or any other file it should open in the browser itself. If the appropriate plug-ins are not there then it should first ask to download those plug-ins and then after downloading it the file should open in the browser.
    I would be grateful if anyone can help me out. If there is some link or something like that then please let me know.
    Thanks in advance.

    hi,
    you can open non-HTML files in the browser... when the file is sent from the server side you have to set the content type to match the content type of the file you are sending..
    for example, if you are sending a pdf file.. you have to set the content type as : application/pdf
    Another example: If you are sending a word doc use: application/msword
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

  • How to release process model sequence file object?

    Calling engine's method GetStationModelSequenceFile we get the reference to the process model sequence file object. According to TestStand Help, you should "Release this reference when you are done using it." The question is: how do you release it? Call engine's method ReleaseSequenceFileEx passing the reference to the model sequence file gotten from GetStationModelSequenceFile won't work, it returns FALSE which means the sequence file can't be released. Similar problems exist with methods SequenceFile.GetModelSequenceFile, Execution.GetModelSequenceFile. My aplication is written in VB. Using the statement like
    Set modelSequenceFile = Nothing also does not solve the problem.  I want to get some information of process model, such as version number, so I call those API functions in my code, which was developed under TestStand 3.1. I post this question because when I ran my application with TestStand 3.5 or 4.0 beta, I got the warning dialog when loading a sequence file and then closing the application. The dialog listed all the unreleased objects which I figured out is due to that the process model file was not released. Because message in the dialog is as following:
    The following top-level objects were not released:
            Sequences [1 object(s) not released]
                Sequence #1:
                    Name: Test UUTs
            Type Definitions [43 object(s) not released]
                Type Definition #1:
                    Name: TimeDetails
                Type Definition #2:
                    Name: ReportOptions
    Of course there are more in the list, but the sequence file loaded into the application is released correctly by calling engine's method ReleaseSequenceFileEx, so it does not appear in the list.
    Any help will be greatly appreciated.

    Here are what I did after launch the operator interface:
    1) Call Engine.GetSequenceFileEx to get a reference to a sequence file.
    2) Display steps of MainSequence of the sequence file in GUI.
    3) Call Engine.GetStationModelSequenceFile to get a reference to the station process model sequence file. The variable used to save the reference of process model sequence file is modelSequenceFile.
    4) Loop through all the sequences in process model sequence file, get the references of entrypoint sequences in the process model and put them in a container (VB Collection).
    At this point,
    Calling modelSequenceFile.CanUnload returns TRUE
    Calling modelSequenceFile.IsExecuting returns FALSE
    Calling Engine.ReleaseSequenceFileEx(modelSequenceFile, ReleaseSeqFile_UnloadFile) returns FALSE
    There is no other loaded process model sequence file reference at this point.

  • IWeb and non-iWeb files @ same site?

    I have modified my CNAME at my personal domain site to forward to MobileMe, and I am not having any problems with that aspect. What I am wondering is ... can I have both iWeb files and non-iWeb files at the same site and still use MobileMe?
    Basically, I want to use iWeb for my main family web site, but still have my Wordpress blog as well as some older web pages that I don't want to convert to iWeb. Right now, anything that starts with my domain name is pointed to MobileMe, which precludes access to the non-iWeb files.
    Not sure if this is clear or not, but if anyone has any pointers, I would be very grateful.

    Thanks for the advice about putting the other files on MobileMe - I didn't know you could host non-iWeb pages there.
    Unfortunately, I actually don't want to store them there. My Wordpress blog is hosted on my own server (it's not a wordpress.com blog), and my old files are large and I don't want to burn up all the space on MobileMe. I have a ton of space and other good hosting services as my provider (doteasy). I do, however, like the features of iWeb for my main family page, so I want to be able to publish to MobileMe, but still have the domain function as well, with some pages accessible only through the domain, not MobileMe.

Maybe you are looking for

  • Bluetooth iPhone 4 to MacBook Pro - HELP!!!!

    Hi, (Sorry if this is a repitition of a million other questions / pleas for help) Basically this morning I clicked 'forget this device' on my iPhone by accident, so now my macbook does not appear on the devices list on my iphone. I can see my phone o

  • Buttons not behaving after decompile.

    Hi all, It's difficult to ask this question without posting the source file to see - but if I explain the issues... Basically I can't for the life of me work out why my buttons aren't behaving correctly. I received a job from a client to make some up

  • Weird load balancing and paging: What is going on?

    Hi, We have EP 7 installed in our environment.  The Portal has a Central Instance and two dialog instances.  We are using NetScaler 7 as a load balancer.  Our load balancer is currently configured with a weighted round-robin of 3:3:1.  For all reques

  • Bootable Copy of Installation Disk

    I have made a backup copy of my Leopard Installation Disk by the following method in order to make it bootable: 1. Open Disk Utility 2. Highlight "Mac OS X Install DVD" in left pane. 3. From the'File' menu choose "New -> Disk Image from disk 3s3 (Mac

  • Can't run iTunes. Quick time error

    QuickTime failed to initialize(error -2096) QuickTime is required to run iTunes. Please uninstall iTunes, then install iTunes again. Can anyone help me out? I've downloaded it again to many times. Restarted my computer everything.