File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why page not display

 
Kia Phia Ben
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have two jsp page.
first page: login.jsp.

<html>
<head><title>Simple jsp page</title></head>
<body>Place your content here
<form action="https://localhost:7001/MyWebApp/get.jsp" method="post">
<input type="text" name="username">
<input type="password" name="passwd">
<input type="submit" value="OK">
</form>
</body>
</html>

and second page: get.jsp
<html>
<head><title>Simple jsp page</title></head>
<body>
<%
String username = request.getParameter("username");
String passwd = request.getParameter("passwd");
%>
<%=username%>
<%=passwd%>
</body>
</html>

Every tell me why the get.jsp not dispay after I input username,password and
click button Ok in login.jsp.
Thank for help me.
 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the error you are getting?
 
Shyam Kasthala
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the action tag of login.jsp, u have given "https" instead of http.Bye
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In the action tag of login.jsp, u have given "https" instead of http.Bye


To use HTTPS you got to make certain changes in the container. Search this forum and servlet forum with "https". You will get appropriate links.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic