Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSP and the fly likes why parameter cause problem ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "why parameter cause problem ?" Watch "why parameter cause problem ?" New topic

why parameter cause problem ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 465
hi, good day everyone, i have recently found a problem and caused javascript problem (syntax error), which happen because of

however, after i make response.sendRedirect("page1.jsp? msg="+msg);

which have space after "?", and it solved the problem ...can i know what caused the error ?

thank you for guidance
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

You are getting an error, but don't show us the error.

The error is in your Javascript, but you don't show us the Javascript.

Our work here is done.

[Asking smart questions] [About Bear] [Books by Bear]
Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 465
sorry for confusing, in starting of page1.jsp

it have

the error actually give me syntax error after tha page have redirect into page1.jsp , any idea ?
I agree. Here's the link:
subject: why parameter cause problem ?
It's not a secret anymore!