I replied about the same time Zack replied, didn't know he was taking care of 
this. 

From you recent reply, by compilation do you mean JSPC pre-compilation? Or on 
the fly compile?

Because I do get this error with on the fly compile (didn't try JSPC):
org.apache.jasper.JasperException: Unable to load class for JSP
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)

java.lang.ClassNotFoundException: org.apache.jsp.p.test2.test2_jsp
 java.net.URLClassLoader$1.run(URLClassLoader.java:200)

-Rashmi

----- Original Message ----
From: Xuekun Hu <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Monday, January 15, 2007 2:28:00 AM
Subject: Re: Questions about JSP programming


Hi, Rashmi, thanks for replying.

On 1/15/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote:
> I recommend SDN's JSP forum : http://forum.java.sun.com/forum.jspa?forumID=45
>
> And for JSP Tag Libraries this mailing list : 
> http://jakarta.apache.org/taglibs/#MailingLists
>
Great. Thanks again. :-)

> 1) I tested your jsp: include, both files returned the same size when tested 
> with Firefox's page size extension tool. I got 19KBs in both cases.
>    But if you just look at the size of test.jsp *before* it translates and 
> processes the request, it's size is 0.1 KB because of the code it contains.
>
I fixed it in another reply.

> 2) This syntax <%@ include file="request.getParameter("f")" %> , is not 
> correct. The correct syntax only allows a URL in the file attribute as shown 
> here:
> http://java.sun.com/products/jsp/syntax/2.0/syntaxref209.html#1003408  , 
> since the include is a directive and not a JSP action.
>
Yes, I know it's not very syntax correct. however, there is no error
in compilation. So I wonder maybe there is a deeper reason that it
doesn't work.

Thx, Xuekun

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to