on 10-06-2008 4:02 AM
Hello Everyone!
I want create a html page in WebDynpro,
example :
String mystr = "<html><head><titile>This is a text</title></head><body> this is body</body></html>";
I want create a html page and save this to the *.html page , how can i to do ?
thanks!
HI
you can create html files in java perspective.
goto java perspective.
File>new>file.
enter filename with .html extension.(xxx.html).
When you are trying to create html file it will ask for Parent folder,select your corresponding webmodule project in which you want embed html file.
Regards
sowmya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI! sowmya&Satya
1st:
I use method (File>new>file.) create a html under my project . but when I swith web dynpro perspective, can't found the html file under my current project ?
2nd:
public void onActionInputToHtml(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionInputToHtml(ServerEvent)
String mystr = "<html>.............</html>"
//@@end
}
how to input "mystr" to the html page which I have create in 1st step ?
3rd :
how to display the html page In IE when run my project program ?
Thanks!
HI,
u cant find the html u have created in java perspective
in the web dynpro perspective..
u can navigate from a web dynpro application to a
java application
give like this
String url = "/WebClient/WebClient.jsp";
where WebClient is your project name in j2ee perspective
WebClient.jsp is ur jsp name
u can give .html if it is a html page in java perspective.
Refer this link for more details
Regards,
Satya.
hi
definately you cant find html file in webdynpro perspective.
Do one thing,it may work.
create project in webdynpro perspective and using crete model tab you import the webservice model you have already created.
1) create webmodule project
2)create html file in that
3)goto webdynpro perspective ,create model(webservice model) in your project and implement your required functionality.
hope this will solve your problem.
HI!
I hava do a test according to this link,
but this datum not said how to transfer the input data to the jsp page, can you know how to do ? how to transfer Parameter ?
Thanks!
Hi
go through this link
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We add HTML and JSP code into Web Module projects. To add the .html file into a web module project and then use it via "Properties->Project Refrences".
Is there a particular reason that you need to put it into the Web Dynpro DC?
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
switch to j2ee perspective,
new->webmodule project.
create the jsp or what ever content u want
inthe webcontent folder
bulid a war for that project
then create an Enterprise application project for that,
there u select the web module project for which u want to bulid application archive
bulid the application archive then deploy the ear to the j2ee iengine.
Regards,
Satya.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.