answersLogoWhite

0

i dont no string for servlate

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

Write a C program to accept a string from user and display its ascii value and then display sum of all ascii value of strings?

//C program to accept a string from user and //display its ascii value and //then display sum of all ascii value of strings #include<stdio.h> #include <string.h> int main() { char String[100]; int Sum,Index; Sum=0; //Sum is initially zero printf("Enter the string:\n"); gets(String); //Accept String from User for(Index=0;Index<strlen(String);Index++) { Sum+=(String[Index]); //Adds (the ASCII values of) the String characters. } printf("The sum is %d\n",Sum); //Printing it as %d gives the equivalent ASCII value. return 0; }


How to Write a java program to display hello?

public class Hello{public static void main(String [] args){System.out.println("Hello");}}


How do you display the host name and ip address using Servlets?

The host name and the ip address is present in the HttpRequest object. Usually it is passed as an argument to the doXXX methods. public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { // Get client's IP address String ipAddress = req.getRemoteAddr(); // Get client's hostname String hostname = req.getRemoteHost(); }


How do you write a program in c to display numbers from 0 to 9 along with the string?

#include <stdio.h> int main (void) { puts ("0123456789"); return 0; }


Write a program that read and display double number?

class simple { public static void main(String[] args){System.out.println(new java.util.Scanner(System.in).nextDouble());} }


Write a function to reverse a string and to display it?

Yes.


Write a program to implement the various operations on string such as length of string concatenation reverse of a string copy of a string to another in VB?

what is string


Java program to give input of a string and display it?

import java.util.*; public class Example { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("Please enter a string:"); String input = in.next(); System.out.println("The String you entered is: " + input); } }


How do you declare a variable that stores happy new year or other greeting messages in visual basic 2010?

Declare a string variable to store the message value.For example:Dim message As String = "Happy New Year"Console.WriteLine(message)message = "Merry Christmas"Console.WriteLine(message)


C plus plus program to perform string manipulation?

You do not need to program string manipulation as it is already part of the standard library. See std::string and std::wstring.


What is the term used for a string that appears in the actual code of a program?

string-literal


What term is used for a string that appears in the actual code of a program?

string-literal