You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2006/05/03 22:26:55 UTC

svn commit: r399406 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Author: remm
Date: Wed May  3 13:26:35 2006
New Revision: 399406

URL: http://svn.apache.org/viewcvs?rev=399406&view=rev
Log:
- Injection should occur before the setters (BTW, since simple tags are not pooled, performance
  will be bad; most likely some sort of caching is needed).

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?rev=399406&r1=399405&r2=399406&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Wed May  3 13:26:35 2006
@@ -2369,13 +2369,13 @@
             out.print(tagHandlerClassName);
             out.println("();");
 
-            generateSetters(n, tagHandlerVar, handlerInfo, true);
-
             // Resource injection
             out.printin("org.apache.jasper.runtime.AnnotationProcessor.postConstruct(");
             out.print(tagHandlerVar);
             out.println(");");
             
+            generateSetters(n, tagHandlerVar, handlerInfo, true);
+
             // Set the body
             if (findJspBody(n) == null) {
                 /*



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: problem in installing tomcat.

Posted by bossert <o....@gmail.com>.
Yoo,

Wrap you application in a war file including the packages you use and
deploy using tomcat manager... Use IDE like Eclipse to make war files...

Greetings O.

On Thu, 2006-05-04 at 09:28 +0530, shivani.anand@tcs.com wrote:
> Hi,
> I am new to JSP and Tomcat.
> this is a very basic question that I want to ask.
> i have installed the latest version of apache tomcat server using 
> apache-tomcat-5.5.12.exe
> (it ran the setup for me).
> 
> Now i want to deploy my application.
> I am able to make simple JSP pages which use inbuilt packages.
> But i have a package that i want to use.
> 
> I read about some manual changes that are to be done in the Classpath and 
> all.
> 
> could anyone please guide me.
> 
> I have read the document and also made changes but no luck.
> 
> none of my jsp,s are running(those that use my own classes).
> i think there is some change required in the settings.
> can anyone guide me through them.
> 
> It would be very kind.
> 
> Regards,
> 
> Shivani Anand
> 
> Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


problem in installing tomcat.

Posted by sh...@tcs.com.
Hi,
I am new to JSP and Tomcat.
this is a very basic question that I want to ask.
i have installed the latest version of apache tomcat server using 
apache-tomcat-5.5.12.exe
(it ran the setup for me).

Now i want to deploy my application.
I am able to make simple JSP pages which use inbuilt packages.
But i have a package that i want to use.

I read about some manual changes that are to be done in the Classpath and 
all.

could anyone please guide me.

I have read the document and also made changes but no luck.

none of my jsp,s are running(those that use my own classes).
i think there is some change required in the settings.
can anyone guide me through them.

It would be very kind.

Regards,

Shivani Anand

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you