Error in jsp program calling servlet variable

Posted by megala on Stack Overflow See other posts from Stack Overflow or by megala
Published on 2010-03-20T07:35:55Z Indexed on 2010/03/20 7:41 UTC
Read the original article Hit count: 182

Filed under:
|

hi i created one webapplication project.It containe one servlet file jsp file. I created one string variable in servlet and assign some value like

/* sampleservlet.java *******/ String s=" WELCOME"

My constraints I want to display the string in my jsp file.so that i import the servlet file inj jsp and i created object as ---call--- jsp file contain following coding

<%sampleservlet call ;%> <%call.s%>

But it shows error how to solve this?

© Stack Overflow or respective owner

Related posts about jsp

Related posts about servlets