• Post Reply Bookmark Topic Watch Topic
  • New Topic

error in running JSP in WebLogic server?

 
Sreedhar mar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i wrote a small JSP code for Square of a Number.
Runnig JSP in WebLogic server , error occurs

"10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
"
how to rectify it?
bye
sreedhar
 
Uma Balu
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How did you deploy??? Created a war file or deployed the folder itself??? If there is an uncaught exception raised, you may get that erro. Try using a error page, so that the exception will be known while invoking the page.
Regards,
Uma..
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65531
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Sreedhar M!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required; in particular initials for a last name are disallowed. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
Thanks!
bear
JSP Forum Bartender
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65531
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With regards to your question: was there more info available about the error? What you've posted isn't much to go on.
bear
 
Sreedhar mar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Uma Balu
i wrote a error page for that MySuare.jsp .

In Place of
505 error
It displays NULL.

what is the problem ?

bye
sreedhar
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65531
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sreedhar M, please be sure to adjust your display name as requested before any future posts.
thanks,
bear
 
Uma Balu
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sreedhar,
NULL represents a NullPointerException. May be you are trying to access some object which has a null value.
Uma.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!