Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6872119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:53:16+00:00 2026-05-27T03:53:16+00:00

I have a struts2 web application . I am now testing my application in

  • 0

I have a struts2 web application.

I am now testing my application in LAN using tomcat after converting the project into a . war file with jsp, css, js and class files. And without java files.

But if anyone who is getting access to server can read the codes.

Is there any way to protect my codes?

Whether it can be deployed if I convert my codes into a single jar file?

Is there any tools available for securing my web application?

I have to host the project in a server at clients workspace.

Anyway I have to give access to an administrator at their office for emergency shut down or any other such cases.

There I want it to be protected.

If he is accessing my codes means it will be gone.

Can I use any software like folder lock? whether it will block tomcat from accessing the folder?

Thanks in advance..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:53:16+00:00Added an answer on May 27, 2026 at 3:53 am

    You have already asked this question as it has been told that you can take some steps to prevent things but its not possible to protect that 100%

    why you want to secure code and from whom??

    You could obfuscate and/or encrypt your .class files, but if they’re determined to get to your unobfuscated byte code, they almost certainly will.

    If you want to protect you HTML and java-script code then there are tools likeclosure-compiler

    for details refer this thread

    how-can-we-secure-our-web-application-codes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have struts2 web application. Right now I need embed with help of iframe
I am using struts2 for developing a web application. I have include the required
I am using Struts2 for a web application development. i have this particular problem
I'm using Java+struts2+JSP as the web application framework. I have to pass some huge
I have a struts2 web application which accepts both POST and GET requests in
I am developing a web application using Struts 2.1.2 and Hibernate 3.2.6.GA. I have
I have a Struts2 webapp, in which I compiled using the Tomcat 5.5 libraries.
In a web application using struts2 ejb hibernate, is it possible to tell the
I have a struts2 web application with tiles. I need to make header, sidebar
I have a Struts2 (2.1.8.1) web application. My web.xml looks like, <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.