Yamir Encarnacion

Greenhorn
+ Follow
since Aug 23, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yamir Encarnacion

Thanks Bear Bibeault. Your post guided me to the information that I needed.

Read http://faq.javaranch.com/java/ElOrJstlNotWorkingAsExpected which lead me to change
To:
<code>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
</code>
From
<code>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
</code>
in WEB-INF/web.xml
Thanks again
9 years ago
JSP
Hello,

I have the following custom tag



I call this tag like follows:


However, for some reason EL variables ${test}, ${path} and ${label} are not evaluated. They print out as ${test}, ${path}, and ${label}

I would like for them to be evaluated to their respective values. How do I achieve this?

p.s. This same code was working fine in a previous application I used it in. Also, I am using Tomcat 5.5 and JSTL 1.1
9 years ago
JSP
Hello,

I am fairly new to IDEA and SVN and had some questions. But first, some background. I inherited a subversion project (Someone handed me a backup of a project in a jump drive and I opened it up in IDEA).

My questions are:
In the project window, If I right click on the project name I see "Synchronize 'The project name'." What does this do? Will it pull everything from the svn repository and overwrite (i.e., throw away my changes) my files or will it merge changes into my files indicating to me that these file have been merged?

What will right click on project directory->Subversion->Update Directory... do? Will it get things that are newer in the repository and merge them with my files indicating to me that some files have been merged?


Basically, what I am trying to figure out is 1) how do get the latest trunk from svn and in the process overwrite whatever I have changed locally? (that is, throw away whatever changes I have made locally) and 2) how do I get what is new from svn and have IDEA merge this with what I have so that after I oversee the merged files, I can check them in?
Thank you.

Yamir
I have written the html/javascript code below. What I would like to happen is that upon change to the select, a form is posted with a specific url(the form below is empty but it will not be once I figure out how to set this.form.action).
What I get is the following:
On Firefox 1.5
-when I click on the Uno option my url changes to dos.html?
-when I click on the Dos option my url changes to dos.html?
On IE 6
-when I click on the Uno option my url changes to dos.html
-when I click on the Dos option my url changes to dos.html
What I would like to happen
-when I click on the Uno option my url changes to dos.html?page=1
-when I click on the Dos option my url changes to dos.html?page=2

My question is: what do I need to change to achieve what I want? Thanks.

<html>
<head>
</head>
<body>
<form action="">
<select onChange="this.form.action='dos.html?page='+this.value;this.form.submit()">
<option value="">Selection</option>
<option value="1">Uno</option>
<option value="2">Dos</option>
</select>
</form>
</body>
</html>
I am currently reading "Struts Design and Programming" by Budi Kurniawan which I consider to be very good. The book has allowed me to start a Struts webapp fairly quickly.
12 years ago