PHP-like out.print functions in JSP

Source: Internet
Author: User
I rookie, have not used JSP, their own Baidu a bit, feel out.print and Echo almost,

But with the echo server, there's nothing to say, prompt return: null

Ask the Great God to guide you.


Reply to discussion (solution)

Out.print is a stream of server-side output to the client's browser
Equivalent to PHP's
Ob_start ();
Echo

I don't know what you're talking about.
It's with Echo server. No, PROMPT returns: null

Is his platform to send me an asynchronous notification, need me to return a success or error, they are written in JSP Out.print (), I am PHP, asynchronous notification has not been successful, the cause of the error prompt return: null

How do you pass the value of the past, how to receive the value?

Out.print is a stream of server-side output to the client's browser
Equivalent to PHP's
Ob_start ();
Echo

I don't know what you're talking about.
It's with Echo server. No, PROMPT returns: null



How do you pass the value of the past, how to receive the value?





He is the equivalent of direct access to my Web page (the address of the page is set), I just need to find a function like Out.print, output success or error
On the line.

The test?? Http://www.w3school.com.cn/php/func_string_printf.asp

You just have to echo.
As to why it would be null, it depends on your program.

Returning NULL is OK with what output function you are using!
Echo Print_r ....
Can be output to the browser is no problem! It's supposed to be your program reception.

At last it was the opposite of the firewall, I said ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.