File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why parameter cause problem ?

 
Nakata kokuyo
Ranch Hand
Posts: 465
  • 0
  • 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: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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: 465
  • 0
  • 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 ?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic