This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why parameter cause problem ?

 
Nakata kokuyo
Ranch Hand
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 64696
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nakata kokuyo
Ranch Hand
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic