?
Solved

Source of JSP files ?

Posted on 2006-07-19
6
Medium Priority
?
204 Views
Last Modified: 2010-04-20
Hi:

I am trying to find the JSP files that manage a website and access a database.

In the web page source, is the URL statement:
url = (0059)http://10.0.0.99/rept/disp.jsp

The webserver appears to be "Resin".

I am having trouble finding the *.jsp files.

How would I find out where the webserver is locating these files ?

Thanks,
Phil Miller
0
Comment
Question by:pillmill
6 Comments
 
LVL 18

Expert Comment

by:Sam Panwar
ID: 17143565
Hi,

Are you have to access on server ???

If you are client then you can right click on the webpage and click on view source. You can get the path.

If your website on window then use

C:\domains\website\wwwroot
OR
c:\inetpub\wwroot\website\

Linux

\root\html_home\
0
 

Author Comment

by:pillmill
ID: 17147613
Hi:

Yes, I have access to the server.

The webserver appears to be Resin.

There is no /root/html_home.

A find ./ *.jsp does not turn up any jsp files.

Any ideas where the source JSP files could be located ?

Thanks,
Phil Miller
0
 
LVL 33

Expert Comment

by:shalomc
ID: 17148187
Look inside jar, or war, or ear files.

ShalomC
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 

Author Comment

by:pillmill
ID: 17148453
Thanks.

I've found a *.war file.

How do I read it ?

Phil
0
 
LVL 54

Expert Comment

by:Ryan Chong
ID: 17151827
>>I've found a *.war file. How do I read it ?

You can use software like Winzip to unzip a .war file! Good luck...
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 1000 total points
ID: 17157132
jar tvf your-file.war
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Screencast - Getting to Know the Pipeline
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question