Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Location of compiled JSPs in eclipse/websphere?

Thread view: 
Dundonald - 25 Sep 2007 22:39 GMT
I'm running websphere 5.1.2.  Does anyone know where the compiled JSPs
are stored so I can delete them whilst testing code?  It's horrible
having changed an include file for example and it's not picked up
because the main JSP is already compiled.

I did some googling and one suggestion was the <workspace>\.metadata
\.plugins\com.ibm.etools.webtools\Jsp2Java folder but this doesn't
work.

I also did a search in my entire workspace folder for "*<insert name
of JSP>*" to see if I could find anything compiled to delete but
couldn't.

Any ideas please let me know!

Thanks
Lew - 25 Sep 2007 23:50 GMT
> I also did a search in my entire workspace folder for "*<insert name
> of JSP>*" to see if I could find anything compiled to delete but
> couldn't.

Likely it's not under the workspace folder but under the WebSphere
installation folder somewhere, or perhaps in some temporary directory either
in the file system at large or in your home directory tree.  The JSP name will
be mangled into the .java and .class file names, e.g., "index.jsp" might
become "index_jsp.java".  I don't know the WebSphere-specific incantation, but
it's along those lines.

For example, using Tomcat I find http://localhost:8080/appname/profile.jsp
translated into

$CATALINA_HOME/work/Catalina/localhost/appname/org/apache/jsp/profile_jsp.java

Signature

Lew

Dundonald - 26 Sep 2007 00:14 GMT
> > I also did a search in my entire workspace folder for "*<insert name
> > of JSP>*" to see if I could find anything compiled to delete but
[quoted text clipped - 14 lines]
> --
> Lew

Excellent, thanks. Did another search and found under the etools
server directory structure inside my workspace.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.