Results 1 to 11 of 11
Thread: hello everyone
- 07-26-2012, 12:20 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
- 07-26-2012, 12:59 PM #2
Member
- Join Date
- May 2012
- Posts
- 7
- Rep Power
- 0
Re: hello everyone
Hi
Here is a good read for beans (EJB)
EJB Tutorial - Introduction To Enterprise Java Bean(EJB) with WebLogic server
- 07-26-2012, 02:38 PM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: hello everyone
1. They're talking about Beans, not EJBs. They are not the same thing.
2. That website is notorious for appallingly bad examples.
As for the OP, I have no idea what it is you are actually asking for?Please do not ask for code as refusal often offends.
- 07-26-2012, 03:19 PM #4
Re: hello everyone
Please go through the Forum Rules -- particularly the third paragraph.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 07-26-2012, 05:42 PM #5
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: hello everyone
If someone knows, what is a bean?
"Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 07-26-2012, 06:06 PM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: hello everyone
I am guessing a bit, but I'd say they mean a Java Bean, since they're talking about importing one into a JSP.
Please do not ask for code as refusal often offends.
- 07-26-2012, 10:09 PM #7
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
problem in getting the beans
<code>//first page
<html>
<head>
<title>View and Session</title>
</head>
<body>
<form method = "get" action = "JspAndSessionJsp.jsp">
Enter your first Name : <input type = "text" name = "firstName"><br>
Enter your last Name : <input type = "text" name = "lastName"><br>
Enter your email : <input type = "text" name = "email"><br>
Enter the address : <input type = "text" name = "address"><br>
<input type = "submit" name = "submit" value ="submit"><br>
</form>
</body>
</html>
//second page
<%@ page import = "MyBean.JspAndSession"%>
<html>
<body>
<h1>Your Request</h1>
Here is the information that you submitted to us for processing.<br>
<%
JspAndSession jas = new JspAndSession();
jas.setFirstName(request.getParameter("firstName") );
jas.setLastName(request.getParameter("lastName"));
jas.setEmail(request.getParameter("email"));
jas.setAddress(request.getParameter("address"));
%>
<% session.setAttribute("jas",jas ); %>
<a href = "J..">Click Here to go forward</a>
</body>
</html>
//in the third page of jspsessionview i am not able to get the data that i have send through first page..i have already built the beans..if u guys can have the code plz give it to me
</code>
- 07-26-2012, 10:10 PM #8
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
Re: problem in getting the beans
if u guys have any idea to do this plz reply
- 07-26-2012, 10:13 PM #9
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: problem in getting the beans
Sorry, I don't have any input for your problem.

But didn't you already post this thread here? --> hello everyone
Also, you're more likely to get a useful response if you ask a specific question. People won't give you the code."Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 07-27-2012, 09:42 AM #10
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: problem in getting the beans
Please use [code] tags [/code] when posting code, as that is unreadable without them.
Please do not ask for code as refusal often offends.
- 07-27-2012, 10:19 AM #11
Re: problem in getting the beans
Why do they call it rush hour when nothing moves? - Robin Williams


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks