java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
Haroon Chaudhry
Sent: Saturday, September 18, 2010 12:15 AM
To: dfpark...@yahoo.com
Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: Re: [jav
Hi,
Try getting in habit of using tags. Java code in "view" is not a good idea.
You can do same as follows:
Administrator
You will need to define tag lib if you have not already done that.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>
Hope this helped.
Haroon
On F
See further info on string comparison
http://leepoint.net/notes-java/data/expressions/22compareobjects.html
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html
This format is preferred - equals or compareTo; e.g.,
<%
if(sSAPNo.equals("01199")){
%>
Administrator
<%
}
%>
On
Hi Nelson,
Try like this
<%
if(sSAPNo = "01199"){
%>
Administrator
<%
}
%>
On Fri, Sep 17, 2010 at 9:12 AM, Nelson Rodrigo - LHQ <
nelson.rodr...@loadstarlk.com> wrote:
> Dear Friends
>
>
>
> In my JSP I want to use as follows, like sSAPNo = "01199" then only
> display that link tag.
>
> So fr
Dear Friends
In my JSP I want to use as follows, like sSAPNo = "01199" then only display
that link tag.
So friends how can I code that\\\
<%
if(sSAPNo = "01199"){
Administrator
}
%>
Thanks & Kind Regards,
Nelson Rodrigo
Executive – Software Development
LOADSTAR (PRIVATE) LIM
Hi all
i need a calendar with week view , month view and year view
and user can able to book appointments for the day at different times
Any ideas or links will be helpful
it should be simillar to http://openfaces.org/compatibilitydemo/calendar.jsf
and user can see weekview , month view and y
Hi all,
I think we can write methods in jsp scriplets,On compile all jsp
code will be stored in .class file in jspservice method,that means my
methods also go in jspservice
method,so if this is right then java should support inline functions.
--
You received this message because you
: [java ee programming] JSP/Servlet
Hi,
Thanks for response.
My comments are in // tags
Can you help
BR
Rafal
resultEdit.jsp
-
You need to give the servlet name and not the java file name (what you have
given in your web.xml)
// I have changed for
ResultEdit.java
- String action
EE) Programming with Passion! Sent: Mon, January 4, 2010 2:35:21 PMSubject: [java ee programming] JSP/ServletHi
Colleagues,I need your some help.In reference to my last e-mail I ask you to help me with test application.The idea is that after proper log in procedure the user will see the list w
To: Java EE (J2EE) Programming with Passion!
Sent: Mon, January 4, 2010 2:35:21 PM
Subject: [java ee programming] JSP/Servlet
Hi Colleagues,
I need your some help.
In reference to my last e-mail I ask you to help me with test application.
The idea is that after proper log in procedure the user
Hi Colleagues,
I need your some help.
In reference to my last e-mail I ask you to help me with test application.
The idea is that after proper log in procedure the user will see the
list with some sample states.
Then there will be possibility to add, edit and delete the records.
At this moment the
Hi,
The problem is solved.
BR
Rafal
Dnia 28-12-2009 o godz. 16:53 Rafał Laczek
napisał(a):
> Hi,
> I have prepared test application where after the log in the user can
> choose from combo box the country and then the chosen country is added
> to arraylist.
> Combobox is in html page and busines
Hi,
I have prepared test application where after the log in the user can
choose from combo box the country and then the chosen country is added
to arraylist.
Combobox is in html page and business logic and presentation layer are
in JSP.
Now I want to refactor the project in order the business lo
ming-with-pass...@googlegroups.com] On
> Behalf Of Rafal Laczek
> Sent: Sunday, December 20, 2009 9:22 AM
> To: Java EE (J2EE) Programming with Passion!
> Subject: [java ee programming] JSP/Arraylist
>
> Hi,
> My form.html is following:
>
> First name
> Su
Hi,
My form.html is following:
First name
Surname
Male
Female
Preferable country to live
Poland
Norway
Hungary
Vietnam
UK
France
And code in result.jsp is:
Person person1 = new Person();
person1.setFirstName(request.get
Hi,
This is main part of my result.jsp.
I have a problem to display the results from arrayList.
I wanted to do it by while loop.
Please help.
BR
Rafal
<%
ArrayList arraylist = (ArrayList)session.getAttribute("arraylist");
if(arraylist == null){
arraylist = new ArrayList();
session.setAttribu
Hi,
As the training I`making test application in JSP including small form.
The form in available on form.html and looks as follow:
First name
Surname
Male
Female
Preferable country to live
Poland
Norway
Hungary
Vietnam
UK
France
rySent: 16 December 2009 10:48To: rafal_lac...@wp.pl;java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: RE: [java ee programming] JSP and ServletsHi,I think u can get help from the link belowhttp://www.wdvl.com/Authoring/Java/Servlets/and also fromhttp://www.wdvl.com/Authoring/Java/Servl
.@wp.pl;
> java-ee-j2ee-programming-with-passion@googlegroups.com
> Subject: RE: [java ee programming] JSP and Servlets
>
> Hi,
> I think u can get help from the link below
> http://www.wdvl.com/Authoring/Java/Servlets/
> and also from
> http://www.wdvl.com/Authorin
Sent: 16 December 2009 10:48
To: rafal_lac...@wp.pl;
java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: RE: [java ee programming] JSP and Servlets
Hi,
I think u can get help from the link below
http://www.wdvl.com/Authoring/Java/Servlets/
and also from
http://www.wdvl.com/Authoring/Java
-programming-with-pass...@googlegroups.com] On Behalf Of
Rafal Laczek
Sent: Tuesday, December 15, 2009 10:31 PM
To: Java EE (J2EE) Programming with Passion!
Subject: [java ee programming] JSP and Servlets
Hi,
I'm looking for good materials with examples where I can learn JSP (more
important
, 2009 4:30 PM
Subject: [java ee programming] JSP and Servlets
Hi,
I'm looking for good materials with examples where I can learn JSP (more
important) and Servlets in deeper way than during this course.
Best regards,
Rafal
PS. Mam da C
Hi,
I'm looking for good materials with examples where I can learn JSP (more
important) and Servlets in deeper way than during this course.
Best regards,
Rafal
PS. Mam da Ciebie prezent na święta :)
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.w
I'm working on the homework from JSP Basics, September 21st and it states that
it "shouldadd another String type parameter called myparameter with value
"Passion!" to the request object." I have a String type paramter called
myparameter, but how do you give it the value "Passion!"? (I have ever
Hello all,
I am running on JSP 2.0 Custom Tags lession. After completion we have
homework ! But if we check on topic with homework assignment, we dont have
that homework listed !
Do we need to do that homework ? If yes,
I dont know why but i dont find TomcatJSPExample example as sample of my
Net
Hi,
I'm doing JSP Basics homework and encountered some problems. I
followed the steps and executed.
Then I got error from Sun GlassFish V2 saying that
cannot find symbol
symbol : variable username
When I look into that, I found like this. <%= username %>
So, I changed to ${param.username} and
where will this code redirect me?
i mean to the next line
or to the start of my code
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
Can someone please help me? I couldn't locate "Tomcat JSP Example' under
samples folder in my Netbeans IDE 6.5 as mentioned in JSP 2.0 Simple Tag
Handler and Tag files exercise 1 (Exercise 1: Build and run "Simple Tag
Handlers and JSP Fragments" part of the "Tomcat JSP Example" sample
applicati
I understand that servlet and JST technologies work together to the
web application design.
Although servlet works better to controlling and dispatching, and JSP
works better to displaying.
In the homework 3 only JSP files are used to build the basic web
application.
I did the homework 3 but I f
Hello everyone
I am a beginner in J2EE. At present, I am working on JSP Basics
lesson , but I have doubts. Can someone help me?
I had problems with Exercise 1 (hello1), sometimes I had a browser
screen error wit HTTP status 500, but now it is working OK.
I read that, in a real web application,
Hi All,
The JSP Basics lab tells us to modify the hello1 project and add:
Your hobby is ${param.hobby}!
The question is, what is this "param"? does it hold all request
parameters? If so, I presume that the name coming after param (in this
example: "hobby") is the name of the parameter that its
Hi All,
Correct me if I am wrong, but:
In the JSP Basics lab, section 2.3 (Modify "ErrorPage" example part of
the application), it seems that we are to create our own error page,
but the jsp that should invoke the error page does it using the
include directive and not using the JSP error handling
Hi, I am trying to direct someone to content that is accessible after
you search something on a jsp page(this jsp page has a search box,
which in turns invokes some search jsp). How do I enable that thru a
URL, so that they can maintain the look-n-feel as opposed to directly
navigating to a URL th
When I did the 4003 lab and run the index.jsp it ran fine. Then I thought
I'd apply the XML syntax for practice. However this gives me a strange error.
In Eclipse:
Syntax error on tokens, they can be merge to form &&;&&;
This is refering to the && in this block:
String username = request.getPara
34 matches
Mail list logo