?
Solved

Source of JSP files ?

Posted on 2006-07-19
6
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 

Author Comment

by:pillmill
ID: 17148453
Thanks.

I've found a *.war file.

How do I read it ?

Phil
0
 
LVL 53

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

800 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