Hello all,

I need to use mod_rewrite in jsp. I found that mod_rewrite works only in apache http server and not in tomcat. But java works only in tomcat server.

So I connected apache http server 2.2 with tomcat 6.0 using tomcat connector. It is documented that when we run php, it is run in apache server and in case of java, the apache server forwards teh request to tomcat to handle java.

I am using Netbeans IDE to code jsp and servlets and save the projects in some location.

My problem is that I don't know where to save the jsp project to run on apache server . Because in order to run through apache http server, we have to save the project in htdocs folder inside the apache installation directory.

I hope you can understand my problem.
please help me.

Thanks in advance,

yuvi