Executing a JSP

Hi,
I have a JSP page which displays a list. Several links are created. These links go to another jsp page which executes some statements which modifies that list. And the end of that page I use the
response.sendRedirect("list.jsp") ;
The problem is that I don't see my modification in that list. I have to click on the refresh button before I can see the changes.
How can I prevent this?
Thanks

use javascript:
<script>
document.formname.action = "list.jsp";
document.formname.submit();
</script>
Grey

Similar Messages

  • How to execute a jsp instruction from a java class?

    How to execute a jsp instruction from a java class?
    Any help please.
    Thank's

    I'll detail my problem:
    Supposing that I have a jsp file called: start.jsp
    In the start.jsp I instanciated an object called global from the class Global ( for example ).
    Then, I called a custom taglib:
    <ix:mytag/>
    In the suitable tld file: the mytag is defined:
    <tag>
    <tag class>Tag1<.....
    The java file Tag1 has method:
    doStartTag(){
    // here is the problem
    global.doSomeFunctions();
    Okay, the problem is that the object gobal is not defined in the class Tag1. what to do?
    I think that I have to pass the object global as a parameter to the class Tag1. How to do that?
    Actually, the problem was to insert the follwoing in the doStartTag method:
    doStartTag(){
    pageContext.getOut().print("<%= hello world %>");
    The output is <%= hello world %> not hello world.
    Okay, the new problem is how to pass an object as a parameter to a class called from a tld file.
    Any help please.
    Thank's too much

  • How to execute a JSP Page?

    Hi Experts,
    I have created a Abstract portal Component JspDynPage.
    the JSP is created in <Componnet Name>/dist/PORTAL_INF/pagelet/test.jsp
    if i want to execute a JSP from the browser directly what will be the URL to execute this jsp page.
    Regards,
    Viswes

    Thanks for your immediate response.
    Actually ive uploaded the par file and also created the iView with respect to that par.
    Actually My Requirement is in my project i have created another jsp file.I want to open a pop-up window for this jsp to open.
    for this to open in new window im using JavaScript. onClick event iam calling this window.open("test.jsp");
    but it is throughing me an error saying not found.
    So i need to specify the correct path to execute this jsp.
    Can you Please guide me?
    Thanks,
    Viswes

  • Executing a jsp file from a local mahine

    Hi,
    I am totally new to jsp and javascript. I was wondering if you could tell me whether it's possible to execute a jsp file residing on a webserver from a normal java application on a local machine?
    I want to write a script that will reside in the root directory of my webserver, which when executed will write the directory structure to a text file, the java application then reads the file. Would this be possible?
    How would i go about executing the file on the webserver? i.e. what command would i use?
    Many thanks
    Please see a previous thread for more background info: -
    http://forum.java.sun.com/thread.jsp?forum=31&thread=230736

    Since no one replied I actually used my brain and found it is possible to 'execute' the jsp file by using a URL and an inputstreamreader: -
                   URL myUrl=new URL( webFile );
                   InputStreamReader in = new InputStreamReader(myUrl.openStream());
                   BufferedReader reader = new BufferedReader(in);
                   while ((inputLine = reader.readLine()) != null)
                   encryStr = encryStr + inputLine;
                   in.close();
                   return encryStr;
    This will return the info i wanted from the jsp file - which was a neater way then writing to a text file.

  • Problem in executing a JSP file that includes a Custm tag

    Hi,
    I am very new to JSP,especially custom tags. I tried to run my first custom tag program but i cud not succeed.
    I tried to run it using Tomcat as well J2ee1.3. But still cud not c the output.
    I have placed jsp file,TLD etc in Web inf of root dir and class file inside classes folder..but i got some error saying tag with prefix not found in the tag library...
    i tried in all the ways but all in vain... I will post my code and exact error i faced.. can anyone help me soon to see the output?
    WelcomCtag.java
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class WelcomeCtag extends TagSupport
         private String Name=null;
         public String getName()
              return Name;
         public int doStartTag()
              try
                   JspWriter output=pageContext.getOut();
                   output.println("Welcome" + getName());
              }catch(Exception e)
                   throw new Error("Encountered an errer");
              return SKIP_BODY;
         public int doEndTag()
              try{}
              catch(Exception e)
                   throw new Error("Encountered an errer");
              finally
                   return SKIP_PAGE;
    [u]example.tld[/u]
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>example</shortname>
         <info> A small example for usage of the tag library</info>
         <tag>
              <name> Welcome></name>
              <tagclass>WelcomeCtag</tagclass>
         <bodycontent>empty</bodycontent>
         <info>This tag is an example to display a welcome message</info>
         <attribute>
              <name>Name</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
         </attribute>
         </tag>
    </taglib>
    [u]WelcomeCustomtag.jsp[/u]
    <%@ taglib prefix="example" uri="./example.tld" %>
    <html>
    <title>Welcome Handler</title>
    </head>
    <body>
    <example: Welcome Name="Panduranga"/>
    </body>
    </html>
    and the error i get while executing is here..........
    org.apache.jasper.JasperException: /WelcomeCustomtag.jsp(6,0) No tag "" defined in tag library imported with prefix "example"
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1308)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1564)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    when i referred some other tutorials some have stored the tld file inside a folder called tags inside web inf and they have used like this <tags:example> etc and it wrked but if i want to specify some attributes i dunno how to give using <tags> style....
    Can anyone help me n tell me the difference in using tag like this <eample> and <tags: example> like this.....
    Thanks,
    Akshatha                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    1.
    Multiple tlds in web.xml
    Have multiple taglib elements in your web.xml - see below.
    <jsp-config>
      <taglib>
         <taglib-uri>http://example/taglib</taglib-uri>
         <taglib-location>/WEB-INF/example.tld</taglib-location>
      </taglib>
       <taglib>
          <taglib-uri>http://anotherexample/taglib</taglib-uri>
           <taglib-location>/WEB-INF/anotherexample.tld</taglib-location>
       </taglib>
    </jsp-config>The jsp-config element should be just after the servlet-mapping element in servlet 2.3 spec.
    For 2.4 spec, you can put it anywhere.
    In your jsp, to use the tags from the two tag libraries, use 2 taglib directives
    <%@ taglib prefix="example" uri="http://example/taglib" %>
    <%@ taglib prefix="anotherexample" uri="http://anotherexample/taglib" %>
    <example:tag1.................>
    <anotherexample:tag2.................> etc2.
    Mutliple tags per tld
    Have multiple <tag> elements in your tld.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
       <tlib-version>1.0</tlib-version>
       <jsp-version>1.2</jsp-version>
       <short-name>j2ee</short-name>
       <tag>
          <name>tagName</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name>OverlapTag</display-name>
          <attribute>
             <name>attr1</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
       <tag>
          <name>tag_2_Name</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name></display-name>
          <attribute>
             <name>attr1_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
    </taglib>
    Interesting snippet
    If you are using a 3rd party tag library, then the tags would come packaged in a jar file. The MTEA-INF directory of the jar file would contain the tlds and the tld would have an uri element. You can use it directly in the jsp without declaring the tld file in web.xml provided the jar file is in your classpath.
    For example, take the struts tag libraries, say the logic tags.
    The struts.jar contains, among other things, the tag class files and the tld files (inside /META-INF/tlds)
    All you have to do is put Struts.jar in the classpath (easy way to do this is put it in the WEB-INF/lib directory of your web-application).
    The jar file has struts-logic-1.1.tld in the META-INF/tlds directory.
    This tld file looks like this
    <taglib>
    <tlibversion>1.2</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>logic</shortname>
    <uri>http://jakarta.apache.org/struts/tags-logic</uri>
    ..................Now to use the tags in your jsp, you dont require the tld mappings in web.xml using the uri above in the taglib directive in your jsp
    <%@ taglib prefix="example" uri="http://jakarta.apache.org/struts/tags-logic" %> cool, right ? :)
    This is how you should pkg your own tags too. The tag classes have to be jarred and the tlds should go into the META-INF of the jar so that other users can simply add the jar to the cp and start using your tags.
    cheers,
    ram.

  • Error when I executed my JSP page

    Hello,
    I have installed in my machine o OracleAS e o OracleDS. I created a JSP page using Reports Builder. When I try run my page, after some time, the following error message is displayed in the browser:
    Reports Error Page
    Wed Jun 19 10:08:29 BRT 2002
    javax.servlet.jsp.JspException: REP-51002: Falha na Ligagco ao Servidor de Relatsrios rep60_mariana
    javax.servlet.jsp.JspException: REP-51002: Falha na Ligagco ao Servidor de Relatsrios rep60_mariana
         int oracle.reports.jsp.ReportTag.doStartTag()
         void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    Someone could help me?
    Thanks.
    Carla

    hello,
    this error message is when the report cound not contact the specified report server. since you are saying you are on windows NT i assume you try to run the report using the OC4J instance that comes with iDS.
    take a look at the HOW TO article "How to Execute Oracle9iAS Reports Services from Oracle9iDS" in Getting Started with Oracle9i Reports (http://otn.oracle.com/docs/products/reports/htdocs/doc_library/getstart/GettingStarted/whatsnew.html)
    it describes the necessary configuration you have to do to run a report there for testing.
    regards,
    philipp

  • Also VERY frustrated:  No java-code executing within JSP

    Hi!
    I'm completely frustrated at last! It must be possible to install tomcat/apache correct but I'm not able to do so!
    New problem:
    I try to view a jsp with IE6 by selecting File\Open. If I choose the copy at '\tomcat\webapps\examples\WEB-INF\jspjbex4.jsp' suddenly Dreamweaver opens and show me the code of 'jbex4.jsp'. When I open a copy of jbex4.jsp located anywhere else on my computer the jsp is shown, but the problem is: No javabean-code is used although it is coded correctly.
    I guess the problem is with some classpath or something quite simillar. When I try to view the examples delivered by tomcat I've got the same problem: Whereever there should be output generated by java-code (e.g. by calling a method like <%= test.getDM() %>) there's nothing!!!!!
    So I checked if apache is working correctly. The test page is shown correctly. So the error must occure somewhere under tomcat. But when starting tomcat I receive no error message..
    Can anyone please help me?
    Thanx a lot!!!!!
    p.s. Yes, 'Normal' java-code is executed fine!

    With tomcat 1.3.3 you place the xml file with the context mapping in the conf folder under the tomcat install directory. You must give the xml file a name that starts with "apps-" followed by something unique, followed by ".xml". So for examle apps-testapp.xml is good. Inside the xml file place the code I gave you above then restart tomcat. Make sure to change the docBase value to the directory that contains your WEB_INF folder and change the path to whatever you want. If the path is set to "/" then you would use the url http://www.yourdomain.com/yourjsp.jsp. If the path is set to "/TestApp" then you use the URL http://www.yourdomain.com/TestApp/yourjsp.jsp.
    For newer version of tomcat I am not sure exactly where the context mapping goes. Instead of in an apps-xyz.xml file it might go in tomcats server.xml file which should also be in the conf directory in the tomcat install directory.
    Each webapp has its own config file which should be at /WEB-INF/web.xml. Look on google or something about that. All your classes go in /WEB-INF/classes/package.name/class.class.
    Put your class files into packages!
    for you you should put your bean at /WEB-INF/classes/testpackage/JspTest.class.
    In the code for JspTest.java place "package testpackage;" at the top then recompile. In your JSP file use <jsp:useBean id="ex4" scope="session" class="testpackage.JspTest" />
    -S-

  • Execute a jsp

    Hello,
    in the order Webapps i have created an order with the name
    Test . in Test is a single JSP ( index.jsp)
    index.jsp
    <%@page contentType="text/html;charset=UTF-8" language="java"%>
    <HTML>
    <HEAD>
    <TITLE>Java Bean Test</TITLE>
    </HEAD>
    <BODY>
    <%
    for(int i=0; i< 10; i++)
    %>
    <h2>Hello</h2>
    <%
    %>
    </BODY>
    </HTML>
    by execute
    http://localhost:8080/Test/index.jsp
    ich become always followin error
    type Status report
    message /Test/index.jsp
    description The requested resource (/Test/index.jsp) is not available.
    why ???

    You need more for tomcat to know that your folder is an app (context).
    Test/WEB-INF folder
    Test/WEB-INF/web.xml file (see ROOT/WEB-INF/web.xml) for an example.

  • Error when executing a jsp from a screenflow

    I am getting the following exception when I try to run my jsp:
    Tomcat error: 'ApplicationDispatcher[workspace] Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Invalid BPM Object context key
    ----- Root Cause -----
    fuego.xobject.util.InvalidContextKey: Invalid BPM Object context key
    at fuego.xobject.util.XOContext.setJSPContext(XOContext.java:24)
    I traced the issue to a line in my jsp below:
    <f:invoke var="${loc_tpData}" methodName="getTxtDepartureCountryValues" retAttName="txtDepartureCountry" retAttScope="Session" />
    Could someone tell me what I am doing wrong please?
    Thanks.
    -muktech

    Has anything changed in the naming of the instance variable as I am encountering the same problem. My code used to work fine under 5.7 but it does not seem to be possible to access the variable using the syntax ${varnamefromscreenflow}.

  • Executing a jsp from a servlet

    Hello all
    I am a starter to JSP.
    In an application I am developing, I have a servlet which receives a request from a form. If the user asks for a tabular representation of data (from the database), I want to use a JSP to display such a table since that way, I do not have to write all those out.printlns used in a servlet.
    So is there a way to either pass control to a jsp from a servlet? I want to pass a hashtable and some data to the jsp from the servlet.
    Please help with possible suggestions and code.
    thanks a lot....
    Mahesh :)

    There is the RequestDispatcher object to forward request to another resource (as servlet or jsp).
    If in your servlet you code:
    RequestDispatcher rd=getServletContext().getRequestDispatcher("your JSP URL");//instantiate a RequestDispatcher object
    //sets Hastable as request attribute
    request.setAttribute("yourAttributeName",yourHashtableName);
    rd.forward(request,response);//forwards control to jsp
    In your JSP you will retrieve Hashtable by following code:
    Hastable ht=(Hashtable)request.getAttribute("yourAttributeName");

  • Problem while trying to execute Java class in JSP using  RunTime Class

    Hi,
    I want to execute a JAVA class through a JSP. For this I am using following code ....
    JSP (AAA.jsp) CODE ............
    try
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe" ;
    cmd[1] = "/C" ;
    cmd[2] = "java -DPeBS_CONFIG_HOME=D:/CASLIntegration/PeBS/srcvob/PeBS/config Service_Statement_Application 22/May/2001 22/May/2003";
    Runtime rt = Runtime.getRuntime();
    System.out.println("Execing " + cmd[0] + " " + cmd[1] + " " + cmd[2]);
    Process proc = rt.exec(cmd);
    // any error message?
    StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");
    // any output?
    StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
    // kick them off
    errorGobbler.start();
    outputGobbler.start();
    // any error???
    int exitVal = proc.waitFor();
    System.out.println("ExitValue: " + exitVal);
    catch (Throwable t)
    t.printStackTrace();
    StreamGobbler THread class Code ..........
    import java.util.*;
    import java.io.*;
    public class StreamGobbler extends Thread
    InputStream is;
    String type;
    StreamGobbler(InputStream is, String type)
    this.is = is;
    this.type = type;
    public void run()
    try
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null)
    System.out.println(type + ">" + line);
    } catch (IOException ioe)
    ioe.printStackTrace();
    I have successfully compiled and placed the class file for the above class in JSP's servlet engine. However, when I execute the JSP through explorer Web Browser, I get following compile time error:
    An error occurred between lines: 36 and 86 in the jsp file: /casl/LocalApp/VehicleServiceStmt/AAA.jsp
    Generated servlet error:
    D:\Tomcat\work\localhost\_\casl\LocalApp\VehicleServiceStmt\AAA$jsp.java:118: No constructor matching StreamGobbler(java.io.InputStream, java.lang.String) found in class StreamGobbler.
    StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");
    ^
    An error occurred between lines: 36 and 86 in the jsp file: /casl/LocalApp/VehicleServiceStmt/AAA.jsp
    Generated servlet error:
    D:\Tomcat\work\localhost\_\casl\LocalApp\VehicleServiceStmt\AAA$jsp.java:121: No constructor matching StreamGobbler(java.io.InputStream, java.lang.String) found in class StreamGobbler.
    StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
    I am unable to determine the reason of why the constructor which exists in the StreamGobbler Class is not recevied in JSP. If I try to write the same code in JSP as a JAVA class, keeping StreamGobler class same, the programme executes successfully.
    Please help me find solution to this at the earliest. Thanks in advance,
    Prachi

    Thanks,
    I got it working by making the constructor Public.
    -Prachi

  • I want to execute JSP scriplet in onClick function of the button HTML page

    in my JSP page, the code is like this...
    <input type="button" value="xyz" onClick="<% my jsp code%>">
    the jsp code is executing wen the page is loading..
    i want the jsp code is executed wen v click the button..
    can i write like this...if not how should i write.
    plz suggest me...
    Thanking you
    Sorry if i post this in a wrong forum....
    Edited by: Murthy_Srinivas on Jun 5, 2008 10:49 PM

    the jsp code is executing wen the page is loading..
    i want the jsp code is executed wen v click the button..Not possible(in the way you are trying to achieve). JSP codes are processed in the server and only processed data/results are sent to browser which you see in your screen. Browser cannot/willnot execute the jsp code.
    ...if not how should i write.The only way is to make a server call(eg: either submit a form, make a http request using Ajax etc)

  • Exception while executing JSP in TOMCAT

    Hi,
    I am new to Tomcat 5.0. I saved the JSP file in webapps/root folder. I have JDK1.3.1 and JRE 1.4.1. When I am executing the jsp, I am getting the following exception.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\test_jsp.java:9: cannot access java.lang.Object
    bad class file: C:\Program Files\Java\j2re1.4.1_03\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    implements org.apache.jasper.runtime.JspSourceDependent {
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         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:810)
    If I remove JRE 1.4.1 and install previous version i.e. 1.3.1, the tomcat server is not starting. How do I proceed. I need help in executing servlets also. I copied the tools.jar file into the common/lib folder.
    I am awaiting for the replies. Thanks in advance.
    sampath

    Hmmm. It seems that Tomcat is running on Java1.3, but trying to compile a JSP using Java1.4, which leads to problems.
    What have you set your JAVA_HOME variables to?
    Which version of Tools.jar did you copy to the common/lib folder?
    How do you start up tomcat? Shortcut or service?
    Copying Tools.jar is a bad thing to do in most cases (Yes, I know it told you to do that, but if it told you to format your harddrive would you do that too?) I would remove tools.jar, and see what happens then.
    Good luck,
    evnafets

  • JSP for executing scripts

    Hi
    Is it possible for jsp to execute shell scripts which connects the remote host .
    For example if i have a script which first connect to remote host ,fetch data from the host and give result back.
    Simply want to know if jsp can execute these shell scripts also or not.
    Thanks

    I donot think so that my question make less sense .Yes i know that JSP is run on server side .Remote host (to explain you better) means another server.
    I have a script which connect another server whenever it is run .The script is running properly when run from command prompt .
    JSP page can run shell scripts(which contains simple commands like ls ,ps , so on....) But when this particular shell script which connect another server to get result ,is executed through JSP did not work.
    Hope this make sense to you

  • Executing JSP Pages on IRIX

    Hi ,
    I wanted to know what is required for executing a JSP Page on IRIX systems .
    What plugins do i require for the same.

    A WebContainer like Tomcat and a Tomcat compatible JVM

Maybe you are looking for

  • One account on multiple devices

    Hello, I'm trying to figure out how to get one account on multiple devices. I know that a personal iTunes account is allowed on at least five devices but I'm trying to get one business account on say "100 devices" is this possible? Thanks in advanced

  • How to combine to similar taxes in smartform

    we want to add similar taxes and taxes amount also eg: item at 10 service tax(10.20%) = 10 item at 20 service tax(4.20%) = 4.8 item at 30 service tax(10.20%) = 10 here we want item 10 and item 30 amount to be added and that should be display in only

  • Error for starting up the ERP server - Dispatcher (disp+work.EXE) stopped

    Hi All,      We recently purchased and received a V3 Discovery System from Fujitsu.      We are having a problem starting the ERP server so that we can register the license key.      The problem is that the Dispatcher (disp+work.EXE) is not connectin

  • How do I open the 3D rendering settings panel in PS CS6?

    Hi all; Pls have a look here: http://helpx.adobe.com/nl/photoshop/using/3d-panel-settings-photoshop-extended.html Its the lower panel I mean, where the tools are found that in CS5 were in the toolbox. Thanks Maarten

  • Error after updating to logic 9.1

    So i just updated Logic to 9.1. After the update i started logic and the first thing i see is this error : [img]http://i45.tinypic.com/258mf4y.jpg[/img] What does this mean ?? Thx