question « JSTL « JSP-Servlet Q&A

1. JSTL Shawn Bayern question...

Good question. Note that JSP already supports a tag. The only potential advantage of JSTL including its own tag would be that you could use the JSTL expression language with it. This might sound like a valid reason, but as of JSP 2.0, the standard tag will begin to support the expression language anyway. (If JSTL 1.0 introduced ...

2. Simple JSTL question

3. Have a question about JSTL

4. A few questions about JSTL

Originally posted by Bear Bibeault: Why did you name the attribute "attr" is that's not how you wanted to refer to it? In other words, given the code you showed, the EL reference to the scoped variable would be ${attr}. That was a typo on my part. You replied while I was trying to fix my error. yes, I am trying ...

5. JSTL Question

6. JSTL Question about c:set ... scope="request"

This is a fundamental concept in HTTP. The request that you use to render a page and send it to the browser has nothing to do with the request that gets created when that page is submitted. Anything that you put onto request scope goes bye-bye as soon as the response is sent to the browser.

7. JSTL - c:query question

8. JSTL Question

9. jstl question

10. simple JSTL question

11. JSTL question --- ${!empty myString}

12. JSTL question

13. JSTL conversion question

14. jstl question

Ok, want to create a jsp that prints out pizza toppings somebody selects from a form. I got this to work using scripting, but then, I found out I can use jstl foreach. However, on my jsp, the taglib statement is underlined in red. I am using netbeans ide. I copied the jstl.jar file into the lib directory and even created ...

15. (Probably) Easy JSP / JSTL question

16. jstl question

17. Question about JSTL

Hi all, I've a question about the JSTL foreach... I would like to iterate trough a list of Transaction objects. The transaction Object looks like this: public class Transaction extends BaseTransaction { private String id; public String getId() { return id; } public void setId(String val) { val; } } public abstract class BaseTransaction { private String base; public String ...

19. JSTL Newbie Question

I have JSTL working locally just fine on Tomcat 5.5.27. I put jstl.jar and standard.jar into the shared/lib folder, and then dropped a simple JSP into the webapps folder, and everything works great. However, when I do the same on my server (Tomcat 5.5.20 as well) I get the error: org.apache.jasper.JasperException: The absolute uri: cannot be resolved in either web.xml ...

20. That JSTL question

Honestly, I can't think of what the problem might be. It's usually just drop the jar files into WEB-INF/lib and off you go! From your use of the backslash in your post, I assume you are on Windows? If so, double-check for back-slashes (there should be none), and for case sensitivity. That's pretty lame, but all I can come up with ...

21. JSTL Question

First of all, you should use 'c' for the prefix, not core. Following conventions makes code earlier to read and understand. Secondly, you cannot nest the ${} delimiters inside another set. It's not a fetch operator, but a set of delimiters that go around the entire EL expression. To reference a scoped variable within the expression, just name the variable. Do ...

22. Questions About JSP?

hi; I am php devloper and I am learning Java now. I am using NB6.1 , Tomcat 6.0 , J2ee 5. I have some questions about devleoping web application with jsp. 1.What are /WEB-INF/web.xml /META-INF/context.xml /META-INF/MANIFEST.MF files that generated with NB.are important or optional.are auto generated or may I edit. 2.can I distribute my web application in non text format.How? 3.if ...

23. 2 test questions on JSP.

Please, can you help me with this two test-questions. 1. JSP supports which of the following platforms? A) Windows NT B) Linux C) Java environment D) All 2. A certain JSP file written for Linux platform, compiled on Win NT and moved on the Sun Solaris Platform. Which of these statements are true? A) Jsp file can not be compiled on ...

24. Basic JSP question..

26. JSP with server persistant world question

27. JSP Question

hey every to everybody i want the result in such way that frist four feilds in while loop and last one should print only one time ,how to do <% st11=con.createStatement(); q11="select sr.subid,c.subject,c.units,z.cgpa from studentregdata sr, courses c, checkcgpa z where sr.sidno like'"+id+"' and sr.subid= c.subid and z.sidno=sr.sidno order by sr.subid"; System.out.println(q11); rs11=st11.executeQuery(q11); while( { %>