• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP source file?

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

I'm using Lomboz-Eclipse IDE with Sysdeo plugin for Tomcat. I want to know from where I can find the jsp page source?? I have index.jsp, can anyone help me locating the index_jsp.java file???
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jothi,

The source will be there in the Tomcat Work directory. You can view them in the eclipse if you had added the tomcat work directory option using Sysdeo plugin.

Regards
Naveen
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using the same kind of setup?? Can you please specify the directory here and the exact location to it?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It shouldn't be too hard to find a Tomcat installation on your machine, should it?
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ulf,

I'm using Lomboz-Eclipse IDE with the sysdeo plugin for tomcat. With this kind of a setup, where can I find the jsp source?? I tried looking at the directories but was unsuccessful! So if anyone can help me, that would be great.
 
Naveen K Garg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please refer to following link in order to understand how to setup sysdeo plugin.

Tomcat Tutorial

Other link is not related to sysdeo plugin but related to Eclipse and WTP.

Eclipse WTP and Tomcat Tutorial

Hope this helps.

Regards
Naveen
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Naveen,

I'm talking about Lomboz-Eclipse IDE for Tomcat!
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Patience.

It's not Lomboz that's determining how webapps run, it's sysdeo. Sysdeo uses an external copy of Tomcat. I think you'll find the translated index.jsp in TOMCAT_HOME/Catalina/localhost/webappname, where TOMCAT_HOME is the path to the copy of Tomcat you installed and bound to the sysdeo plug-in, and 'webappname' is probably going to be the name of the WAR that you distributed your webapp in.

Normally you shouldn't have to look at the java translation of the JSP. They tend to be quite ugly, and the only human value they have is if you're having trouble making the JSP work and you want to verift that the generated code is what you think it should be. Also, keep in mind that once the JSP is translated, it's then compiled into a class, and the actual code that the webapp executes will be that class - changing the java code may not cause the class to recompile, although (depending on settings) changing the original JSP may.

For some versions of Tomcat, I've had problems with stale code. To remedy that, when I deploy, I'll generally delete the exploded WAR from TOMCAT_HOME/webapps and delete the work files from TOMCAT_HOME/Catalina/localhost.
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic