Struts: access resource in development directory even after pushishing

P

PC Leung

After downloading the register-complete.war from manning/husted web site,
I change it to Struts 1.1 version from Struts 1.0.

In the UserDirectory.java, I change it like this
I develop it under d: drive.

I make use of Tomcat web application manager to deploy to c: drive,
however, it accesses the old resource file (user.properties) in
development d: driver, instead of production c: driver.

I do not hard-code the path or driver letter inside codings.

How can I solve it?
thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top