""." expected" error when compiling jsp page

Hi all,
I moved to develop all my applications from IBM WASD to JDeveloper but when I compile the projects in JDev, there's error ""." expected" for nearly all jsp pages. But these jsp pages for sure are working very well since almost of them are in production.
Could you help me to get rid of this.
Thanks in advance.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page language = "java"
contentType = "text/html"
session = "true"
autoFlush = "true"
import = "java.util.*,java.sql.*,C_DBHandler"
buffer = "4kb"
isThreadSafe = "true"
info = "Common File"
%>
<jsp:useBean id="hndQuery" scope="page" class="C_DBHandler" />
<%
// these are the application settings included in the pages where needed
String txtQuery = ""; // SQL statement
String ipaddress = "";
String ipport = "";
String virtualdir = "";
String rowdisplay = "";
hndQuery.doConnect((String)request.getAttribute("DB_DRIVER"),
(String)request.getAttribute("URL_CONNECTION"),
(String)request.getAttribute("CMN.USER_ID"),
(String)request.getAttribute("CMN.USER_PASS"));
txtQuery = "select ip_address, ip_port, virtual_dir, row_display from xserver_config where environment='Live' and application='M13000'";
hndQuery.doSelect (txtQuery, 1);
if (hndQuery.getRowCount() > 0)
hndQuery.moveFirst ();
ipaddress = hndQuery.getColumn("IP_ADDRESS");
ipport = hndQuery.getColumn("IP_PORT");
virtualdir = hndQuery.getColumn("VIRTUAL_DIR");
rowdisplay = hndQuery.getColumn("ROW_DISPLAY");
request.setAttribute("CE_SERVER", ipaddress+":"+ipport+"/"+virtualdir);
request.setAttribute("ROW_DISPLAY", rowdisplay);
hndQuery.doDisConnect();
     hndQuery.finalize();
%><HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Studio">
</HEAD>
</HTML>
The jsp page is as above. And the error line is line 1. It 's always line 1 no matter what content of that line.

Similar Messages

  • " ')' expected " Error when compile jsp that use useBean tag

    I'm using JDeveloper 10.1.3 and I have a page with a next jsp tag
    <jsp:useBean id="objectid" type="package.MyClass" scope="application"/>
    When I compile this JSP page, I got the error:
    ')' expected
    If the application is deployed in the J2EE container like Tomcat or OC4J, the page works fine.
    Is this a JDeveloper bug?? What Can I do?

    The JSP page works fine in OC4J 10.1.2, but in the OC4J 10.1.3 it throws the same error.
    The soruce code that the container generates is this:
    if ((objectid= (package.MyClass) pageContext.getAttribute( "objectid", PageContext.APPLICATION_SCOPE)) == null) {
    throw new InstantiationException("No se ha encontrado el bean "objectid" en el ámbito "application"");
    The bug consist in the generation of the servlet source code. The double quotation is the problem, for that, the compiler generates the error ')' expected...

  • Error when requesting JSP page

    We have just finished getting our environment set up. We are running
    WebLogic 4.5.1 sp7 on a Sun server, and are frontending it with IIS 4.0
    SP6a using the iisproxy.dll WebLogic plugin.
    We can get things working for a while, but eventually, we get the
    following error in the NT event log when requesting the first JSP on our
    site:
    "Out of process application '/LM/W3SVC/1/Root' terminated unexpectedly"
    The Web server is still up, it's just when the JSP page is called that
    we get "Page can not be displayed" errors. Any HTML pages come up just
    fine. To fix the problem, we just stop and restart the Web Publishing
    service.
    Has anyone seen this error or does anyone know what events cause this
    problem?
    Thanks,
    -Mike

    There is a big difference between this;
    http://www.mydomain.com/blabla
    and this;
    http://www.mydomain.com/blah.jsp
    blabla - this is the name of the Web application. When you reference this Web application name Tomcat will check the welcom file descriptor and redirect for that web application.
    blah.jsp - is the name of a JSP page. When you reference this page the way you did above, you are not stating where the JSP page is located. It would be locatied in the "http://www.mydomain.com/blabla/blah.jsp" location.

  • .class expected error when compiling

    Ive been getting this frustrating error when compiling. My program is essentially supposed to add the values in two matrixes and return a new matrix using the added values
    Heres my code:
       public Matrix add(Matrix comp)
            int[][] temp = new int[this.numRows()][this.numCols()];
            for (int a = 0; a < comp.numRows(); a++) {
                for (int b = 0; b < comp.numCols(); b++) {
                    temp[a] = this.myCells[a][b] + comp.getVal(a, b);
    Matrix addedMatrix = new Matrix(temp[][]);
    return addedMatrix;
    heres the constructor for Matrix object:
      public Matrix(int[][] mat)
            int[][] myCells = new int[mat.length][mat[0].length];
            for (int i = 0; i < mat.length; i++) {
                for (int j = 0; j < mat[0].length; j++) {
                    myCells[i][j] = mat[i][j];
        }getVal, numRows, and numCols are all helper methods that just return values.
    The error is '.class' expected in the line which says Matrix addedMatrix = new Matrix(temp[][]); I checked for extra brackets but there dont seem to be any.
    Any help would be appreciated. Thanks.

    I think you just needMatrix addedMatrix = new Matrix(temp);

  • Automatic created Java file error when compile JSP file

    I got the following error message when i try to load the JSP file given below (FlightSearch.jsp). Given also below the JAVA files (flightsearch$jsp.java) created by the compiler.
    Thanks for your help
    Susan
    Error message
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:320: 'catch' without 'try'.
    } catch (Throwable t) {
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: 'try' without 'catch' or 'finally'.
    ^
    C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: '}' expected.
    ^
    3 errors, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    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:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    FlightSearch.jsp
    <%@page import="java.util.*" errorPage="ErrorHandler.jsp"%>
    <%@page import="com.client.entity.Flight"%>
    <%@page import="com.client.wsclient.FlightServiceClient"%>
    <H3>Available Flight List</H3>
    <br>We have found the following Available flight(s) : </br>
    <table border="0" cellpadding="0" cellspacing="0" width="100">
    <tr>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Company</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Flight Number</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Depart From<font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrive</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Departure Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Date</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Arrival Time</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Adult Fare</font></b></td>
    <td width="10%" bgcolor="#808080"><b><font color="#FFFFFF">Child Fare</font></b></td>
    </tr>
    <%
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getDestination()%></td>
    <td width= "10%"><%=flt.getArrive()%></td>
    <td width= "10%"><%=flt.getFrDate()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getToDate()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    %>
    <td width= "10%"><%=tot_A%></td>
    <td width= "10%"><%=tot_C%></td>
    </tr>
    <%
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    %>
    <tr>
    <td width= "10%"><%=flt.getFlightComp()%></td>
    <td width= "10%"><%=flt.getFlightNum()%></td>
    <td width= "10%"><%=flt.getFlightDpt()%></td>
    <td width= "10%"><%=flt.getFlightArr()%></td>
    <td width= "10%"><%=flt.getFlightDptDt()%></td>
    <td width= "10%"><%=flt.getFlightDptTm()%></td>
    <td width= "10%"><%=flt.getFlightArrDt()%></td>
    <td width= "10%"><%=flt.getFlightArrTm()%></td>
    <%
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    %>
    <td width= "10%"><%=totA%></td>
    <td width= "10%"><%=totC%></td>
    </tr>
    <%
    %>
    </table>
    flightsearch$jsp.java
    package org.apache.jsp;
    import java.util.*;
    import com.client.entity.Flight;
    import com.client.wsclient.FlightServiceClient;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    public class flightsearch$jsp extends HttpJspBase {
    static {
    public flightsearch$jsp( ) {
    private static boolean jspxinited = false;
    public final void jspxinit() throws org.apache.jasper.runtime.JspException {
    public void _jspService(HttpServletRequest request, HttpServletResponse response)
    throws java.io.IOException, ServletException {
    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String _value = null;
    try {
    if (_jspx_inited == false) {
    synchronized (this) {
    if (_jspx_inited == false) {
    jspxinit();
    jspxinited = true;
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html;ISO-8859-1");
    pageContext = _jspxFactory.getPageContext(this, request, response,
    "ErrorHandler.jsp", true, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    session = pageContext.getSession();
    out = pageContext.getOut();
    // HTML // begin [file="/client/flightsearch.jsp";from=(0,59);to=(1,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(1,43);to=(2,0)]
    out.write("\r\n");
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(2,58);to=(19,0)]
    out.write("\r\n\r\n<H3>Available Flight List</H3>\r\n<br>We have found the following Available flight(s) : </br>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\">\r\n <tr>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Company</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Flight Number</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Depart From<font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrive</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Departure Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Date</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Arrival Time</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Adult Fare</font></b></td>\r\n <td width=\"10%\" bgcolor=\"#808080\"><b><font color=\"#FFFFFF\">Child Fare</font></b></td>\r\n </tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(19,2);to=(66,0)]
    //Get the search information
    String des = request.getParameter("DFrom");
    String arr = request.getParameter("DTo");
    String fy = request.getParameter(FYear.value);
    String fm = request.getParameter(FMonth.value);
    String fd = request.getParameter(FDay.value);
    String f1 = fy + "-" + fm;
    String FDat = f1 + "-" + fd;
    String ty = request.getParameter(TYear.value);
    String tm = request.getParameter(TMonth.value);
    String td = request.getParameter(TDay.value);
    String t1 = ty + "-" + tm;
    String TDat = t1 + "-" + td;
    String type;
    if( request.getParameter(type[0].checked))
    type = "Return";
    else
    { type = "OneWay";
    String clas;
    if(request.getParameter(clas[0].checked))
    {clas = "ECO";
    else
    {clas = "BUSS";}
    String adult = request.getParameter(Adult.value);
    String child = request.getParameter(Child.value);
    //Get the server Flight Search Service URL
    // ServerFlightSearchBO SFSBO = new ServerFlightSearchBO();
    // ServerFlightSearch FlightSearch = SFSBO.getFlightSearchURL();
    // FlightSearchServiceClient FSearchServiceClient = new FlightSearchServiceClient
    String ServerFlightServiceURL = "http://localhost:7080/AServer/services/FlightService";
    //Find available Flight
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(des, arr, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(66,2);to=(68,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(68,21);to=(68,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(68,42);to=(69,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(69,21);to=(69,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(69,41);to=(70,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(70,21);to=(70,41)]
    out.print(flt.getDestination());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(70,43);to=(71,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(71,21);to=(71,36)]
    out.print(flt.getArrive());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(71,38);to=(72,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(72,21);to=(72,36)]
    out.print(flt.getFrDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(72,38);to=(73,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(73,21);to=(73,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(73,43);to=(74,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(74,21);to=(74,36)]
    out.print(flt.getToDate());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(74,38);to=(75,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(75,21);to=(75,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(75,43);to=(76,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(76,3);to=(87,1)]
    int adt, chld;
    int far_A, tot_A, far_C, tot_C;
    adt = Integer.parseInt(adult);
    far_A = flt.getAdultFr();
    tot_A = adt * far_A;
    chld = Integer.parseInt(child);
    far_C = flt.getChildFr();
    tot_C = chld * far_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(87,3);to=(88,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(88,21);to=(88,26)]
    out.print(tot_A);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(88,28);to=(89,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(89,21);to=(89,26)]
    out.print(tot_C);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(89,28);to=(91,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(91,2);to=(100,0)]
    if(type = "Return")
    FlightServiceClient client = new FlightServiceClient(ServerFlightServiceURL);
    ArrayList list = client.getFlight(arr, des, FDat, TDat, type, clas, adult, child);
    Iterator it = list.iterator();
    while (it.hasNext()){
    Flight flt = (Flight)it.next();
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(100,2);to=(102,18)]
    out.write("\r\n<tr>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(102,21);to=(102,40)]
    out.print(flt.getFlightComp());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(102,42);to=(103,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(103,21);to=(103,39)]
    out.print(flt.getFlightNum());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(103,41);to=(104,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(104,21);to=(104,39)]
    out.print(flt.getFlightDpt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(104,41);to=(105,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(105,21);to=(105,39)]
    out.print(flt.getFlightArr());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(105,41);to=(106,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(106,21);to=(106,41)]
    out.print(flt.getFlightDptDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(106,43);to=(107,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(107,21);to=(107,41)]
    out.print(flt.getFlightDptTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(107,43);to=(108,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(108,21);to=(108,41)]
    out.print(flt.getFlightArrDt());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(108,43);to=(109,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(109,21);to=(109,41)]
    out.print(flt.getFlightArrTm());
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(109,43);to=(110,1)]
    out.write("</td>\r\n ");
    // end
    // begin [file="/client/flightsearch.jsp";from=(110,3);to=(120,1)]
    int adlt, chd;
    int fare_A, totA, fare_C, totC;
    adlt = Integer.parseInt(adult);
    fare_A = flt.getAdultFr();
    totA = adlt * fare_A;
    chd = Integer.parseInt(child);
    fare_C = flt.getChildFr();
    totC = chd * fare_C;
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(120,3);to=(121,18)]
    out.write("\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(121,21);to=(121,25)]
    out.print(totA);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(121,27);to=(122,18)]
    out.write("</td>\r\n <td width= \"10%\">");
    // end
    // begin [file="/client/flightsearch.jsp";from=(122,21);to=(122,25)]
    out.print(totC);
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(122,27);to=(124,0)]
    out.write("</td>\r\n</tr>\r\n");
    // end
    // begin [file="/client/flightsearch.jsp";from=(124,2);to=(126,0)]
    // end
    // HTML // begin [file="/client/flightsearch.jsp";from=(126,2);to=(127,8)]
    out.write("\r\n</table>");
    // end
    } catch (Throwable t) {
    if (out != null && out.getBufferSize() != 0)
    out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
    } finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

    i am very glad and appreciate for your help, but i would like to know how to get the value of a radio button.
    like in another JSP file i have :
    <input type="radio" name="type" value="Return" checked>
    Return
    <input type="radio" name="type" value="OneWay">
    One Way
    and when i try to get the value which is checked, i put
    String type = request.getParameter(type.checked);
    but this doesn't work,
    i would be very appreciate for your help. Thank you

  • Tomcat - Error when executing JSP pages

    Hi,
    I installed tomcat 5.0.30 on a Windows XP os.
    I tried to write a simple JSP page, the classic "Hello World", but when I access the page, I obtain the following error message:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    javac: invalid flag: -source
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -O Optimize; may hinder debugging or enlarge class file
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -target <release> Generate class files for specific VM version
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    What can be the problem? I use JRE v. 1.4.2.
    Thank for any help.

    I use JRE v. 1.4.2.What is your JAVA_HOME variable set to?
    Do you have a full Java1.4 installation? - ie not just the JRE but the compiler as well?
    javac: invalid flag: -sourceThis message would indicate that the -source flag is invalid for javac.
    This flag was introduced with java1.4.
    Most probably you have a java1.3 installed on the machine confusing tomcat.

  • "quote symbol expected" error while calling jsp page

    Hi I am getting this exception when i try to call my jsp page
    org.apache.jasper.JasperException: /jsp/TestJSTL.jsp(17,14) quote symbol expected
         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:86)
         org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:198)
         org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:143)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1337)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
         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)
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%@ page isELIgnored="false" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <%request.setAttribute("temp","testvalue"); %>
    ${temp}
    <table>
    <tr><td>
    The value of the attribute is
    <c:out value=${temp} default=" No value is set " />
    </td></tr>
    </table>
    </body>
    </html>Please tell me why this is happending.

    I think line 17 should be:
    <c:out value="${temp}" default=" No value is set " />You left out the quotes around the value.

  • Warning - When Compiling .jsp pages under WEB-INF

    Created a directory jsp under WEB-INF and when i compile the jsp pages i get the following warning message
    Warning: package name web2d_inf._jsp does not match source file name C:\ProviderEnrollment\ProvEnrollView\classes\.jsps\_WEB_2d_INF\_jsp\_searchprovider.java
    Need help
    Thanks

    We have encountered this warning too.
    I'm not an Oracle employee, but it looks like there's a bug in JDev that preserves the case for the output directories but not for the package name that is supposed to correspond to the output directories.
    In any case, we haven't seen any runtime problems that seem to be related to this warning, so you may be safe to disregard it. It does foul up the build log though.
    Any JDev team members watching this topic are welcome to chime in with a confirmation and details of this apparent bug, as well as any workaround that might exist to avoid having the warning appear. Thanks!

  • Http 500 error when redirecting jsp pages

    hello all
    I hava a strang problem.My application is running on Apache tomcat 5.0 with the database MYSQL as back end. front end i use jsp techonology.
    when i am running in localhost the site works fine in fedora .
    But once i connect the site to something like www.baraginings.com.au i get http500 error when i am tring to redirect my pages.
    As far as i concerns the problem comes with this statment.
    response.sendRedirect("register.jsp");
    big help is needed to slove this problem
    thanks in advance
    /prash

    A 500 error usually means a runtime exception in the called JSP/Servlet.

  • Gateway Timeout error when running JSP page in 10.1.3 preview

    I am unable to run a JSF JSP page with nothing in it but text. I get an error in the browser:
    Gateway Timeout
    The following error occurred:
    [code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Retry the request.
    The url is:
    http://82.123.84.247:8988/ListProto2-ViewController-context-root/faces/test.jsp
    My laptop uses DHCP and 82.123.84.247 is currently my IP address. If I change the url to use localhost instead of the IP address, the page displays without error. I tried changing Tools -> Preferences -> Web Browser and Proxy to exclude the proxy for 82.123.84.247 (localhost was already excluded), but this didn't help.
    I saw a post from a year ago where someone had the same problem with an earlier version of JDev, so I don't think it is specific to the preview release. It must be some kind of setup problem. Unfortunately, no one responded to the other post.

    Hi Vicki,
    Under the main menu, pick:
    Tools | Embedded OC4J Server Preferences
    and visit the "Startup" panel in that dialog.
    For the "Host Name or IP Address Used to Refer to the Embedded OC4J" field, click the (*) Specific Host Name option, and type in "localhost" for the host name.
    That usually fixes it for me.

  • Idenifier expected error when compiling

    I am attempting running a selection sort at the moment .
    i wrote the following invoking method
    sort(characters, 0, characters.length-1); which passed the array characters and the first and last index of the array .
    The called method is :
    static sort (int a[], int left , int right )
    and the method code for the selection sort is as follows:
         for (int l =left ; l<right; l++)
         int p =l;
    int least =a[p];
         for (int k = l +1;k< right; k++ )
         if (a[k] < least )
         p=k;
              least =a[p];
    if ((p!=1)
    a{p} =a[1};
    a[l] = least;
    However when I try to compile I am getting the error : <identifier expected > static sort (int a[], int left , int right );
    ^
    I reckon I am missing something basic. would be glad of assistance

    Your method should return a datatype, or void.

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

  • HTTP500 error when loading jsp in SunOne (iPlanet) 6.1 SP2

    war file extracts and runs under iPlanet 6.0 SP7 on the same server and another server, however, I get the following errors in the error log when I attempt to load pages via the installation on SunOne (iPlanet) 6.1 SP2. Did 6.1 change how it compiles JSP pages or are there specific settings that need to be set in 6.1 that was not needed in 6.0?
    [06/Jul/2004:12:26:35] failure (18984): for host 10.8.16.243 trying to GET /LoginResponse.jsp, service-j2ee reports: ApplicationDispatcher[] WEB2649: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:443) at jsps.LoginResponse_jsp._jspService(_LoginResponse_jsp.java:114) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:675) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)
    [06/Jul/2004:12:26:35] failure (18984): for host 10.8.16.243 trying to GET /LoginResponse.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:8: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:9: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:10: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SunWebSrv/https-webinstance/ClassCache/https-webinstance/_jsps/_tree/_www_treeview_jsp.java:11: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:443) at jsps.LoginResponse_jsp._jspService(_LoginResponse_jsp.java:114) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:675) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)
    ****************************************************

    Also, to note....
    the deploy of the war file is going to /SunOne/installedApps/webinstance instead of the default locations.

  • Pragma error when compiling with SDK X

    Hi,
    I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
    The errors are listed here:
    Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
    Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
    Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
    Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
    Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
    To compile against to SDK X all I did was:
    1) Used PIMain.c from the SDK X API directory.
    2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
    3) Changed the include directories to point to the new SDK X directories
    Is there another directive I must add to get the plugin to compile with SDK X?
    My preprocessor list is as follows:
    ACRO_SDK_LEVEL=0x000A0000
    HAVE_W32API_H
    PDMETADATA_HFT=1
    PLUGIN=1
    WIN32
    WIN_ENV
    WIN_PLATFORM
    WXUSINGDLL
    _CRT_SECURE_NO_DEPRECATE
    _DEBUG
    _WINDOWS
    __GNUWIN32__
    __WIN32__
    __WXMSW__
    Thank you,
    Magda

    Without seeing your code, I can't really help.
    If you want help with your code, open a formal support ticket.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 6 Dec 2011 04:09:25 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Pragma error when compiling with SDK X
    Pragma error when compiling with SDK X
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378

  • Missing underscores when compiling JSP

    Hi all,
              I am running WebLogic 5.1 SP4 on RedHat Linux 6.2 and I have a problem
              when compiling my jsp pages.
              The problem is the package name created by the jsp engine. Say, I have a
              jsp page called index.jsp in a directory called public. The compiler
              ought to (I think) compile the page with the name public.index.java
              but it tries to compile it as public.index.java which isn't possible
              because the word 'public' is a reserved word in Java.
              So my question is:
              Is it possible to define the prefix of the name of the compiled jsp
              pages?
              And how do I do that?
              Thanks
              Peter Haldbæk
              [email protected] office +45 33 12 24 42
              CAPUT http://www.caput.com cellular +45 40 34 22 24
              

              Hi,
              I am working on 4.5.1. Do we have any Service pack to solve the same underscore issue when i compile files with weblogic.jspc
              Thanks in advance
              Jay
              Kumar Allamraju <[email protected]> wrote:
              >Yes. this was fixed in SP-5
              >refer http://www.weblogic.com/docs51/classdocs/README2.html#CR030406
              >
              >--
              >Kumar
              >
              >Peter Haldbæk wrote:
              >
              >> When I installed SP5 the problem was solved (jsp pages now compiles with
              >> underscore as prefix).
              >>
              >> Peter
              >>
              >> Peter Haldbæk wrote:
              >> >
              >> > Hi all,
              >> >
              >> > I am running WebLogic 5.1 SP4 on RedHat Linux 6.2 and I have a problem
              >> > when compiling my jsp pages.
              >> >
              >> > The problem is the package name created by the jsp engine. Say, I have a
              >> > jsp page called index.jsp in a directory called public. The compiler
              >> > ought to (I think) compile the page with the name public.index.java
              >> > but it tries to compile it as public.index.java which isn't possible
              >> > because the word 'public' is a reserved word in Java.
              >> >
              >> > So my question is:
              >> > Is it possible to define the prefix of the name of the compiled jsp
              >> > pages?
              >> > And how do I do that?
              >> >
              >> > Thanks
              >> >
              >> > --
              >> > Peter Haldbæk
              >> > [email protected] office +45 33 12 24 42
              >> > CAPUT http://www.caput.com cellular +45 40 34 22 24
              >>
              >> --
              >> Peter Haldbæk
              >> [email protected] office +45 33 12 24 42
              >> CAPUT http://www.caput.com cellular +45 40 34 22 24
              >
              

Maybe you are looking for

  • Ipod not recognized by iTunes 9

    I'm having the same issue with my 60GB 5g described by folks with Classic models: - iTunes starts on iPod connection - iPod shows up on desktop - iPod never shows up in iTunes - iTunes hangs with spinning beachball of death, requiring Force Quit No c

  • Warning upon transfer of quotation from external catalog to SRM

    Hello, We have implemented a punch-out catalog integration between our catalog and the client's SRM solution. However, we are facing an issue at the last stage of the integration - Upon transfer of the items from our catalog, SAP throws a warning mes

  • Deleted files automatically return

    Hi there, I have a strange problem. Somehow when I delete a collection of .torrent files (and empty secure my trash), after a while the deleted files 'automatically' return in my movies-folder. I want them deleted... What can cause this problem? It d

  • Hr forms ..global definetion is unknown

    hi, we moved a hr forms ..from one system to new system..but under global definetion.. we are getting errors saying Global Definitions     Type "/1PYXXFO/ZUSPY_CS0_PSLIP0___K0026" is unknown how define that structure...in hrforms...i know the structu

  • Duplicate index links

    Hi, We're using RH 7.03.001 for a project. When we generate our primary layout (FlashHelp), the index works fine until we post on our Intranet. Once it's posted, we link to the htm file and if you click on Index and then click on a keyword, the resul