A exception puzzle me , about JBuilder9 and JSP

when i make file adm_addbook.jsp,JBuilder 9 thrown a exception as bellow:
"adm_addbook.jsp": Error #: 300 : method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
who can help me ?thanks

I think I resolve finally this problem!!
I write the next sentence:
* System.setProperty("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
and the error don't appear.
I write this line before the sentences (TransformerFactory, etc...)
The other alternative is:
In tomcat environment, by default the jar files in the lib directory are set before reading the system classpath which causes a problem. One
could replace the xerces.jar with a new jar file and delete parser.jar but that has its own set of problems.
But I don't prove...

Similar Messages

  • Hi i wrote a question a weeks ago about servlets and JSP

    I thank to jimbal2 for help me on the topic "how to comunicate from servlet to a JSP and viceversa?", the solution was:
    You have a mechanism called "forwarding", with which you can pass control from one resource (servlet/jsp) to another resource (servlet/jsp). You do this using a RequestDispatcher, which you can get from the HttpServletRequest object. If for example you want to forward to "index.jsp" which is in the root of your web application, you would do this in your servlet:
    RequestDispatcher rd = request.getRequestDispatcher("/index.jsp");
    rd.forward(request, response);
    return;
    (watch the return statement, you must manually return after a forward, or else the servlet will continue executing!). A forward will NOT create a new request, the same request is passed to the new resource (to create a new request, use a redirect in stead, also done with the RequestDispatcher).
    To pass objects between the two resources when doing a forward, use request.setAttribute(), request.getAttribute() and jsp:useBean.
    but i have some other questions, and these are :
    so i've to do this with sessions and everything i want to pass to: for example my application is a servlet based, from a servlet to a JSP so i have to do it with:
    RequestDispatcher rd = request.getRequestDispatcher("/servletToJsp.jsp");
    rd.forward(request, response);
    return;
    if its from a JSP to a servlet it is the same way?, if i want to pass the session from one to another and viceversa how do i do that?,and its possible to import into a JSP a class that isn't a bean? because like i wrote here my appplication is a servlet-based but i want to insert new JSPs so thanks for your help and if its possible to respond my questions.

    but i have some other questions, and these are :
    so i've to do this with sessions and everything i want to pass to: for example
    my application is a servlet based, from a servlet to a JSP so i have to do it with:
    RequestDispatcher rd = request.getRequestDispatcher("/servletToJsp.jsp");
    rd.forward(request, response);
    return;
    if its from a JSP to a servlet it is the same way?, JSP is actually generated as a HTML.
    You can simply use a HTML form to submit data to a Servlet
    if i want to pass the session from one to another and viceversa how do i do that?,http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSession.html
    session.setAttribute("id",123);
    session.getAttribute("id");
    Similar to request.setAttribute() but last for a session.
    and its possible to import into a JSP a class that isn't a bean? because like
    i wrote here my appplication is a servlet-based but i want to insert new JSPs http://java.sun.com/developer/onlineTraining/JSPIntro/contents.html#JSPIntro3
    You can import java.util.*, java.io.* , etc.
    so thanks for your help and if its possible to respond my questions.See if it helps

  • Hlep(about  websphere and jsp )

    I has deployed a webapp. on websphere ,
    while I requested the jsp on localhost ,it work fine .but
    while I requested the same jsp on internet ,it display the
    sourcecode of jsp on browser .The websphere server is behind the firewall ,the firewall only allow 80 port access
    web resource,so I don't affirm it is cause .
    I'am sorry my English is poor .
    It would be very appreciate if you hele me !.

    Hey, Friend,
    I am sorry I can not help you. Rather, I have a question for you!!
    I am a new comer for web-sphere. I installed web-sphere, and tried to run html pages on that and it runs fine. But the problem starts with Jsp pages.
    Can you please let me know what settings should I make before running jsp pages on websphere?
    Thanks a lot in advance,
    niravjava

  • How to understand EJB and JSP

    just now i read some articles about EJB and it make me a little confused in what i have understood about EJB and JSP ( at least i thought i understood them, but now ....()
    1. i found that in most JSP examples, the javabeans are used but not the EJB, right? so i have a qustion, an EJB can be used in JSP or not? and how if it can? why if it can not?
    ...still have a lot of question ....
    thanks a lot

    Hi,
    1. i found that in most JSP examples, the javabeans
    are used but not the EJB, right? so i have a qustion,
    an EJB can be used in JSP or not? and how if it can?
    why if it can not?It can be there for more of the examples,but you can invoke the EJB from the JSP also .Actual EJB is entirely the different concept whose foundation is build on the Distributed Technology.I advice you to read the Mastering EJB which is freely available at http://theserverside.com
    before starting coding.The EJB is a vast concept and requires time and strong core foundation to understand,once it is clear then you understand it true potential...
    ...still have a lot of question ....You queries are welcome here!!!
    regards
    Vicky

  • One question about Pricing and Conditions puzzle me for a long time!

    One question about Pricing and Conditions puzzle me for a long time.I take one example to explain my question:
    1-First,my sale order use pricing procedure RVAA01.
    2-Next,the pricing procedure RVAA01 have some condition type,such as EK01(Actual Costs),PR00(Price)....,and so on.
    3-Next,the condition type PR00 define the Access Sequences PR00 as it's Access Sequences.
    4-Next,the Access Sequences PR00 have some Condition tables,such as:
         table 118 : "Empties" Prices (Material-Dependent)
         table 5 : Customer/Material
         table 6 : Price List Type/Currency/Material
         table 4 : Material
    5-Next,I need to maintain Condition tables's Records.Such as the table 5(Customer/Material).I guess the sap would supply one screen for me to input the data of table 5.At this screen,the sap would ask me to select one table,such as table 5.When I select the table 5,the sap would go to the screen to let me input the data of table 5.But when I use the T-CODE VK31 or VK32 to maintain Condition tables's Record,I found it's total different from my guess:
    A-First,I can not found one place for me to open the table,such as table 5,to let me input the data?
    B-Second,For example,when I select the VK31->Discounts/Surcharges->By Customer/Material,the sap show the grid view at the right side.At the each line of the grid view,you need to select the Condition Type at the first field.And this make me confused very much.Why the sap need me to select one Condition Type but not the Condition table?To the normal logic,it ought not to select Condition table but not the Condition Type!
    Dear all,I'm a new one in sd.May be this is a very stupid question.But it did puzzle me for a long time.If any one can  explain this question in detail and let me understand the concept,I will appreciate him/her very much.Thank you.

    Hi,
    You said that you are using the T.codes VK31 or VK32.
    These transaction codes are used to enter condition records for standard condition types. As you can see a grid left side having all the standard condition types like price, discounts, taxes, frieghts.
    Pl check using T.code VK11 OR VK12 (change mode)
    Here you can enter the required condition type, in the intial screen. (like PR00, MWST, K004, K005 .....etc)
    After giving the condition type, press enter or click on Combinations icon on top of the screen. Then you can see all the condition tables which you maintained for that condition type. Like as you said table 118, table 5, table 6 and table 4.
    You can select any table and press enter, then you can go into the screen in which you have all the field cataglogues you maintained for that table. For example you selected combination of Customer/Material (table 5) then after you press enter then you can see customer field on top, and material fields.
    You can give all the required values and save the conditon record.
    Hope this is clear.
    REWARD IF HELPFUL.
    Regards,
    praveen

  • Questions about Java Servlets and JSP

    Hi,
    I'm a confident Java Programmer (and really enjoy using this language) but am very new to Java servlets and Java Server Pages.
    I have previously worked with Perl on my web projects (simple 'league' style voting pages). I read in my 'Core Java' book that I should no longer use perl or even cgi.
    I need to know more about Java servlets and Java Server Pages so I can make the switch to a 'real' programming language.
    I have a few questions:
    How should I start to learn JS and JSP?
    How applicable will the java knowlegdge I have already be?
    Are JSP common on the world wide web?
    What tools do I need to start? (I currently develop in JBuilder and have Java 1.4.1 Standard Edition)
    Is it likey my web host (and others) will support JSP?
    Thank-you very much for helping a novice get started,
    Regards,
    Paul

    Hi, Steve ...has to be frustrating! But do not despair.
    Let's suppose the servlet it's named MyServlet on package org.servlets
    WEB-INF should look:
    WEB-INF
    classes
    org
    servlets
    MyServlet.class
    web.xml
    web.xml file should have this two declarations:
    <web-app>
      <servlet>
        <servlet-name>MyServlet</servlet-name>
        <servlet-class>org.servlets.MyServlet</servlet-class>
      </servlet>
      <!-- other servlets -->
      <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/MyServlet</url-pattern>
      </servlet-mapping>
      <!-- other servlets mappings -->
    </web-app>Now, once the container starts (Tomcat?), you should be able to see that servlet in:
    http://localhost:8080/[my-context/]MyServletAnd what my-context is? The web application context. This string should be empty if your're deploying to the root context, otherwise should the context name. In Tomcat, deploying to root context defaults to using webapps/ROOT.
    Sorry for my English, but I felt the need to answer your request. I hope it helps despite my writing.

  • Best avenue to file complaints about bill and have them resolved

    I have been a customer since before 2005 and went with Ntelos in November, I called the night I was at Ntelos to ask Verizon what my contract buy outs were and I was given the prices. The representative tried to offer me whatever promotions she could offer (there wasn't many) and I declined service (there she should have took the initiative to ask about disconnecting). Since my bf opted to keep his number his phone disconnected automatically. I was told my Verizon phone would cycle off within 24 - 48 hours by the Ntelos rep. That was not the case so I called verizon to ensure my phone would disconnect and they told it would at the end of the billing cycle (december 20) which makes sense. I understand I would be responsible for the November - December. Anyways, December 20th rolls around and mind you I've called already to ensure it will take place and it doesn't. I phone in and come to find out the person who took my orders didn't complete the disconnection and now I have to wait until January 20th for it to cycle off and I can finally pay my bill! Well get this in my November - December bill they've charged me $51 for Monthly access (I have a work discount) and $49.99 for insurance and smartphone access for 12/21 - 1/20 and won't refund my $51 as they say that I called out on the phone. I turned the phone on and had voicemails that I think I checked around the time period that they are mentioning (1 day) and that data was used (1 day) I had no outbound calls after December 11th my birthday. Because there are no comments in my account (that I specifically asked them to make) my phone should have been disconnected when I had called in the first of December... really!?! The phone should have been turned off regardless and it was one day out of 30 seriously? I mean the phone has been turned off this whole time and literally only checked to make sure Verizon did their job. I CAN'T HELP IT YOU DON'T KNOW HOW TO DO YOUR JOB, I PUT THE EFFORT IN MULTIPLE TIMES TO LET YOU KNOW MY PHONE NEEDED TO BE DISCONNECTED YOU SHOULD HAVE KEPT RECORD OF IT!!! What really heats me up is that I was told a supervisor would give me a call back after they got out of a meeting and I have not rec'd a call back yet. VERIZON Reps/Supervisors your customers are the reason why you have get a paycheck, I suggest you start treating them a little better. You can't seriously tell me giving me back my $51 for service I DID NOT USE (except according to you for one day you can't even give me details about?) is really going to hurt your pockets. I've been jerked around by your reps for the last 2 months as one told me my contracts were up in January and I shouldn't' be charged for disconnection fees at all, she credited me those termination fees but they later got rejected (after she said her supervisor approved while I was on hold) and NO ONE HAD THE COURTESY TO NOTIFY ME!
    I've worked in customer service before and I'll be first to tell you that your reps are not trained very well and you have horrible ethic! You should not charge your customers for an error that was your fault; especially since it was your reps that I asked specifically to note my account and didn't (this isn't my first rodeo with you all, it should be standard procedure to give your reps time to comment before throwing them into another phone call). I'm not doing this for my health here, that $51 could buy diapers and baby food for my daughter and you are crazy if you think I'm going to let it slip through my fingers to line your pockets. I will keep escalating it until you do something about it and I don't care that you already gave me an inconvenience credit I deserve that and my $51 so don't try to justify it that way! This has been way more than an inconvenience, so don't worry I'll inconvenience you as well!
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Message was edited by: Verizon Moderator

    With my new provider I am only using the chat function to settle anything with them so I can save the conversations I've had with them (not that I've had any issues thus far). It should be standard procedure for them to comment your account while they are on the phone with you before hanging up. I should have been annoying and asked them to read back their comments (hindsight ugh!).  I'm sorry that you are having to deal with this as well, just know you are not the only one receiving horrible customer service. I'll share with you what I wrote on their Facebook page. They really should take some accountability for their actions and have better follow up on resolving issues (or train their representatives better). I can't stand having to talk to another person time and time again explaining the same thing i just explained to 3 people before them.
    Almost immediately, I received some attention after posting this:
    Dear Verizon,
    I am appalled, especially after reading your credo, that you are refusing to credit back money that is owed to me because your representatives didn't take the necessary time that they should have to comment (after I specifically asked) in my account after I diligently called in multiple times to ensure that my disconnection took place when it was scheduled to and was told that it would (an ongoing issue since the beginning of December). Come to find out that the representatives I spoke with prior to December 20th didn't do their jobs correctly by not entering the disconnection orders in. "Verizon Credo- a set of principles that describes our culture of integrity, respect, performance excellence and accountability. The Credo is a blueprint that directs us to live up to the highest standards possible when serving our customers, shareowners, communities and each other." Let me school you on something here because it appears that you just put that mission statement up on your website 'cause it sounds good, you certainly do not follow through! Accountability: Noun - the quality or state of being accountable; especially an obligation or willingness to accept responsibility or to account for one's actions (i.e. public officials lacking accountability). It doesn't matter that you cannot find any proof in my statements it doesn't change the fact that it happened and I am not a liar. I seriously wouldn't exhaust this must effort had I been lying. I'll take this a step further and reference your statement "we focus outward on the customer, not inward. We make it easy for customers to do business with us, by listening, anticipating and responding to their needs." First of all, when I made my initial call to you all asking what my contract buyout prices were and your rep tried to offer me promotions (or lack there of) to keep me as a customer and I declined she should have "anticipated" my need for disconnection. I shouldn't have had to jump through so many hoops to get my service disconnected from you all and pay my final bill. It's not my fault that your representatives weren't trained well enough to correctly put through disconnection orders. Based on my interactions with your customer service I could see where people would disconnect their services regularly!!!!! You are not making it easy for me to severe ties with you and conduct BUSINESS and you are not responding to my NEEDS. I think you forget that I could be a potential customer in the future. If it's one thing I learned from my Communications Degree is that negative feedback will reach more consumers vs. positive feedback of a company and how they handle their business. I have 1,000 plus facebook friends and twitter followers so I'm pretty sure my negative experience could reach quite a few people! You say you have integrity? How is it moral uprightness to charge me for a whole month of service (regardless if the phone was turned on once) for a billing period that shouldn't have existed if your customer service reps did their job correctly? I suggest that you all take a good look at the way you are treating your current customers because we are the reason you get a paycheck! You should make your customers a priority especially if they've been with you for 10 + years regardless if they are disconnecting service or not! How about following through, taking ACCOUNTABILITY and having that supervisor representative call me back from my phone conversation last night like I am a priority (how every customer should be treated) and helping me get the money that I am owed, regardless if the phone had been turned on for a short period (your rep couldn't even tell me what numbers I supposedly called - exactly the phone has been off since December 20th if not before unless turned on to confirm disconnection)! Oh but let me guess did you all forget to put that in my account comments as well? Probably like there is no mention of the formal complaint I filed against some of your representatives that there was supposedly no ticket number for. I thought I was going to regret leaving Verizon for another provider but it turns out that I only wish I would have left sooner and actually gone to a authorized dealer/ Verizon Store to process my disconnection because your customer service line is a joke!

  • How to install servlet and jsp on win xp?

    I am new in jsp and servlets. I would like to follow some jsp books and examples. The j2eesdk-1_4-dr-windows-eval.exe is already installed on my computer. I can write and run java codes. I downloaded the jsp-2_1-edr-api.zip file from http://java.sun.com. I extracted and moved to dir:\Sun\AppServer\ folder. When I search, I cannot see any jsp.jar file as some documents say, nor servlet.jar. How can I install jsp and servlet on windows xp? Any help? I will be very grateful.

    For starters, you would probably have better luck getting an answer on the general Java forums, since this a very general question- it is hard to see how this is specific to the Web Application Framework technology, except of course that it uses JSP and servlets naturally,
    But to try to help you here, more information is needed: from exactly where are you do\wnloading the file jsp-2_1-edr-api.zip and what is the product title of this file? I ask this since a general search of sun.com returns no evidence of the existence of this file.
    Also, what documents are being referred to here?
    Thanks

  • Hi frnds i want to help in servlet,java bean and JSP

    hi friends i'm right now in M.SC(IT) and i want to do project in SERVLET,,JAVA BEANS and JSP ,
    so pls give me a title about that
    NOTE: I develop a project in group(2 persons there)
    my email id is : [email protected] , [email protected] , [email protected]

    You cannot pair your iPod to a cell phone, so forget about it.
    The only way you can get free WiFi is to hang out at a Denny's, a Starbucks, or a truck stop, and I don't think your parents would approve....

  • Oracle forms viewlets about SSO and Forms dont work

    hi:
    the oracle forms viewlets (in Forms Sample Code) about SSO and Forms dont work. it says html as been modified. i think it's a viewlet builder protection.
    thanks

    user549194 wrote:
    Hi to everyone,
    This is a rant on the stupidity of Oracle Forms. From my point of view, it is pointless and VERY PAINFUL to develop.
    Come on, who in the right would use Oracle FORMS to develop database applications? Heck, I can develop my very own web application in Servlet and JSP twice as quick as this piece of crappy framework can produce. Who are you trying to kid? Tie down PL/SQL to the application level? The very idea of FORMS is bullshit.
    To whoever who is reading this, please flame me all you want. Oracle Forms is a crappy product. Dont't waste your time and efforts using it. You are better off using some other MORE PRODUCTIVE framework. So there.Hello,
    I have seen many threads speaking about forms future but discussions were also MORE PRODUCTIVE as your framework
    pointless ? I think your thread is pointless...
    I will not make the pro-forms against the world... There are so many tools, just make the right choice for your needs.
    so go back to your fantastic productive framework and have success with it.
    regards
    JeanYves

  • How to master good design with EJB and JSP?

    I use JSP to calling EJB. But the .jsp file is complex and it's difficult to maintain...I just want to work higher efficent with EJB,JSP and JavaBean. I want to know is there a good design with EJB and JSP? and is there any good material about MVC for EJB,JSP and JavaBean?

    You should read the J2EE blueprint available on this website. Better download the PDF, and print it for yourself so you can read it anytime.

  • Servlet and JSP in OAS

    I'm developing web application with OAS
    4.0.8.1 and JDeveloper 3.0 and I want to call
    JSP from servlet using "RequestDispatcher".
    I downloaded JSP for OAS from www.olab.com.
    In the Release note, there is a description
    about RequestDispatcher, but I cannot
    understand about details.
    In what configuration can I use servlet and
    JSP together with RequestDispatcher. Anyone
    scceeded about that?
    null

    wan (guest) wrote:
    : Hi everyone,
    : I am using OAS 4.0.8 on Solaris 2.6. After viewing servlet
    : and JSP samples, I am kind of confuse whether OAS supports the
    : following options
    : 1. JSP
    : 2. servlet chaining
    : 3. running JDeveloper DB Servlet wizard
    : (oracle.jdeveloper.servlet.*) and Java Business Objects
    : (oracle.jbo.rt.cs)
    : Thank you for your time.
    I found a white paper 408newfead.pdf, that says under "Future
    Directions" that it will add jsp support. I read somewhere (I
    can't remember where exactly :( ) that said 4.0.8.1 would
    support
    JSPs. I don't know if this release is out yet.
    I wish Oracle would get with the times and put out a product that
    is consistent with the technology they are touting as the
    future.
    Having us download Suns server to run servlets and JSP is
    ridiculous for the worlds second largest software company!
    null

  • Jsp include and jsp param

    Hi All,
    I have the following:
    <jsp:include page="anotherPage.jsp">
            <jsp:param name="testing" value="sdfasdfsd"/>
    </jsp:include> And in anotherPage.jsp I have:
    <%@ taglib uri="/WEB-INF/tld/commons-log.tld" prefix="log" %>
    <log:dump scope="request"/>
    <log:dump scope="session"/>
    <log:dump scope="page"/>
    <log:dump scope="application"/>
    <h3>
    Test: <%= request.getParameter("testing") %>
    </h3>Not only does this output:
    Test: null
    but I don't see 'testing' anywhere in the dumps! What is going wrong?
    Have I badly misunderstood parameter sending? :-/
    Actually, my assumption was that the include code puts the "testing" variable
    into the request.. 1) where does jsp:param put the data items it
    passes through and 2) if the data item didn't previously exist as a
    request parameter, does it ignore it?
    Any assistance would be most appreciated!
    Rob
    :)

    Depends on the server version you are using. If you are using a JSP 2.0 server like Tomcat 5, then you should be able to do that, as long as you set up the container correctly (to use servlet 2.4 and JSP 2.0 specs rather than 2.3 and 1.2...)
    Is you are using a JSP 1.2 container (less then TC5) then you will not be able to use EL anyware except in JSTL tags. The fix is to use the JSTL tags to do the include:
    <c:import url="thepage.jsp">
      <c:param name="param1" value="${attr}"/>
    </c:import>

  • Are Oracle Java Serlet and JSP samples working in Oracle9i?

    Oracle web site provides many good Servlet and JSP samples. All
    the instructions talk about Oracle8i. Does anybody know for sure
    they are working under Oracle9i or not?
    Thanks!
    H.

    OTN has sample applications that demonstrate a range of JSP techniques, from basic to advanced. OTN provides two versions of the samples: one version is built to the Servlet 2.0 specification and runs under Oracle9iAS-JServ or JDeveloper, the other verion is built to the Servlet 2.2 specification and runs under the Oracle Servlet Engine (OSE) built into the Oracle8i database or the mod_ose module of Oracle9iAS.
    Regards,
    -rh

  • Java beans and JSP - Training

    Hi
    Does Sun or some other organization conduct any good workshops on Javabeans and jsp technology - hands on training like Microsoft products usually have. - Something like "devcon" ??
    Some people from our workplace have to have some urgent training on these technologies. Thanks in advance.
    Sue

    They sure do... http://courses.coreservlets.com/
    Don't really know how much or how often they offer these courses though.. looks like the guy might be free to do something soon. But to be honest, these courses basically run through the book. If your programmers have a decent background in Java, I'd say you could just as easily get away with getting some books (Profession JSP - Wrox press is amazing). I learned JSP in about 3 days of solid cramming.

Maybe you are looking for

  • Formatting SimpleTech external drive for Mac

    Many, many apologies if this is a repeated question, but I've looked for a while and not found a solution. I am trying to format my SimpleTech prodrive for my PowerBookG4 Mac. The error "could not unmount disc" keeps appearing. This is despite some o

  • Problem installing universal docking station mac book pro

    Running parallels, windows xp pro. I have installed the drivers and software for the targus universal docking station. Keep getting an error message that " all usb ports are currently being used" Then it flips from windows back to mac os. there is no

  • How to check availabe updates for apps in iTunes 11.0 (Windows)?

    In older versions of iTunes in my laptop, there is a place to click to check for available updates when I see there are updates in the App Store icon in my iPhone. Then the Apps updates are downloaded to the laptop and then I can sync the iPhone. But

  • Error: Internal Error: 404 Not Found (116001)

    Receiving this message on every attempt to publish this site. (all other sites are working okay) Anyone familiar with the specifics?

  • Can I install Windows without optical Driver

    Hi! I have a Macbook pro Early 2008 - MB134LL/A but its optical driver cannot read any disc. Now I want to install Windows via BootCamp but it cannot. Anybody know how can I install Windows without optical Driver? I tried to boot by USBflash, USB DVD