• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem on url rewriting and cookies , what is differences  RSS feed

raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post
I have a problem with my hosted application , when i click on some of my
links in the web application
the server return an exception like :

java.lang.IllegalArgumentException: Path http://www.mysite.com/ does not
start with a "/" character

For example that come from clicking a link that change the language.
also i used dynamic forward creation
in the web site that i build . the above exception come when i click on
one of my flags
which produce a url like :


, but when the browser shows the exception if i click GO button of
browser again it will works fine.

I contact the host provider and ask them to give me some help (this
problem introduced after we
moved our web application to new host)
they said :

It looks like a bug in tomcat. Please force your application not to do
url rewriting and use cookies instead. This should solve your problem.

When i ask them about tomcat version they said :
its tomcat 5.5.15 , meanwhile my application works fine on tomcat 5.5.12
my questions are :
What that solution means ?
does tomcat 5.5.15 has that problem ?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!