[java ee programming] JSP Problem

2010-09-19 Thread Nelson Rodrigo - LHQ
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

Re: [java ee programming] JSP Problem

2010-09-17 Thread Haroon Chaudhry
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

Re: [java ee programming] JSP Problem

2010-09-17 Thread dfparker1
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

Re: [java ee programming] JSP Problem

2010-09-16 Thread Ramesh K
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

[java ee programming] JSP Problem

2010-09-16 Thread Nelson Rodrigo - LHQ
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

[java ee programming] JSP based Appointment Calendar

2010-07-26 Thread Siva K
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

[java ee programming] jsp scriplet interesting question

2010-03-22 Thread vinay basavanal
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

Re: [java ee programming] JSP/Servlet

2010-01-05 Thread Dillan Fernando
: [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

Re: [java ee programming] JSP/Servlet

2010-01-05 Thread Rafał Laczek
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

Re: [java ee programming] JSP/Servlet

2010-01-04 Thread Dillan Fernando
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

[java ee programming] JSP/Servlet

2010-01-04 Thread Rafał Laczek
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

PD: [java ee programming] JSP/Serwlet application

2009-12-28 Thread Rafał Laczek
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

[java ee programming] JSP/Serwlet application

2009-12-28 Thread Rafał Laczek
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

Odp: RE: [java ee programming] JSP/Arraylist

2009-12-21 Thread Rafał Laczek
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

[java ee programming] JSP/Arraylist

2009-12-20 Thread Rafał Laczek
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

[java ee programming] JSP /Displaying arrayList

2009-12-19 Thread Rafał Laczek
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

[java ee programming] JSP/Arraylist

2009-12-18 Thread Rafał Laczek
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

Re: [java ee programming] JSP and Servlets

2009-12-18 Thread Rafał Laczek
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

Re: [java ee programming] JSP and Servlets

2009-12-18 Thread Irtiza Ali
.@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

RE: [java ee programming] JSP and Servlets

2009-12-17 Thread James Boswell
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

RE: [java ee programming] JSP and Servlets

2009-12-15 Thread Md. Misbahul Alam Chowdhury
-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

Re: [java ee programming] JSP and Servlets

2009-12-15 Thread mohanbabu11
, 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

[java ee programming] JSP and Servlets

2009-12-15 Thread Rafał Laczek
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

[java ee programming] JSP Basics: value Passion! (???)

2009-10-12 Thread Kathleen Justice
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

[java ee programming] JSP 2.0 Custom Tags - Homework required?

2009-09-12 Thread Dhwani Patel
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

[java ee programming] JSP Basics Homework

2009-07-19 Thread Tin Htun Aung
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

[java ee programming] jsp

2009-06-26 Thread kumar.anuj...@gmail.com
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

[java ee programming] JSP 2.0 Simple Tag Handler and Tag Files

2009-04-08 Thread Tamilselvi Abbu
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

[java ee programming] JSP Homework working but with doubts.

2009-03-11 Thread cruzc
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

[java ee programming] JSP Basics lesson - hello1 questions

2009-03-06 Thread cruzc
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,

[java ee programming] JSP Basics - "param"

2009-02-17 Thread Extremely
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

[java ee programming] JSP Basics Lab - The error page lab is wrong

2009-02-17 Thread Extremely
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

[java ee programming] JSP URL question

2009-01-26 Thread Aakash
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

[java ee programming] JSP Basics - lab 4003 Question

2008-09-05 Thread Todd O'Dell
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