how to secure the web resourceses

I

itmohan2002

Hi,

Iam developing a web application using java, frame work struts.
I have to redirect the user, when he used to access site through
folder names.
EX :- www.mysite.com/jsp/registration/...

Now, it is showing 404 error page.
Now, i have to redirect it to home page, how can i do it?

Please help me to slove this issue.


Thanks,
Mohan
 
H

Hugo

Hi,

Iam developing a web application using java, frame work struts.
I have to redirect the user, when he used to access site through
folder names.
EX :-www.mysite.com/jsp/registration/...

Now, it is showing 404 error page.
Now, i have to redirect it to home page, how can i do it?

Please help me to slove this issue.

Thanks,
Mohan

You can set this in your web container; tomcat, jboss etc. Check out
the docs.
 
A

Arne Vajhøj

Iam developing a web application using java, frame work struts.
I have to redirect the user, when he used to access site through
folder names.
EX :- www.mysite.com/jsp/registration/...

Now, it is showing 404 error page.
Now, i have to redirect it to home page, how can i do it?

Please help me to slove this issue.

One option is to put all the JSP's under WEB-INF.

Arne
 

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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,096
Latest member
ThurmanCre

Latest Threads

Top