Prob with running jsp Bean

Hi,
I am trying to run a bean through a jsp but its giving error at useBean tag of jsp:
The error is :
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /Quadratic.jsp(7,0) The value for the useBean class attribute com.brainysoftware.Quadratic is invalid.
     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
     org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
     org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
     org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1227)
     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:470)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
     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)
My jsp is:
<HTML>
<HEAD>
<TITLE> JSP BEAN Quadratic Example </TITLE>
</HEAD>
<BODY>
<%@ page language="java" %>
<jsp:useBean id="quadratic" scope="session" class="com.brainysoftware.Quadratic" />
<jsp:setProperty name="quadratic" property="ia" param="a" />
<jsp:setProperty name="quadratic" property="ib" param="b" />
<jsp:setProperty name="quadratic" property="ic" param="c" />
X1= <%= quad.getDx1( ) %>
X2= <%= quad.getDx2( ) %>
End of program
</BODY>
</HTML>my bean is:
package com.brainysoftware;
import java.io.*;
class Quadratic{
int ia;
int ib;
int ic;
String dx1;
String dx2;
public int getIa( ) {
return ia;
public void setIa( int ii) {
ia=ii;
public int getIb( ) {
return ib;
public void setIb(int ii) {
ib=ii;
public int getIc( ) {
return ic;
public void setIc(int ii) {
ic=ii;
public String getDx1( ) {
double detA;
double result;
detA= ib*ib -4*ia*ic;
if(detA<0.0)
return "Real Roots not possible";
else {
result= -ib - Math.sqrt(detA/(2 * ia));
Double Dresult=new Double (result);
return Dresult.toString( );
public String getDx2( ) {
double detA;
double result;
detA= ib*ib -4*ia*ic;
if(detA<0.0)
return "Real Roots not possible";
else {
result= -ib + Math.sqrt(detA/(2 * ia));
Double Dresult=new Double (result);
return Dresult.toString( );
my directory structure is given below:
C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-INF\classes\com\
brainysoftware>dir
Volume in drive C has no label.
Volume Serial Number is 4C50-9542
Directory of C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-IN
F\classes\com\brainysoftware
05/22/2005 11:15 PM <DIR> .
05/22/2005 11:15 PM <DIR> ..
05/22/2005 11:18 PM 134 CalculatorBean.java
05/23/2005 12:12 AM 216 Counter.java
05/24/2005 10:48 PM 358 SimpleJavaBean.java
06/14/2005 11:16 PM 1,205 Calculator.java
06/14/2005 11:16 PM 1,323 Calculator.class
06/16/2005 06:44 PM 534 CalculatorBean2.java
06/17/2005 08:53 AM 703 CalculatorBean2.class
06/16/2005 07:00 PM 352 CalculatorBean2.html
06/17/2005 08:51 AM 588 CalculatorBean2.jsp
06/17/2005 04:29 PM 97 UploadBean.java
06/17/2005 04:43 PM 527 FileUploadBean.java
06/17/2005 04:43 PM 834 FileUploadBean.class
06/18/2005 12:21 PM 863 Quadratic.java
06/18/2005 12:21 PM 1,093 Quadratic.class
14 File(s) 8,827 bytes
2 Dir(s) 8,615,821,312 bytes free
C:\tomcat-5.0.28\jakarta-tomcat-5.0.28\webapps\jsp-examples\WEB-INF\classes\com\
brainysoftware>
The above clearly shows the presence of Bean in the reqd directory but still I am getting an error. Can somebody help me:
Zulfi.

class QuadraticThe class is not public. It is only visible to other classes in the same package as itself, so the servlet (JSP) trying to instantiate and reference it can't see it.
Make it public.

Similar Messages

  • Simple question with running JSP!

    I download a whole project from https://sourceforge.net/projects/javamyadmin/
    There are hundreds of files inside. I just want to run them.
    When I tried index.jsp, it will display errors.
    My machine: XP, Tomcat 4.1.24 How can I sort it out?? Thanks.
    When I run, http://localhost:8080/jmyadmin/web/index.jsp It said that ......
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /jmyadmin/web/index.jsp(13,28) Unable to load class rewrite
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
    at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:712)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
    at java.lang.Thread.run(Thread.java:534)

    It will display "Directory Listing For /jmyadmin/ - Up To /...."

  • Problem with running jsp pages

    Hello everybody,
    I have created a simple jsp page in JBuilder10.
    I have also installed tomcat 5.5.9
    When i run the jsp page, it appears the following error :
    LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080
    What can i do in order to view my jsp page in a web browser?

    you can change the address, because the address 8080 has already been used. open the file <CATALINA_HOME>/conf/server.xml , replace all 8080 by other value, like 1234.

  • Prob with running 2nd Servlet prog.

    Hi,
    I am new to Java. Recently I ran my 1st servlet program. I have also run my 2nd servlet program using the following web.xml file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>Brat4</servlet-name>
    <servlet-class>Brat4</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Brat4</servlet-name>
    <url-pattern>/Brat4</url-pattern>
    </servlet-mapping>
    </web-app>
    However if i change the web.xml to:
    <?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/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>Brat4</servlet-name>
    <servlet-class>Brat4</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Brat4</servlet-name>
    <url-pattern>/Brat4</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>Brat</servlet-name>
    <servlet-class>Brat</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Brat</servlet-name>
    <url-pattern>/Brat</url-pattern>
    </servlet-mapping>
    </web-app>
    My 2nd servlet Brat4 runs but my 1st servlet Brat doesnt run. Somebody plz guide me about it.
    Zulfi.

    Example:
    <?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/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
      <servlet>
        <servlet-name>Brat4</servlet-name>
        <servlet-class>Brat4</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>Brat</servlet-name>
        <servlet-class>Brat</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Brat4</servlet-name>
        <url-pattern>/Brat4</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>Brat</servlet-name>
        <url-pattern>/Brat</url-pattern>
      </servlet-mapping>
    </web-app>

  • Run JSP under Apache?

    I know this is a dumb question but here goes...
    I've been running JSP/Beans/servlets with Tomcat - is it possible to do this using Apache as the HTTP server? I'm confused and am not finding the answers I'm looking for in the online docs or FAQ's.
    Thanks

    Thank you very much!. This is what I was looking for and could not find...

  • Problem running JSP / Weblogic 7.0

    Hi,
    I need some help with running JSP . Is there anyone out there who can help me with some of the troubles I am having with it. I am trying to deploy very simple application on Weblogic 7.0 . It does not use servlets - only JSPs. The structure is:
    myappl
    |-----META-INF
    | |_application.xml
    |
    |-----myweb
    |----WEB-INF
    | |_ web.xml
    |
    |_ hello.jsp
    Every time I try http://localhost:7001/myweb/hello.jsp I get 404 error. Please help me out. Do I need to change something in structure of my application or application.xml/web.xml config files???
    Please find below my config files.
    Thanks a lot !
    application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
    <display-name>myappl</display-name>
    <module>
    <web>
    <web-uri>mywebappl</web-uri>
    <context-root>/myweb</context-root>
    </web>
    </module>
    </application>
    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>
    <display-name>mywebappl</display-name>
    <description>no description</description>
    </web-app>

    Thank you for your help.
    Sorry, it's my typo, I use the following application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
    <display-name>myappl</display-name>
    <module>
    <web>
    <web-uri>myweb</web-uri>
    <context-root>/myweb</context-root>
    </web>
    </module>
    </application>
    What else need to be changed to fix the problem ???

  • Problem running JSP program on OAS 4.0.8.1 with JSP patch

    Hi all
    I've been running a JSP application on OAS 4.0.8.1 for a month now, but a week ago, when I updated a Java package on the server, the application will no longer run. The simple JSP pages with no bean-tags runs fine, but the ones with bean-tags doesn't work anymore.
    This is the error message:
    Request URI:/jsp/sag/login.jsp
    Exception:
    java.lang.VerifyError
    at java.lang.ClassLoader.resolveClass(Compiled Code)
    at oracle.jsp.app.JspClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at oracle.jsp.app.JspAppLoader.instantiatePage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.reloadPage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.loadPage(Compiled Code)
    at oracle.jsp.app.JspAppLoader.getPage(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    I've read on java.sun.com that verifyerrors normally is due to bad package-files, but I've rebuilt the package at least 10-times now, so thats probably not it. What could it be?
    The application runs fine in JDeveloper 3.1
    Thanks on advance,
    Christian Holm

    Hi,
    I am trying to run JSPs on OAS 4.0.8.1.
    I have installed JSP patch, downloaded form olab.com
    I am not able to execute JSPs. I am getting 2 different problems.
    1. If I call the JSP directly from browser, Netscape will ask for save option, it won't execute.
    2. If I call the JSP from another page with submit button, I am getting the following error :
    The requested access method is not allowed for that object.
    Same error for any JSP.
    The same problem for all the samples available with JSP patch.
    Hi chrholm,
    I already tested for 1 month, so
    could you please help me to configure OAS 4.0.8.1 for JSPs.
    Could you please send me mail : [email protected]
    Any help appreciated.
    Thanks,
    Naidu
    null

  • URGENT-CREATE A HTML FILE WITH AN STRING INPUT FROM THE RUNNING JSP

    I am designing a web page where the user enters a page after entering his/her login and password.The User should now be provided with a display page containing the servers that he has permissions for access.The servers that he has permissions are maintained in a database(a normal text file in UNIX).
    Till now the program has been complete for displaying the servers that are available to him.
    I need to create a HTML form containing these servers names in a check box so that when the user clicks thcheck box against the server name it should go to the server and get the password for the required server.
    THe intention from me is to create a HTML file that dynamically takes values from the running JSP means the server names as a string value to its input and then i can continue
    Please guide me in creating a HTML form based on the string output from the running JSP
    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
    DataInputStream in1 = new DataInputStream(fs);
    int fl=0;
    while (in1.available() !=0)
    String str1=in1.readLine();
    StringTokenizer st1 = new StringTokenizer(str1);
    String usernam=st1.nextToken();
    if (usernam.equals(uname))
    String ip=st1.nextToken();
    String host=st1.nextToken();
    fl=1;
    out.println("<tr><td>                                                                                              "+ host + "</td><td> " + ip +"</td></tr>");
    if (fl == 0)
    out.println("YOU HAVE NO SEVRER IN YOUR PROFILE !");
    in1.close();
    The host string here is the server name
    the ip is the ip address of the server
    Need to input these values to another HTML page that contains the check box list of the servers .
    once these are clicked i think i can pass on this to another JSP and retreive passwords
    Please guide me in this

    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
                                    DataInputStream in1 = new DataInputStream(fs);
                                    int fl=0;
                                    while (in1.available() !=0)
                                    String str1=in1.readLine();
                                    StringTokenizer st1 = new StringTokenizer(str1);
                                    String usernam=st1.nextToken();
                                    if (usernam.equals(uname))
                                    String ip=st1.nextToken();
                                    String host=st1.nextToken();
                                    fl=1;
                                    out.println("<tr><td>                                                                                              "+ host + "</td><td>          " + ip +"</td></tr>");
                                    if (fl == 0)
                                    out.println("YOU HAVE NO SERVER IN YOUR PROFILE !");
                                    in1.close();I feel sorry for the inconvenience that is caused as i am new to using these forums.
    I have here used a simple program to retreive the names of the servers that the users have acess to..
    I have here read the servername and server ip stored from a file in UNIX in the running JSP.Now i need to pass these string variables to HTML file and display it in a Check box format.the strings host and ip have to be passed to the input of the HTML file so that they can further be processed once they are clicked using another JSP.
    Can anybody please help me in Passing these strings from the running JSP and display it in a check box format

  • Problems running jsp files with tags on tomcat 4.0

    hi,
    i had some jsp1.1 stuff running on tomcat3.3.
    last week i moved to tomcat 4.0 , changed the tags to fit jsp1.2 and... everything is wrong now. while trying to run jsp with tags i get an error message (same for all files):
    ---->
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: (class: org/apache/jsp/djsp$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for function call
    <-------
    the jsp files with no tags and servlets are running ok.
    I NEED YOUR HELP!!!

    cyclid,
    i have the same environment setup and the same troubles. after searching the forums, it seems that there are others with the same, if not similar issues, yet no solutions. if you find the solution to this one, could you please post it. i would really appreciate it since i have been on this one for several days with no success. i even tried the helloworld jsp/custom tag examples from a jsp profession book that i have and that won't work.
    Anyone out there,
    if you have any idea why this problem exists, any solutions, ideas would be appreciated.
    thank you,
    navesink

  • NEWBIE SUPER EASY JSP / BEAN

    With about half a dozen books sitting around my desk, I can't get a REAL basic jsp to work. I FINALLY got tomcat to NOT give run time errors, however the web page simply outputs "This is output:" I know I am an idiot, but this JSP / bean stuff is upsetting. Any help on the following code would be great.
    basic.jsp is as follows:
    <jsp:useBean id="myBean" class="basic.basicbean" scope="session"/>
    <html>
    <head>
    <title>
    A Simple JSP
    </title>
    </head>
    <body>
    <%
    myBean.setBasicName("Michelle");
    %>
    This is output: <% myBean.getBasicName();%>
    </body>
    </html>
    basicbean.java is as follows:
    package basic;
    import java.beans.*;
    public class basicbean {
    private String BasicName=null;
    /** Creates new basicbean */
    public basicbean() {}
    public String getBasicName() {
    return this.BasicName;
    public void setBasicName(String value) {
    this.BasicName = value;
    Made the .java into the class put it in the basic directory under the classes/basic directory of the WEB-INF. The JSP page loads, but only output is: "This is output:" I am using Tomcat as the JSP server. "Core JSP" "Core Servlets and JavaServer Pages" "Advanced JavaServer Pages" "JSP, Servlets, and MySQL", and "Java Server Pages for Dummies" and I still can't get it. Thanks for helping out an idiot.
    -Jim

    You are very close; just a small error in the line:
    This is output: <% myBean.getBasicName();%>
    The problem is your just simply calling the method and tossing the return value. You have three ways of outputing the bean property:
    This is output: <% out.print(myBean.getBasicName();%>
    or
    This is output: <%=myBean.getBasicName()%>
    or
    This is output: <jsp:getProperty name="myBean" property="BasicName" />
    If you use the <jsp:getProperty> approach, then you must have a <jsp:useBean> somewhere above the getProperty tag.
    - Chris

  • Create jsp/bean webapp deploy fine...  add JSTL library wont deploy!

    winxp
    SJSE8
    PROBLEM:
    Using the new project wizard, I create a simple jsp/bean webapp using the embedded tomcat 5.5.7 as server... It deploys and runs with now issue
    Then, I right-click on project name (in project tree)... click properties... add library... select "JSTL 1.1".... do clean/build.... do deploy - which fails!
    message is: "Failed to deploy application at context path /bcd" (where bcd is my project name)
    Why does this happen?
    --------------simple app---------------
    ***jsp1.jsp****
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
        <h1>JSP Page</h1>
        <h1>get stuff JSP Page</h1>
        <jsp:useBean id="a" class="bcdpkg.IndexBean" scope="request"/>
        <h3>after1...</h3>
        <!--jsp:setProperty name="a" property="stuff" value="xxx" /-->
        <jsp:getProperty name="a" property="stuff" />
        </body>
    </html>***IndexBean.java***
    package bcdpkg;
    public class IndexBean
        /** Creates a new instance of IndexBean */
        public IndexBean()
        private String stuff = "this is stuff";
        public String getStuff()
            return this.stuff;
        public void setStuff(String s)
            this.stuff = s;
    }

    well.... I restarted SJSE8 (and tomcat 5.5.7) and now I can right-click on the project and click deploy...successfully.
    (Apologies for the "hair trigger" posting)
    I'll reply once more if it happens again.
    thanx

  • I have copied my iTunes library onto a new computer, but when I play back the songs there seems to be random "miss" or "drop out".  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    I have copied my iTunes library onto a new computer, but when I play back the songs using the new computer, there seems to be random "miss" or "drop out" during play back, similar to a small scratch on a vinyl record.  Although when I play the same song over again, the "miss" occurs in a different location during the song.  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    You don't say which version of iTunes you are using, but the symptoms you describe have been encountered by some users with the 64-bit version of iTunes 12.1.
    There is an alternative version for 64-bit editions of Windows here:
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address the most of the playback issues that some users have been reporting with the full 64-bit version of 12.1.0.77 - including problems with Bluetooth speakers where either sound is degraded or completely absent.  The alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer.  The "for older video cards" label appears to be something of a misnomer as some people have reported that this corrects problems found on current / high-spec systems.
    Some users have reported that after installing this alternative version it is necessary to adjust the "Play audio using" selection (normally to "Direct Sound" rather than "Windows Audio Session", though this may vary based on your audio hardware/drivers) in Edit > Preferences > Playback to restore glitch-free audio (one part of the reported symptoms is that the "Direct Sound" choice isn't available, usually in Windows 8).  It may also be necessary to ensure that your Bluetooth speakers are active and selected as the default audio device before you run iTunes.
    If this doesn't address the issue, you may want to think about reverting to iTunes 12.0 - see Turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for steps needed to completely remove all installed iTunes components, and for links to the 12.0 installers.

  • Error running jsp page through jdevloper

    Hi,
    I am a newbie trying to run jsp through jdev.It comes up with a error saying Error: /Documents and Settings/al/Desktop/jdev1012/jdev/booking/ViewController/public_html/ not contained in /Documents and Settings/al/Desktop/jdev1012/jdev/Booking/ViewController/public_html/index.jsp.
    Can some one help me.
    I am running on a winxp machine.
    jdev10g.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Hi, can any one know how to run .jsp application in weblogic 8.1

    hi,
    i am using weblogic 8.1 ,
    in weblogic 6.1 and 7.0 there is directory called default web apps under bea\user projects\application.we placed all .jsp file under here.
    now bea deleted this folder.
    now how to set of environment for run .jsp application using weblogic8.1
    can one may help thanks,
    jp reddy

    hi,
    i solve this one after check bea documnetaion.
    with regards
    jp

  • Airport connection probs with Mac Pro and 10.4.8  too.

    This prob is not just related to iMacs or MacBooks as published in the knowledge base doc. I have exactly the same prob with my 2.66 GHz Mac Pro. I have to reconnect this beast to my wlan router manually every time.
    PLZ Apple fix this asap!

    I had a similar problem which I've fixed!
    I have four machines here which can connect to my Netgear DG834N via Aiport. (I say can because they normally connect via ethernet.) My MacBook Pro always used to be fine when connected wirelessly but recently, not aware of any changes I've made, it connects for about 10 seconds then disconnects. All other machines are fine and hold the connection.
    This is what I tried before finding my solution:
    1) Deleted all references to the network in the keychain and remade them.
    2) Created another user to try
    3) Changed channels on the router even though I can't see any neighbour's networks.
    4) Made sure computer and router were up to date with firmware/software.
    I'm assuming that it has to be a computer problem as the PowerMac, iMac and iPod Touch have no issues at all. However, the cure was in the router.
    I run with SSID broadcast turned off, WPA2 encryption and MAC address filtering. Allowing broadcast of the SSID cures my problem. Turn it off and the computer connects then drops it ten seconds later. Turn broadcast on and it maintains the connection. I've tried it all afternoon, leaving it connected for about 30 minutes at a time before turning SSID broadcast off again. Works every time! Broadcast SSID - fine, no broadcast - drops after ten seconds.
    Now, if only I knew why! And why only the laptop?

Maybe you are looking for

  • Transferência de Exceção de PIS e COFINS na Nota Fiscal Eletrônica

    Pessoal, Quando tenho situações de exceção dinâmica para PIS e COFINS estes impostos não são transferidos para Nota Fiscal Eletrônica(J1B3N) e nem para o arquivo XML. As informações existem no documento de faturamento Gostaria de saber se alguem pass

  • I have subscribed to convert PDF to Excel and Word, I have followed your instructions and I get an error message all the time.

    I have subscribed to convert PDF file to an Excel or Word . I have followed your instructions to do so but I always get an error message. I have chated with one representative who suggested that I wait 24h before I try it again implying that my subsc

  • Standard LSMW for open vendor items with Withholding tax

    Hi All, I am searching the direct input LSMW which is having the Withholdig tax. There is a direct input program in LSMW ( RFBIBL00) but it is not uploaded the withholding tax for open vendor and open customer items. If anybody know which LSMW is rec

  • Open transactions (Total Balance due = 0)

    dears, i need your help with the following : we want a query which provide us with open transactions... what i mean with open transactions is the transactions where their Total Balance due = 0 from transaction screen.. i tried to get the tables from

  • Web Service: JME x XFire

    Hello, i want source WS:      public Collection<Book> list() {           Collection<Book> oBook = new ArrayList<Book>();           oBook.add(new Book("Jose", "Cear� vai virar mar", "197800"));           oBook.add(new Book("Teixera", "Cear�, terra de