hw khan

Greenhorn
+ Follow
since Oct 03, 2007
Merit badge: grant badges
For More
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 hw khan

I have a JSF page with submit/reset/back button
the page works fine with one operation on the page
If submit is clicked once , it displays the result or error on the same page , but then reset/back/submit when clicked agin there is no action hapeening , the assocaited action function is not getting called at all

same with reset/back button

please advice what approach I should try with

Iam really in a BIG problem
thanks
16 years ago
JSF
just do google search and you will get lots of sites which gives all the basics of portlets/portals

IBM Portal
http://www.ibm.com/developerworks
16 years ago
Hi,

Iam new to IBM Webspere portal and I need to learn how to access EJB from a portlet.
Can anyone please help me with some examples, tutorials, articles
anything relavent.
I have all the posible links given by IBM, But not much of help.
Iam in need of step-by-step tutorial with a simple example to understand how to access EJB from portlet.

Thanks,
16 years ago
thanks Merrill

Here is the action code


Note from Merrill: Added [ C O D E ] at the beginning of the block and [ / C O D E ] at the end of the block to make the code more readable.
[ October 23, 2007: Message edited by: Merrill Higginson ]
16 years ago
Hello Francesco,

Iam facing similar problem as your,
My JSP is not entering the logic resent block at all

I have tried your solution but it's not working for me .

can you help me on this ?
I have also posted my query in the forum with the details of my jsp page.

Thanks
16 years ago
Hi All
Iam trying basic struts examples , my JSP is not getting inside the logic resent block
Iam taking in user name , searching if it exits in a list , is yes then displays the result on the same jsp page else error message on the same jsp page.

How to forward action to the same JSP page in struts-config.xml file ?
is there anything missing in the following JSP?

<html:form action="/search">
<table>
<tr>
<td align="right"><bean:message key="label.search.name"/>:</td>
<td><html:text property="name"/></td>
</tr>
<tr>
<td></td>
<td>-- or --</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssNum"/>:</td>
<td><html:text property="ssNum"/> (xxx-xx-xxxx)</td>
</tr>
<tr>
<td></td>
<td><html:submit/></td>
</tr>
</table>
</html:form>

<logic resent name="SearchForm" property="results">

<hr width="100%" size="1" noshade="true">

<bean:size id="size" name="searchForm" property="size"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>

<logic:greaterThan name="results" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>

</logic resent>

</body>
16 years ago
Iam trying to run my first struts application on MyEclipse.
But iam not able to deploy it.
Please can someone help me with detail steps about how to run a sturts aplication on MyEclipse.
Thanks
16 years ago
For spring framework, you have to include following jar files:

1. spring.jar
2. spring-aop.jar
3. spring-bean.jar
4. spring-core.jar
5. spring-context.jar
6. spring-dao.jar
7. spring-hibernate.jar
8. spring-mock.jar
9. spring-jdbc.jar
10. spring-orm.jar
11. spring-remoting.jar
12. spring-support.jar
13. spring-web.jar
14. spring-webmvc.jar
For Hibernate support, you have to include following jar files into the path of server.
And path for the jar file is C:\Program Files\MyEclipse 5.1.0 GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib

1.antlr-2.7.5H3.jar
2.asm.jar
3.asm-attrs.jar
4.c3p0-0.8.5.2.jar
5.cglib-2.1.jar
6.cleanimports.jar
7.commons-collections-2.1.1.jar
8.commons-logging-1.0.4.jar
9.concurrent-1.3.2.jar
10. connector.jar
11. dom4j-1.6.jar

13. hibernate3.jar
14. jaas.jar
15. jacc-1_0-fr.jar
16. jaxen-1.1-beta-4.jar
17. jdbc2_0-stdext.jar
18. jgroups-2.2.7.jar
19. jta.jar
20. log4j-1.2.9.jar
21. oscache-2.1.jar
22. proxool-0.8.3.jar
23. swarmcache-1.0rc2.jar
24. xerces-2.6.2.jar
25. xml-apis.jar


For log4j implementation, you have to include following jar files in the server´┐Żs path

1.log4j-1.2.8.jar
2.log4j-1.2.9.jar
Iam also very new to struts , my application is working fine with oracle connectivity , maybe you should try and add spring-jdbc.jar into the path.
Hope this would be of some help.