tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: (newbie question) missing classs file?
Date Tue, 18 Aug 2009 20:04:19 GMT

did you look at
 $TOMCAT_HOME/work/Catalina/localhost/WEBAPPNAME/org/apache/jsp/
JSPNAME_jsp.java
JSPNAME_jsp.class

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




> Subject: RE: (newbie question) missing classs file?
> Date: Tue, 18 Aug 2009 12:00:48 -0700
> From: tsakai@gallo.ucsf.edu
> To: users@tomcat.apache.org; users@tomcat.apache.org
> 
> Hi Dan,
> 
> > Are you reloading the pages from the server with the shift key?
> > The pages might be locally cached from your browser.
> 
> Shift or no shift, it makes no difference.
> I told my browser to dump the cache then hit pages again.
> No difference.
> 
> I doubt this is a cache issue.  If that's the case, why does
> it reflect my hack (double "Hello!") and no class file?
> 
> I am confused.
> 
> Tena
> 
> 
> -----Original Message-----
> From: Daniele Development-ML [mailto:daniele.dml@googlemail.com]
> Sent: Tue 8/18/2009 11:51 AM
> To: Tomcat Users List
> Subject: Re: (newbie question) missing classs file?
>  
> Are you reloading the pages from the server with the shift key?
> 
> The pages might be locally cached from your browser.
> 
> Dan
> 
> On Tue, Aug 18, 2009 at 7:48 PM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
> 
> > Hi,
> >
> > I am new to tomcat and jsp.  I appologize in advance my lack of knowledge,
> > but I would appreciate some poninters.
> >
> > I am running tomcat 6.0.14 on redhat linux.
> >
> > After reading a few pages of documentation, I tried:
> > http://localhost:8080/sample
> >
> > It rendered what's in $CATALINA_HOME/webapps/sample/index.html,
> > which included 2 hyperlinks: "JSP page" and "servlet".  Both
> > links worked fine.
> >
> > Then I found a file
> > $CATALINA_HOME/webapps/sample/WEB-INF/classes/mypackage/Hello.class.
> > I removed this class file and hit the same url as before (
> > http://localhost:8080/sample),
> > and each of the "JSP page" and "servlet", expecting the error from tomcat.
> >
> > To my amazement, they both worked.
> >
> > Question number 1: Where is the executable class file?
> >
> > Then I went on to modify hello.jsp in $CATALINA_HOME/webapps/sample
> > directory.
> > I added extra string "Hello!" to what used to be:
> > <%= new String("Hello!") %>
> >
> > Tomcat gave me what I expected: double Hello's.
> > I thought it might have generated a class file.  But there is no class file
> > anywhere under $CATALINA_HOME/webapps/sample directory?
> >
> > Question number 2: Why does this work?
> >
> > Thank you in advance.
> >
> > Regards,
> >
> > Tena Sakai
> > tsakai@gallo.ucsf.edu
> >
> 

_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message