File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes URL rewriting and static files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "URL rewriting and static files" Watch "URL rewriting and static files" New topic
Author

URL rewriting and static files

moneer mohammed
Ranch Hand

Joined: Feb 18, 2005
Posts: 66
when i have to use URL rewritng then what about static page(html)
may you will say i have to make it dynmicly
but is there anthor way




[BSouther: changed the subject to something meaningful]
[ March 22, 2006: Message edited by: Ben Souther ]

java_just
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The static files themselves won't need access to the session object.
If these static pages contain links to dynamic resources that do, then you will probably need to convert them to JSPs to insure that the sessionID is sent along with the request.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Also Moneer,

Please read this.
I've changed the subject of this thread for you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL rewriting and static files