Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

'm working on developing a server in java to embed it into a new programming language as a part of run time support. I don't want php/asp or any script support, but I need to send requests from html pages and get responses( like forms) is there any way i can just use html/ java script without any support from server side script ?

How did people use web forms before php/asp were discovered?

share|improve this question
    
They used Perl or C. –  Ignacio Vazquez-Abrams Mar 19 '12 at 7:07
    
I have lost you at the first sentence. –  Tom Wijsman Mar 19 '12 at 7:31
    
well I'm developing a web server written in java to support a new programming language called system jane i need the server to be responsive ,i.e; taking form data and responding but it cannot support php/asp .. so i need a simpler solution –  YBV Mar 19 '12 at 7:33
    
You have Java but you're not using JSP? –  Ignacio Vazquez-Abrams Mar 19 '12 at 7:43
    
well, the sever is wholly in one java file. So I'm basically confused on how to add asp support to it –  YBV Mar 19 '12 at 8:12
add comment

1 Answer

but I need to send requests from html pages

The only way to have a website send requests is either by the visitor going to another page or by an asynchronous call by Javascript. This is done using XHR, or using more advanced frameworks like doing a jQuery.post (or get depending on the type of request you want to sent).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.