Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing Parameters to JSP page from HTML page  RSS feed

Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi anybody can help me to solve this problem.
i am getting an error page when i pass parameters to jsp page from html page.
this is my HTML page and i am giving my name here
<title>Jsp page</title>
hello how r u
<form ACTION="abc1.jsp" METHOD="GET" >
if you don't mind me asking what is ur name
<input type=text name="name"><p>
<input type=submit>
This is my JSP page, and i am passing parameters to this page.
And i mentioned HTML and JSP pages in PUBLIC_HTML directory in weblogic server.
i configured weblogic server with jsp page settings, i started the weblogic server, and i given url like this
and i am getting the second page like this with an error page.

<title> first jsp page</title>
<% if(request.getParameter("name")==null){
out.println("hello world");
out.println("hello, "+ request.getParmater("name"));

can anybody help me out with this problem
Ranch Hand
Posts: 73
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!