Links to Struts Tutorial
Hi
Can some one forwards me some good links to struts online tutorial. I have googled a lot on this but could not find a good decent one in lay man terms for begginers.
Thanx,
the links on the left (user and dev guides, faq) are
exhaustive and their how-to guides were the only ones
i neded even when I started years ago. the blank
struts app is the best way to start.nice try, but realistically you'll be pulling your hair out the first week
there have been many, many comments about the learning curve of struts and i've never heard ANYONE say it was well documented before, until now i guess
not trying to be argumentative, just dont' want to give the wrong impression here
Similar Messages
-
Frames with link to Struts do not render before mouse over in IE 7.0?
Hi
We have troubles with frames with link to Struts, which do not render before mouse over in IE 7.0? The application works fine with Firefox 2.0 and Internet Explorer 6.0, we have analyzed the cause to be whenever
you refer to a struts 1.0 action in your frames, you'll see the frames underneath.
Does anyone have a solution to this?
<frameset cols="168,*" border="0">
<frameset rows="76,*" border="0">
<frame name="cornerFrame" src="/gws/html/logo.htm" scrolling="NO" noresize frameborder="0">
<frame name="menuFrame" src="/gws/html/menulogind.htm" noresize frameborder="0">
</frameset>
<frameset rows="76,*" border="0">
<frame name="topFrame" src="/gws/html/overskrift.htm" noresize frameborder="0" >
<frame name="mainFrame" src="/gws/logonstart.do?msg=null&navn=null" noresize frameborder="0">
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>When you open the application, the frame is blank, the pages render only when you move the mouse inside the mainFrame area!
This is a very odd behavior.
Lars W
Enviroment:
Windows 2003 Server
Sun Java System Application Server 7 2004Q2UR2
Struts 1.0I am having similar problems with shockwave and ie7 crashing.
This is always preceded by loss of sound.
Could this article have any significance to this issue :
Is it possible that the Cumulative Security Update for
Internet Explorer
(931768) is causing Internet Explorer to crash ??
I refer to this article
Known issues with this security update
• Controls that prompt before they are loaded
Note This issue occurs on Web sites that do not use the
recommended
techniques. This issue is resolved by using the techniques
that are described
on the following Microsoft Web site:
http://msdn.microsoft.com/ieupdate
http://msdn.microsoft.com/ieupdate)
When certain controls are loaded on a Web page, the controls
are not
correctly masked by the functionality of this update. These
controls include
controls that are used in Macromedia Shockwave Director, in
QuickTime Player,
and in Virtools Web Player. When Windows determines that a
control is
inactive, the system prompts the user before the control is
loaded.
CAN MICROSOFT HELP ON THIS ONE ?? Very frustrating when ie7
crashes and
restarts in the middle of a game of golf played against
others on the
internet especially when you winning !!
The game is at this address :
http://www.nabiscoworld.com/Games/game_large.aspx?gameid=10028 -
Eed link to the tutorial for creating a Interactive Adobe forms using WDA
Hi Friends,
I need link to the tutorial for creating a Interactive Adobe forms using WD ABAPHi,
Before posting search once in sdn for Blogs or articles.You will get information.Any how please look at this video demonstartion.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20029530-54ef-2910-1b93-c41608ae0c90
and check these blogs
https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3 -
I was following the struts tutorial and everything was fine until I tried to run it. When starting OC4J, I got:
Error initializing server: Error instantiating default application at file:/home/mcdanijr/jdevhome/system9.0.5.1.1605/oc4j-config/application.xml: Constructing UserManager for default:caught oracle.security.jazn.JAZNRuntimeException
04/05/04 16:25:54 java.lang.IllegalStateException: Shutdown in progress
04/05/04 16:25:54 at java.lang.Shutdown.add(Shutdown.java:82)
04/05/04 16:25:54 at java.lang.Runtime.addShutdownHook(Runtime.java:193)
04/05/04 16:25:54 at oracle.security.jazn.util.PersistenceService$2.run(Unknown Source)
04/05/04 16:25:54 at java.security.AccessController.doPrivileged(Native Method)
04/05/04 16:25:54 at oracle.security.jazn.util.PersistenceService.<init>(Unknown Source)
04/05/04 16:25:54 at oracle.security.jazn.util.PersistenceService.getService(Unknown Source)
04/05/04 16:25:54 at oracle.security.jazn.util.PersistenceService$PersistenceThread.run(Unknown Source)
Is there some magic I missed?
Best,
Joe McDaniel
The Institute for Genomic Research
Rockville, MDNevermind (I think). I switched to 1.4.1 as the JDK for the project and it looks like OC4J is starting OK now.
-
Problems downloading a file linked in a tutorial
Hi,
I'm trying to use the JDeveloper tutorial: Developing a Web Service from a PLSQL Package (http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm)
This link in the tutorial : http://www.oracle.com/technology/obe/obe1013/wsfromplsqlpackage/install/IMP_PACKAGE.sql does not work. Does anyone know a workaraound or does anyone out there happen to have this file?
Best regards
Ingibjörg
[email protected]If you have access to My Oracle Support website, you may log a SR and ask Oracle support if they can provide you with this file.
Thanks,
Hussein -
Opening a New page on click of a link in Struts PDK portlet
Hi All,
Please help me to sort out my issue..
I created a portlet(say P1) using struts Portlet.That portlet is added to a portal page..which has some other portlets already(p2,p3,p4)...So my portal page has 4 portlets p1,p2,p3,p4..In Portlet P1 There is JSP which has a link inside...When i click on the link..I need to open a new JSP page with some prepopulated data inside it..Now the problem is..it is opening a page with data..but in the new page i am seeing all the remaining portlets as well..P1(with new data),P2,P3,P4 portlet..
But i need to see only the JSP page with my new content..please help me with this..
Here is the code...what i have written
INDEX.JSP
<%@ page contentType="text/html; charset=windows-1252"
import="java.io.File, java.io.FilenameFilter"
%>
<%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
<html>
<head>
<title>
Struts Sample Portlet - Hello World...
</title>
<body>
<html:link action="/sayActionHello" target="_blank">My Link</html:link>
</body></html>
ACTION CLASS
public class SayHelloAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
System.out.println("Inside execute ................................");
PortletRenderRequest pReq = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
ProviderSession pSession = pReq.getSession();
if(null != pSession){
System.out.println("Inside---pSession...........................");
pSession.setAttribute("sample","Sample Data for Testing");
return mapping.findForward("success");
Provider.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<?providerDefinition version="3.1"?>
<provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
<session>true</session>
<passAllUrlParams>true</passAllUrlParams>
<portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
<id>1</id>
<name>samstruts</name>
<title>samstruts</title>
<description>sample struts Portlet Description</description>
<timeout>40</timeout>
<showEditToPublic>false</showEditToPublic>
<hasAbout>false</hasAbout>
<showEdit>false</showEdit>
<hasHelp>false</hasHelp>
<showEditDefault>false</showEditDefault>
<showDetails>false</showDetails>
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<renderContainer>true</renderContainer>
<renderCustomize>true</renderCustomize>
<autoRedirect>true</autoRedirect>
<contentType>text/html</contentType>
<showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
<defaultAction>/sayHello.do</defaultAction>
</showPage>
</renderer>
</portlet>
</provider>
Strutss-config
PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<action-mappings>
<action path="/sayHello" scope="session" type="com.up.tey.SayHelloAction">
<forward name="success" path="/jsp/index.jsp"/>
</action>
<action path="/sayActionHello" scope="session" type="com.u p.tey.SayHelloAction1" input="/htdocs/jsps/index.jsp">
<forward name="success" path="/jsps/indexsample.jsp"/>
</action>
</action-mappings>
</struts-config>
Indexsample.jsp
<%@ page contentType="text/html; charset=windows-1252"
import="java.io.File, java.io.FilenameFilter"
%>
<%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
<html>
<head>
<title>
Struts Sample Portlet - Hello World...
</title>
<body>
<h1>HELLO WORLD Sample using Struts !!!!!!<%=session.getAttribute("sample")%></h1>
</body></html>
In new window i am cing Indexsample.jsp inside my P1 portlet..But the remaining 3 portlets(p2,p3,p4) are also there..Which i dont want..Please Help..this is really very urgent for me..HI
i am also facing same problem with session but in simple portlet with ajax implementation.
i am setting session in portlet jsp with following code using oracle application server portal 10g.
(here portlet jsp means which is included from portlet.)
session.setAttribute("map",map);(here session is implicit object )
i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
var myAjax = new Ajax.Updater(
{success: 'emailbody'},
url,
method: 'get',
parameters: pars,
onFailure: reportError,
evalScripts: true
i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
Map map=(Map)session.getAttribute("map"); (here session is implicit object )
here map object is getting null from session.
Please help on this if u know about this session.
Regards
Raju -
Linking Captivate 5 tutorial with two other tutorials that have assessments in an LMS
Our HR department recently bought an online LMS system and have never used it. I've create a tutorial, basically an introduction to a new time management system. At the end of this tutorial our employees will click a button to take them to either the exempt or non-exempt tutorials to view. Both the exempt and non-exempt tutorials have an assessment built in.
How do I link these two tutorials to the introduction tutorial so that the LMS will recognize the links when I upload them? The LMS system requires each tutorial be zipped before uploading. Any help would be tremendously appreciated as they want this to go live Monday!
Bren Lane
Pinnacol AssuranceYou likely can't do that.
You might be able to if your LMS supports SCORM 2004's 'sequencing' capability. Ask your LMS vendor if they do.
IF they do, then you have to work out how they implement it and ensure your manifest properly directs the user to the correct lesson... I've never done that, so no idea how that should be implemented...
In most cases, however, such pathing is something you setup in the LMS itself. For example, in our LMS, you would setup two groups - one for exempt personnel and one for non-exempt personnel.
Group 1 (exempt) would be assigned, or otherwise have access to, the Intro tutorial lesson, then the exempt assessment; so two separate lessons, perhaps the second locked until completion of the first.
Group 2 (non-exempt) would be assigned or otherwise access the same Intro tutorial lesson but then the non-exempt asssessment.
How you set that up, however, depends on your LMS.... It would likely be the easier way to do it...
Erik -
Htmls:submit buttons and links in struts
Hello,
I am developing a struts web application. In the course of that I have two questions:
How can I define an image to display for a html:submit button instead the traditional visualization of the html:submit button?
The same for links - How can I define an image for a link?
thanks in advance
Kind Regards
patHow can I define an image to display for a
html:submit button instead the traditional
visualization of the html:submit button?
The same for links - How can I define an image for a
link?
<html:image> -
Linking a Flash Tutorial File to a online help chm File
I am trying to create links from a page in my online help chm
file to an animated tutorial of our product. I want to create links
from specific topics in the chm to specific topics in the tutorial.
For example a section of the help deals with a specific topic. The
tutorial covers the topic but it is covered 10 minutes into the
tutorial. How do I create a link from the help topic directly to
the specific section of the tutorial? Is it possible? Can eanyone
provide me with some code examples to use?use getURL()
-
Any easy Struts tutorial?
I was asked to do a reaaaally basic thing with struts... I have a web application already developed, and I need to be able to go to a certain jsp file, let's just call it view.jsp, by writing view.do in the URL bar instead of view.jsp. I'm finding it really difficult to find a simple tutorial...
Just make another action in action mappings, like this:
<action path = "/ViewView"
type = "sdmi.emp.web.maintenance.ViewViewAction"
scope = "request"
name = "viewForm"
validate = "false">
<forward name = "success" path = "/View.jsp"/>
</action>
<action path = "/View"
type = "sdmi.emp.web.maintenance.ViewAction"
scope = "request"
name = "viewForm"
validate = "true"
input = "/View.jsp">
<forward name = "success" path = "/employee_search.jsp"/>
</action> -
Uix messageBox and links and Struts
hi to all;
using Adf struts ( reporterror or findFoward ), how can i display an messageBox with links?
lets, say some thing like this;
<ui:messageBox automatic="true">
<ui:contents>
<ui:link text="link 0"/>
</ui:contents>
</ui:messageBox>
actionErrors or/and actionMessages they don't have link options, and there are no effect if we set then at .properties files.
Do some one has tips ?
very thanks.I needed to do something like this, and ended up spoofing the look and feel of the message box--that is, put an ordinary cellFormat of the same background color, font, and size immediately under the message box, with no border. It was indistinguishable from link text actually in the message box, but I'll admit it was a kludge.
-
I know its a basic Question but still i am Asking the reason is that i am unable to find a book on Struts in my Country that Happens to be Pakistan i need Some tutorials on Struts Plzzzzzzz Help Me i will be Greatfull to ALL of You out ther
Thanks in Advancei think ....umight get to know about struts ......from here....
http://www.packtpub.com/files/learning_jakarta_stuts_chapter4_Internationalization_and_Taglibs.pdf
ok thank u...... -
Does anyone know a good free e-book teaching Struts??
Thanks =)Though not a book, I found it helpful when I started learning.
http://javaboutique.internet.com/tutorials/Struts/index.html -
How to pass request parameters using html:link in struts
Hi All,
I am trying to send parameters to action class using <html:link>.
Can anybody give sample code how to do it?
Thanks in advance.
By
K.Siva Prasad Reddyhi,
you can pass the parameters in link like this
http://www.xyz.com&username=someuserID&password=somePassword
username and password are parameters which you want to pass as paramets to server..hope this will work for you...
Thanks
Surya -
Does someone know link for good tutorial on j2me ,please help
plese help i m a newbie in j2me kindly suggest tutorial which guides its reader
from grass root levelHave you looked over this:
http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/
Good Luck
Lee
Maybe you are looking for
-
Data recovery from a Lacie external Hard Drive with blocked permissions
I have a Lacie 160 gig external hard drive. While trying to block another user on my computers data from being unintentionally stored on the external drive, I apparently blocked all access to the HD. After single clicking on the drives icon I clicked
-
TOSLink output to Analog Issue
Hi All, My ATV hooks up fine to my projector for video, (ATV GaffTaped to Projector, HDMI jumper, Point at BigAss Screen, Apply Power, Done). The Audio is becoming a challenge. I'd like, ideally, to take the Optical Output from the ATV via a TOSlink
-
Hi Ok the 651 dosnt have tv out on board i think this output would come from the MSI tv card. So what does the Pal ntsc setting ect do in this case nothing i guess since im using a All in wonder. Ferret
-
Retrieving video width & height
Anyone have any tricks for ascertaining a video file's X and Y dimensions to pass to the object / embed tags used to display them, or to ensure that videos uploaded are of a specific size?
-
TS1424 Cannot access "device section...can anyone help?
Cannot access the "device section":...can anyone help?