#HTTP STATUS 500

1 messages · Page 1 of 1 (latest)

brazen stoneBOT
#

Hey, @rotund aurora!
Please remember to /close this post once your question has been answered!

earnest cove
#

I mean, you put a HttpServletResponse in the context, and then you try to read it as an int

#

I think you should expect that to not be right

earnest cove
#

Yes, sorry. In the request's attributes

rotund aurora
#

so idk how shoud i read another objects in this api im new in javaEE

#

@earnest cove

earnest cove
#

You should read them with their correct class

#

If you want to store an int, store an int and not an HttpServletResponse

#

If you want to read an HttpServletResponse, read an HttpServletResponse and not an int

#

That doesn't require a lot of expertise to get a hang on

rotund aurora
#

ok