aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Java file of a jsp in IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Java file of a jsp in IDE" Watch "Java file of a jsp in IDE" New topic
Author

Java file of a jsp in IDE

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
Hi i was just studying a bit more about the life cycle of jsp pages and i wanted to know is there a way in which i could examine the .java equivalent file of my .jsp page after it gets translated.
Since the .jsp page goes through the jasper translator to get a resulting .java file which gets executed in the _jspService(). Is it possible to read the code that gets placed in _jspService ??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Depends upon which container you are using.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
Tom Cat
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

You mean Tomcat.

Yes, Tomcat stores the generated Java files under its work folder.
Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
Well I dont see any files there ?? could it be because I am using eclipse for development and eclipse keeps it somewhere else ??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Please mention when you are using an IDE. IDEs are not the real world and using them changes much about configuration.

This has been moved the the IDEs forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java file of a jsp in IDE