This is still an issue - I'm trying to get a client to live... This syntax
error really doesn't help me actualy fix the problem....

Please help somebody... This is a disaster right now.

Alex.

On 6/12/06, Alex Turner <[EMAIL PROTECTED]> wrote:

It looks like it's generating the following function:

  private boolean _jspx_meth_mp_dynselect_0(PageContext
_jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  mp:dynselect
    com.mintpixels.web.helper.Dynselect _jspx_th_mp_dynselect_0 = new
com.mintpixels.web.helper.Dynselect();
    _jspx_th_mp_dynselect_0.setJspContext(_jspx_page_context);
    _jspx_th_mp_dynselect_0.setFoo(([Ljava.lang.String
;)org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager([
Ljava.lang.String;.class, "foo", "Selling,Refinancing"));
    _jspx_th_mp_dynselect_0.setName("selling_refinancing");
    _jspx_th_mp_dynselect_0.doTag();
    return false;
  }


Is it just me, or does the line: _jspx_th_mp_dynselect_0.setFoo(([
Ljava.lang.String
;)org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager([
Ljava.lang.String;.class, "foo", "Selling,Refinancing"));

got a couple of syntax errors?

Alex


On 6/12/06, Alex Turner < [EMAIL PROTECTED]> wrote:
>
> I have the following lines in my source file:
>
> <%@ taglib prefix="mp" uri="com.mintpixels.web.helper" %>
> [snip]
> <mp:dynselect values="Selling,Refininancing"
> name="selling_refinancing"/>
>
> When I run the jsp, I get the following errors:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
> Generated servlet error:
>
>
> Syntax error on token "[", delete this token
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
> Generated servlet error:
> Syntax error on token ";", delete this token
>
>
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
> Generated servlet error:
> Syntax error, insert ")" to complete Expression
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
>
>
> Generated servlet error:
> Syntax error on token ";", delete this token
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
> Generated servlet error:
> Syntax error, insert "]" to complete Expression
>
>
>
> An error occurred at line: 69 in the jsp file: /free_home_valuation.jsp
> Generated servlet error:
> Syntax error on token ")", delete this token
>
>
>    org.apache.jasper.compiler.DefaultErrorHandler.javacError
>
> (DefaultErrorHandler.java:84)
>    
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
>    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
>    org.apache.jasper.compiler.Compiler.compile
>
> (Compiler.java:288)
>    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
>
> :563)
>    
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>    org.apache.jasper.servlet.JspServlet.service(JspServlet.java
>
> :264)
>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> If I comment the line out (jsp comment <%--) the code runs fine.
>
> Anyone come across anything like this, cos I'm fresh out of ideas? (I
> have deleted the work directory, restarted the server, re-copied all the
> application code into the webapps directory to ensure that there can't be
> any old code lying around).
>
> Alex.
>
>

Reply via email to